index
int64 0
0
| repo_id
stringlengths 21
232
| file_path
stringlengths 34
259
| content
stringlengths 1
14.1M
| __index_level_0__
int64 0
10k
|
---|---|---|---|---|
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/ViewerContainer.tsx | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React, { ComponentType } from 'react';
import ConfusionMatrix from './ConfusionMatrix';
import HTMLViewer from './HTMLViewer';
import MarkdownViewer from './MarkdownViewer';
import PagedTable from './PagedTable';
import ROCCurve from './ROCCurve';
import TensorboardViewer from './Tensorboard';
import { PlotType, ViewerConfig } from './Viewer';
import VisualizationCreator from './VisualizationCreator';
export const componentMap: Record<PlotType, ComponentType<any>> = {
[PlotType.CONFUSION_MATRIX]: ConfusionMatrix,
[PlotType.MARKDOWN]: MarkdownViewer,
[PlotType.ROC]: ROCCurve,
[PlotType.TABLE]: PagedTable,
[PlotType.TENSORBOARD]: TensorboardViewer,
[PlotType.VISUALIZATION_CREATOR]: VisualizationCreator,
[PlotType.WEB_APP]: HTMLViewer,
};
interface ViewerContainerProps {
configs: ViewerConfig[];
maxDimension?: number;
}
class ViewerContainer extends React.Component<ViewerContainerProps> {
public render(): JSX.Element | null {
const { configs, maxDimension } = this.props;
if (!configs.length) {
return null;
}
const Component = componentMap[configs[0].type];
return <Component configs={configs as any} maxDimension={maxDimension} />;
}
}
export default ViewerContainer;
| 300 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/ROCCurve.tsx | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import {
Crosshair,
DiscreteColorLegend,
Highlight,
HorizontalGridLines,
LineSeries,
VerticalGridLines,
XAxis,
XYPlot,
YAxis,
// @ts-ignore
} from 'react-vis';
import 'react-vis/dist/style.css';
import Viewer, { ViewerConfig } from './Viewer';
import { color, fontsize, commonCss } from '../../Css';
import { stylesheet } from 'typestyle';
const css = stylesheet({
axis: {
fontSize: fontsize.medium,
fontWeight: 'bolder',
},
crosshair: {
backgroundColor: '#1d2744',
borderRadius: 5,
boxShadow: '1px 1px 5px #aaa',
padding: 10,
},
crosshairLabel: {
fontWeight: 'bold',
whiteSpace: 'nowrap',
},
root: {
margin: 'auto',
},
});
// Used the following color palette, with some slight brightness modifications, as reference:
// https://alumni.media.mit.edu/~wad/color/palette.html
export const lineColors = [
'#4285f4',
'#2b9c1e',
'#e00000',
'#8026c0',
'#9dafff',
'#82c57a',
'#814a19',
'#ff9233',
'#29d0d0',
'#ffee33',
'#f540c9',
];
export interface DisplayPoint {
label: string;
x: number;
y: number;
}
export interface ROCCurveConfig extends ViewerConfig {
data: DisplayPoint[];
}
interface ROCCurveProps {
configs: ROCCurveConfig[];
maxDimension?: number;
colors?: string[];
forceLegend?: boolean; // Forces the legend to display even with just one ROC Curve
disableAnimation?: boolean;
}
interface ROCCurveState {
hoveredValues: DisplayPoint[];
lastDrawLocation: { left: number; right: number } | null;
highlightIndex: number;
}
class ROCCurve extends Viewer<ROCCurveProps, ROCCurveState> {
constructor(props: any) {
super(props);
this.state = {
hoveredValues: new Array(this.props.configs.length).fill(''),
lastDrawLocation: null,
highlightIndex: -1, // -1 indicates no curve is highlighted
};
}
public getDisplayName(): string {
return 'ROC Curve';
}
public isAggregatable(): boolean {
return true;
}
public render(): JSX.Element {
const width = this.props.maxDimension || 800;
const height = width * 0.65;
const isSmall = width < 600;
const datasets = this.props.configs.map(d => d.data);
const numLines = datasets.length;
const labels = this.props.configs.map((_, i) => `threshold (Series #${i + 1})`);
const baseLineData = Array.from(Array(100).keys()).map(x => ({ x: x / 100, y: x / 100 }));
const { hoveredValues, lastDrawLocation, highlightIndex } = this.state;
return (
<div>
<XYPlot
width={width}
height={height}
animation={!this.props.disableAnimation && !isSmall}
classes={{ root: css.root }}
onMouseLeave={() => this.setState({ hoveredValues: new Array(numLines).fill('') })}
xDomain={lastDrawLocation && [lastDrawLocation.left, lastDrawLocation.right]}
>
<VerticalGridLines />
<HorizontalGridLines />
{/* Draw the axes from the first config in case there are several */}
<XAxis title={'fpr'} className={css.axis} />
<YAxis title={'tpr'} className={css.axis} />
{/* Reference line */}
<LineSeries
color={color.disabledBg}
strokeWidth={1}
data={baseLineData}
strokeStyle='dashed'
/>
{/* Lines */}
{datasets.map(
(data, i) =>
highlightIndex !== i && (
<LineSeries
key={i}
color={
this.props.colors
? this.props.colors[i]
: lineColors[i] || lineColors[lineColors.length - 1]
}
strokeWidth={2}
data={data}
onNearestX={(d: any) => this._lineHovered(i, d)}
curve='curveBasis'
/>
),
)}
{/* Highlighted line, if present */}
{highlightIndex >= 0 && (
<LineSeries
key={highlightIndex}
color={
this.props.colors
? this.props.colors[highlightIndex]
: lineColors[highlightIndex] || lineColors[lineColors.length - 1]
}
strokeWidth={5}
data={datasets[highlightIndex]}
onNearestX={(d: any) => this._lineHovered(highlightIndex, d)}
curve='curveBasis'
/>
)}
{!isSmall && (
<Highlight
onBrushEnd={(area: any) => this.setState({ lastDrawLocation: area })}
enableY={false}
onDrag={(area: any) =>
this.setState({
lastDrawLocation: {
left: (lastDrawLocation ? lastDrawLocation.left : 0) - (area.right - area.left),
right:
(lastDrawLocation ? lastDrawLocation.right : 0) - (area.right - area.left),
},
})
}
/>
)}
{/* Hover effect to show labels */}
{!isSmall && (
<Crosshair values={hoveredValues}>
<div className={css.crosshair}>
{hoveredValues.map((value, i) => (
<div key={i} className={css.crosshairLabel}>{`${labels[i]}: ${value.label}`}</div>
))}
</div>
</Crosshair>
)}
</XYPlot>
<div className={commonCss.flex}>
{/* Legend */}
{(this.props.forceLegend || datasets.length > 1) && (
<div style={{ flexGrow: 1 }}>
<DiscreteColorLegend
items={datasets.map((_, i) => ({
color: this.props.colors ? this.props.colors[i] : lineColors[i],
title: 'Series #' + (i + 1),
}))}
orientation='horizontal'
onItemMouseEnter={(_: any, i: number) => {
this.setState({ highlightIndex: i });
}}
onItemMouseLeave={() => {
this.setState({ highlightIndex: -1 });
}}
/>
</div>
)}
{lastDrawLocation && <span>Click to reset zoom</span>}
</div>
</div>
);
}
private _lineHovered(lineIdx: number, data: any): void {
const hoveredValues = this.state.hoveredValues;
hoveredValues[lineIdx] = data;
this.setState({ hoveredValues });
}
}
export default ROCCurve;
| 301 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/ROCCurveHelper.tsx | import { Array as ArrayRunType, Number, Record, ValidationError } from 'runtypes';
import { ROCCurveConfig } from './ROCCurve';
import { PlotType } from './Viewer';
type ConfidenceMetric = {
confidenceThreshold: string;
falsePositiveRate: number;
recall: number;
};
const ConfidenceMetricRunType = Record({
confidenceThreshold: Number,
falsePositiveRate: Number,
recall: Number,
});
const ConfidenceMetricArrayRunType = ArrayRunType(ConfidenceMetricRunType);
export function validateConfidenceMetrics(inputs: any): { error?: string } {
try {
ConfidenceMetricArrayRunType.check(inputs);
} catch (e) {
if (e instanceof ValidationError) {
return { error: e.message + '. Data: ' + JSON.stringify(inputs) };
}
}
return {};
}
export function buildRocCurveConfig(confidenceMetricsArray: ConfidenceMetric[]): ROCCurveConfig {
const arraytypesCheck = ConfidenceMetricArrayRunType.check(confidenceMetricsArray);
return {
type: PlotType.ROC,
data: arraytypesCheck.map(metric => ({
label: (metric.confidenceThreshold as unknown) as string,
x: metric.falsePositiveRate,
y: metric.recall,
})),
};
}
| 302 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/ConfusionMatrix.tsx | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import Viewer, { ViewerConfig, PlotType } from './Viewer';
import { color, commonCss, fontsize } from '../../Css';
import { classes, stylesheet } from 'typestyle';
const legendNotches = 5;
export interface ConfusionMatrixConfig extends ViewerConfig {
data: number[][];
axes: string[];
labels: string[];
type: PlotType;
}
interface ConfusionMatrixProps {
configs: ConfusionMatrixConfig[];
maxDimension?: number;
}
interface ConfusionMatrixState {
activeCell: [number, number];
}
class ConfusionMatrix extends Viewer<ConfusionMatrixProps, ConfusionMatrixState> {
private _opacities: number[][] = [];
private _config = this.props.configs[0];
private _max =
this._config &&
Math.max(...this._config.data.map(d => d.map(n => +n)).map(d => Math.max(...d)));
private _minRegularCellDimension = 15;
private _maxRegularCellDimension = 80;
private _cellDimension = this._config
? Math.max(
Math.min(
(this.props.maxDimension || 700) / this._config.data.length,
this._maxRegularCellDimension,
),
this._minRegularCellDimension,
) - 1
: 0;
private _shrinkThreshold = 600;
private _uiData: number[][] = [];
private _css = stylesheet({
activeLabel: {
borderRadius: 5,
color: color.theme,
fontWeight: 'bold',
},
cell: {
border: 'solid 1px ' + color.background,
fontSize: this._isSmall() ? fontsize.small : fontsize.base,
height: this._cellDimension,
minHeight: this._cellDimension,
minWidth: this._cellDimension,
position: 'relative',
textAlign: 'center',
verticalAlign: 'middle',
width: this._cellDimension,
},
legend: {
background: `linear-gradient(${color.theme}, ${color.background})`,
borderRight: 'solid 1px #777',
marginLeft: 20,
minWidth: 10,
position: 'relative',
width: 10,
},
legendLabel: {
left: 15,
position: 'absolute',
top: -7,
},
legendNotch: {
borderTop: 'solid 1px #777',
left: '100%',
paddingLeft: 5,
position: 'absolute',
width: 5,
},
overlay: {
backgroundColor: '#000',
bottom: 0,
left: 0,
opacity: 0,
position: 'absolute',
right: 0,
top: 0,
},
root: {
flexGrow: 1,
justifyContent: 'center',
pointerEvents: this._isSmall() ? 'none' : 'initial', // Disable interaction for snapshot view
position: 'relative',
width: 'fit-content',
},
xAxisLabel: {
color: color.foreground,
fontSize: 15,
fontWeight: 'bold',
paddingLeft: 20,
position: 'absolute',
},
xlabel: {
marginLeft: 15,
overflow: 'hidden',
position: 'absolute',
textAlign: 'left',
textOverflow: 'ellipsis',
transform: 'rotate(60deg)',
transformOrigin: 'left',
whiteSpace: 'nowrap',
width: 150,
},
yAxisLabel: {
color: color.foreground,
fontSize: 15,
height: 25,
paddingRight: 20,
textAlign: 'right',
},
ylabel: {
lineHeight: `${this._cellDimension}px`,
marginRight: 10,
minWidth: this._cellDimension,
textAlign: 'right',
whiteSpace: 'nowrap',
},
});
constructor(props: any) {
super(props);
if (!this._config) {
return;
}
this.state = {
activeCell: [-1, -1],
};
// Raw data:
// [
// [1, 2],
// [3, 4],
// ]
// converts to UI data:
// y-axis
// ^
// |
// 1 [2, 4],
// |
// 0 [1, 3],
// |
// *---0--1---> x-axis
if (!this._config || !this._config.labels || !this._config.data) {
this._uiData = [];
} else {
const labelCount = this._config.labels.length;
const uiData: number[][] = new Array(labelCount)
.fill(undefined)
.map(() => new Array(labelCount));
for (let i = 0; i < labelCount; ++i) {
for (let j = 0; j < labelCount; ++j) {
uiData[labelCount - 1 - j][i] = this._config.data[i]?.[j];
}
}
this._uiData = uiData;
}
for (const i of this._uiData) {
const row = [];
for (const j of i) {
row.push(+j / this._max);
}
this._opacities.push(row);
}
}
public getDisplayName(): string {
return 'Confusion matrix';
}
public render(): JSX.Element | null {
if (!this._config) {
return null;
}
const [activeRow, activeCol] = this.state.activeCell;
const [xAxisLabel, yAxisLabel] = this._config.axes;
const small = this._isSmall();
return (
<div className={classes(commonCss.flex, this._css.root)}>
<table>
<tbody>
{!small && (
<tr>
<td className={this._css.yAxisLabel}>{yAxisLabel}</td>
</tr>
)}
{this._uiData.map((row, r) => (
<tr key={r}>
{!small && (
<td>
<div
className={classes(
this._css.ylabel,
r === activeRow ? this._css.activeLabel : '',
)}
>
{
this._config.labels[
this._config.labels.length - 1 - r
] /* uiData's ith's row corresponds to the reverse ordered label */
}
</div>
</td>
)}
{row.map((cell, c) => (
<td
key={c}
className={this._css.cell}
style={{
backgroundColor: `rgba(41, 121, 255, ${this._opacities[r][c]})`,
color: this._opacities[r][c] < 0.6 ? color.foreground : color.background,
}}
onMouseOver={() => this.setState({ activeCell: [r, c] })}
onMouseLeave={() =>
this.setState(state => ({
// Remove active cell if it's still the one active
activeCell:
state.activeCell[0] === r && state.activeCell[1] === c
? [-1, -1]
: state.activeCell,
}))
}
>
<div
className={this._css.overlay}
style={{
opacity: r === activeRow || c === activeCol ? 0.05 : 0,
}}
/>
{cell}
</td>
))}
</tr>
))}
{/* Footer */}
{!small && (
<tr>
<th className={this._css.xlabel} />
{this._config.labels.map((label, i) => (
<th key={i}>
<div
className={classes(
i === activeCol ? this._css.activeLabel : '',
this._css.xlabel,
)}
>
{label}
</div>
</th>
))}
<td className={this._css.xAxisLabel}>{xAxisLabel}</td>
</tr>
)}
</tbody>
</table>
{!small && (
<div
className={this._css.legend}
style={{ height: 0.75 * this._config.data.length * this._cellDimension }}
>
<div className={this._css.legendNotch} style={{ top: 0 }}>
<span className={this._css.legendLabel}>{this._max}</span>
</div>
{new Array(legendNotches).fill(0).map((_, i) => (
<div
key={i}
className={this._css.legendNotch}
style={{ top: ((legendNotches - i) / legendNotches) * 100 + '%' }}
>
<span className={this._css.legendLabel}>
{Math.floor((i / legendNotches) * this._max)}
</span>
</div>
))}
</div>
)}
</div>
);
}
private _isSmall(): boolean {
return !!this.props.maxDimension && this.props.maxDimension < this._shrinkThreshold;
}
}
export default ConfusionMatrix;
| 303 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/PagedTable.test.tsx | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import { shallow } from 'enzyme';
import PagedTable from './PagedTable';
import { PlotType } from './Viewer';
describe('PagedTable', () => {
it('does not break on no config', () => {
const tree = shallow(<PagedTable configs={[]} />);
expect(tree).toMatchSnapshot();
});
it('does not break on empty data', () => {
const tree = shallow(<PagedTable configs={[{ data: [], labels: [], type: PlotType.TABLE }]} />);
expect(tree).toMatchSnapshot();
});
const data = [
['col1', 'col2', 'col3'],
['col4', 'col5', 'col6'],
];
const labels = ['field1', 'field2', 'field3'];
it('renders simple data', () => {
const tree = shallow(<PagedTable configs={[{ data, labels, type: PlotType.TABLE }]} />);
expect(tree).toMatchSnapshot();
});
it('renders simple data without labels', () => {
const tree = shallow(<PagedTable configs={[{ data, labels: [], type: PlotType.TABLE }]} />);
expect(tree).toMatchSnapshot();
});
it('sorts on first column descending', () => {
const tree = shallow(<PagedTable configs={[{ data, labels, type: PlotType.TABLE }]} />);
tree
.find('WithStyles(TableSortLabel)')
.at(0)
.simulate('click');
expect(tree).toMatchSnapshot();
});
it('sorts on first column ascending', () => {
const tree = shallow(<PagedTable configs={[{ data, labels, type: PlotType.TABLE }]} />);
// Once for descending
tree
.find('WithStyles(TableSortLabel)')
.at(0)
.simulate('click');
// Once for ascending
tree
.find('WithStyles(TableSortLabel)')
.at(0)
.simulate('click');
expect(tree).toMatchSnapshot();
});
it('returns a user friendly display name', () => {
expect(PagedTable.prototype.getDisplayName()).toBe('Table');
});
});
| 304 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/MetricsDropdown.test.tsx | /*
* Copyright 2022 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { render, screen, waitFor, fireEvent } from '@testing-library/react';
import * as React from 'react';
import { CommonTestWrapper } from 'src/TestWrapper';
import TestUtils, { testBestPractices } from 'src/TestUtils';
import { Artifact, Event, Execution, Value } from 'src/third_party/mlmd';
import * as metricsVisualizations from 'src/components/viewers/MetricsVisualizations';
import * as Utils from 'src/lib/Utils';
import { SelectedArtifact } from 'src/pages/CompareV2';
import { LinkedArtifact } from 'src/mlmd/MlmdUtils';
import * as jspb from 'google-protobuf';
import MetricsDropdown from './MetricsDropdown';
import { MetricsType, RunArtifact } from 'src/lib/v2/CompareUtils';
function newMockExecution(id: number, displayName?: string): Execution {
const execution = new Execution();
execution.setId(id);
if (displayName) {
const customPropertiesMap: Map<string, Value> = new Map();
const displayNameValue = new Value();
displayNameValue.setStringValue(displayName);
customPropertiesMap.set('display_name', displayNameValue);
jest.spyOn(execution, 'getCustomPropertiesMap').mockReturnValue(customPropertiesMap);
}
return execution;
}
function newMockEvent(id: number, displayName?: string): Event {
const event = new Event();
event.setArtifactId(id);
event.setExecutionId(id);
event.setType(Event.Type.OUTPUT);
if (displayName) {
const path = new Event.Path();
const step = new Event.Path.Step();
step.setKey(displayName);
path.addSteps(step);
event.setPath(path);
}
return event;
}
function newMockArtifact(id: number, displayName?: string): Artifact {
const artifact = new Artifact();
artifact.setId(id);
const customPropertiesMap: jspb.Map<string, Value> = jspb.Map.fromObject([], null, null);
if (displayName) {
const displayNameValue = new Value();
displayNameValue.setStringValue(displayName);
customPropertiesMap.set('display_name', displayNameValue);
}
jest.spyOn(artifact, 'getCustomPropertiesMap').mockReturnValue(customPropertiesMap);
return artifact;
}
function newMockLinkedArtifact(id: number, displayName?: string): LinkedArtifact {
return {
artifact: newMockArtifact(id, displayName),
event: newMockEvent(id, displayName),
} as LinkedArtifact;
}
testBestPractices();
describe('MetricsDropdown', () => {
const updateSelectedArtifactsSpy = jest.fn();
let emptySelectedArtifacts: SelectedArtifact[];
let firstLinkedArtifact: LinkedArtifact;
let secondLinkedArtifact: LinkedArtifact;
let scalarMetricsArtifacts: RunArtifact[];
beforeEach(() => {
emptySelectedArtifacts = [
{
selectedItem: { itemName: '', subItemName: '' },
},
{
selectedItem: { itemName: '', subItemName: '' },
},
];
firstLinkedArtifact = newMockLinkedArtifact(1, 'artifact1');
secondLinkedArtifact = newMockLinkedArtifact(2, 'artifact2');
scalarMetricsArtifacts = [
{
run: {
run_id: '1',
display_name: 'run1',
},
executionArtifacts: [
{
execution: newMockExecution(1, 'execution1'),
linkedArtifacts: [firstLinkedArtifact, secondLinkedArtifact],
},
],
},
];
});
it('Metrics dropdown has no dropdown loaded as Confusion Matrix is not present', async () => {
render(
<CommonTestWrapper>
<MetricsDropdown
filteredRunArtifacts={[]}
metricsTab={MetricsType.CONFUSION_MATRIX}
selectedArtifacts={emptySelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
/>
</CommonTestWrapper>,
);
await TestUtils.flushPromises();
screen.getByText('There are no Confusion Matrix artifacts available on the selected runs.');
});
it('Metrics dropdown has no dropdown loaded as HTML is not present', async () => {
render(
<MetricsDropdown
filteredRunArtifacts={[]}
metricsTab={MetricsType.HTML}
selectedArtifacts={emptySelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
/>,
);
await TestUtils.flushPromises();
screen.getByText('There are no HTML artifacts available on the selected runs.');
});
it('Metrics dropdown has no dropdown loaded as Markdown is not present', async () => {
render(
<CommonTestWrapper>
<MetricsDropdown
filteredRunArtifacts={[]}
metricsTab={MetricsType.MARKDOWN}
selectedArtifacts={emptySelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
/>
</CommonTestWrapper>,
);
await TestUtils.flushPromises();
screen.getByText('There are no Markdown artifacts available on the selected runs.');
});
it('Dropdown loaded when content is present', async () => {
render(
<CommonTestWrapper>
<MetricsDropdown
filteredRunArtifacts={scalarMetricsArtifacts}
metricsTab={MetricsType.CONFUSION_MATRIX}
selectedArtifacts={emptySelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
/>
</CommonTestWrapper>,
);
await TestUtils.flushPromises();
screen.getByText('Choose a first Confusion Matrix artifact');
});
it('Log warning when specified run does not have a name', async () => {
const scalarMetricsArtifactsNoRunName: RunArtifact[] = [
{
run: {
run_id: '1',
},
executionArtifacts: [
{
execution: newMockExecution(1, 'execution1'),
linkedArtifacts: [newMockLinkedArtifact(1, 'artifact1')],
},
],
},
];
const warnSpy = jest.spyOn(Utils.logger, 'warn');
render(
<CommonTestWrapper>
<MetricsDropdown
filteredRunArtifacts={scalarMetricsArtifactsNoRunName}
metricsTab={MetricsType.CONFUSION_MATRIX}
selectedArtifacts={emptySelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
/>
</CommonTestWrapper>,
);
await TestUtils.flushPromises();
await waitFor(() => {
expect(warnSpy).toHaveBeenLastCalledWith(
'Failed to fetch the display name of the run with the following ID: 1',
);
});
// Ensure that the dropdown is empty if run name is not provided.
screen.getByText('There are no Confusion Matrix artifacts available on the selected runs.');
});
it('Selected artifacts updated with user selection', async () => {
render(
<CommonTestWrapper>
<MetricsDropdown
filteredRunArtifacts={scalarMetricsArtifacts}
metricsTab={MetricsType.CONFUSION_MATRIX}
selectedArtifacts={emptySelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
/>
</CommonTestWrapper>,
);
await TestUtils.flushPromises();
fireEvent.click(screen.getByText('Choose a first Confusion Matrix artifact'));
fireEvent.mouseEnter(screen.getByText('run1'));
fireEvent.click(screen.getByTitle('execution1 > artifact1'));
const newSelectedArtifacts: SelectedArtifact[] = [
{
linkedArtifact: firstLinkedArtifact,
selectedItem: {
itemName: 'run1',
subItemName: 'execution1',
subItemSecondaryName: 'artifact1',
},
},
{
selectedItem: {
itemName: '',
subItemName: '',
},
},
];
expect(updateSelectedArtifactsSpy).toHaveBeenLastCalledWith(newSelectedArtifacts);
});
it('HTML files read only on initial select', async () => {
const getHtmlViewerConfigSpy = jest.spyOn(metricsVisualizations, 'getHtmlViewerConfig');
getHtmlViewerConfigSpy.mockResolvedValue([]);
render(
<CommonTestWrapper>
<MetricsDropdown
filteredRunArtifacts={scalarMetricsArtifacts}
metricsTab={MetricsType.HTML}
selectedArtifacts={emptySelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
/>
</CommonTestWrapper>,
);
await TestUtils.flushPromises();
// Choose the first HTML element.
fireEvent.click(screen.getByText('Choose a first HTML artifact'));
fireEvent.mouseEnter(screen.getByText('run1'));
fireEvent.click(screen.getByTitle('execution1 > artifact1'));
await waitFor(() => {
expect(getHtmlViewerConfigSpy).toHaveBeenLastCalledWith([firstLinkedArtifact], undefined);
});
// Choose another HTML element.
fireEvent.click(screen.getByTitle('run1 > execution1 > artifact1'));
fireEvent.mouseEnter(screen.getByText('run1'));
fireEvent.click(screen.getByTitle('execution1 > artifact2'));
await waitFor(() => {
expect(getHtmlViewerConfigSpy).toHaveBeenLastCalledWith([secondLinkedArtifact], undefined);
});
// Return and re-select the first HTML element.
fireEvent.click(screen.getByTitle('run1 > execution1 > artifact2'));
fireEvent.mouseEnter(screen.getByText('run1'));
fireEvent.click(screen.getByTitle('execution1 > artifact1'));
// File is not re-read if that artifact has already been selected.
await waitFor(() => {
expect(getHtmlViewerConfigSpy).toBeCalledTimes(2);
});
});
it('Markdown files read only on initial select', async () => {
const getMarkdownViewerConfigSpy = jest.spyOn(metricsVisualizations, 'getMarkdownViewerConfig');
getMarkdownViewerConfigSpy.mockResolvedValue([]);
render(
<CommonTestWrapper>
<MetricsDropdown
filteredRunArtifacts={scalarMetricsArtifacts}
metricsTab={MetricsType.MARKDOWN}
selectedArtifacts={emptySelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
/>
</CommonTestWrapper>,
);
await TestUtils.flushPromises();
// Choose the first Markdown element.
fireEvent.click(screen.getByText('Choose a first Markdown artifact'));
fireEvent.mouseEnter(screen.getByText('run1'));
fireEvent.click(screen.getByTitle('execution1 > artifact1'));
await waitFor(() => {
expect(getMarkdownViewerConfigSpy).toHaveBeenLastCalledWith([firstLinkedArtifact], undefined);
});
// Choose another Markdown element.
fireEvent.click(screen.getByTitle('run1 > execution1 > artifact1'));
fireEvent.mouseEnter(screen.getByText('run1'));
fireEvent.click(screen.getByTitle('execution1 > artifact2'));
await waitFor(() => {
expect(getMarkdownViewerConfigSpy).toHaveBeenLastCalledWith(
[secondLinkedArtifact],
undefined,
);
});
// Return and re-select the first Markdown element.
fireEvent.click(screen.getByTitle('run1 > execution1 > artifact2'));
fireEvent.mouseEnter(screen.getByText('run1'));
fireEvent.click(screen.getByTitle('execution1 > artifact1'));
// File is not re-read if that artifact has already been selected.
await waitFor(() => {
expect(getMarkdownViewerConfigSpy).toBeCalledTimes(2);
});
});
it('HTML file loading and error display with namespace input', async () => {
const getHtmlViewerConfigSpy = jest.spyOn(metricsVisualizations, 'getHtmlViewerConfig');
getHtmlViewerConfigSpy.mockRejectedValue(new Error('HTML file not found.'));
render(
<CommonTestWrapper>
<MetricsDropdown
filteredRunArtifacts={scalarMetricsArtifacts}
metricsTab={MetricsType.HTML}
selectedArtifacts={emptySelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
namespace='namespaceInput'
/>
</CommonTestWrapper>,
);
await TestUtils.flushPromises();
fireEvent.click(screen.getByText('Choose a first HTML artifact'));
fireEvent.mouseEnter(screen.getByText('run1'));
fireEvent.click(screen.getByTitle('execution1 > artifact1'));
screen.getByRole('circularprogress');
await waitFor(() => {
expect(getHtmlViewerConfigSpy).toHaveBeenLastCalledWith(
[firstLinkedArtifact],
'namespaceInput',
);
screen.getByText('Error: failed loading HTML file. Click Details for more information.');
});
});
it('Dropdown initially loaded with selected artifact', async () => {
const newSelectedArtifacts: SelectedArtifact[] = [
{
selectedItem: {
itemName: '',
subItemName: '',
},
},
{
linkedArtifact: firstLinkedArtifact,
selectedItem: {
itemName: 'run1',
subItemName: 'execution1',
subItemSecondaryName: 'artifact1',
},
},
];
render(
<CommonTestWrapper>
<MetricsDropdown
filteredRunArtifacts={scalarMetricsArtifacts}
metricsTab={MetricsType.CONFUSION_MATRIX}
selectedArtifacts={newSelectedArtifacts}
updateSelectedArtifacts={updateSelectedArtifactsSpy}
/>
</CommonTestWrapper>,
);
await TestUtils.flushPromises();
screen.getByText('Choose a first Confusion Matrix artifact');
screen.getByTitle('run1 > execution1 > artifact1');
});
});
| 305 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/Tensorboard.test.tsx | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import TensorboardViewer, { TensorboardViewerConfig } from './Tensorboard';
import TestUtils, { diff } from '../../TestUtils';
import { Apis } from '../../lib/Apis';
import { PlotType } from './Viewer';
import { ReactWrapper, ShallowWrapper, shallow, mount } from 'enzyme';
const DEFAULT_CONFIG: TensorboardViewerConfig = {
type: PlotType.TENSORBOARD,
url: 'http://test/url',
namespace: 'test-ns',
};
const GET_APP_NOT_FOUND = { podAddress: '', tfVersion: '', image: '' };
const GET_APP_FOUND = {
podAddress: 'podaddress',
tfVersion: '1.14.0',
image: 'tensorflow/tensorflow:1.14.0',
};
describe.only('Tensorboard', () => {
let tree: ReactWrapper | ShallowWrapper;
const flushPromisesAndTimers = async () => {
jest.runOnlyPendingTimers();
await TestUtils.flushPromises();
};
beforeEach(() => {
jest.clearAllMocks();
jest.useFakeTimers('legacy');
});
afterEach(async () => {
// unmount() should be called before resetAllMocks() in case any part of the unmount life cycle
// depends on mocks/spies
if (tree) {
await tree.unmount();
}
jest.resetAllMocks();
jest.restoreAllMocks();
});
it('base component snapshot', async () => {
const getAppMock = () => Promise.resolve(GET_APP_NOT_FOUND);
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
tree = shallow(<TensorboardViewer configs={[]} />);
await TestUtils.flushPromises();
expect(tree).toMatchInlineSnapshot(`
<div>
<div>
<div
className=""
>
<WithStyles(FormControl)
className="formControl"
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="viewer-tb-image-select"
>
TF Image
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
className="select"
input={
<WithStyles(Input)
id="viewer-tb-image-select"
/>
}
onChange={[Function]}
value="tensorflow/tensorflow:2.2.2"
>
<WithStyles(ListSubheader)>
Tensoflow 1.x
</WithStyles(ListSubheader)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:1.7.1"
>
TensorFlow 1.7.1
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:1.8.0"
>
TensorFlow 1.8.0
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:1.9.0"
>
TensorFlow 1.9.0
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:1.10.1"
>
TensorFlow 1.10.1
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:1.11.0"
>
TensorFlow 1.11.0
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:1.12.3"
>
TensorFlow 1.12.3
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:1.13.2"
>
TensorFlow 1.13.2
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:1.14.0"
>
TensorFlow 1.14.0
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:1.15.5"
>
TensorFlow 1.15.5
</WithStyles(MenuItem)>
<WithStyles(ListSubheader)>
TensorFlow 2.x
</WithStyles(ListSubheader)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:2.0.4"
>
TensorFlow 2.0.4
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:2.1.2"
>
TensorFlow 2.1.2
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
value="tensorflow/tensorflow:2.2.2"
>
TensorFlow 2.2.2
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
</div>
<div>
<BusyButton
busy={false}
className="buttonAction"
disabled={false}
onClick={[Function]}
title="Start Tensorboard"
/>
</div>
</div>
</div>
`);
});
it('does not break on no config', async () => {
const getAppMock = () => Promise.resolve(GET_APP_NOT_FOUND);
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
tree = shallow(<TensorboardViewer configs={[]} />);
const base = tree.debug();
await TestUtils.flushPromises();
expect(diff({ base, update: tree.debug() })).toMatchInlineSnapshot(`
Snapshot Diff:
- Expected
+ Received
@@ --- --- @@
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
</div>
<div>
- <BusyButton className="buttonAction" disabled={false} onClick={[Function]} busy={true} title="Start Tensorboard" />
+ <BusyButton className="buttonAction" disabled={false} onClick={[Function]} busy={false} title="Start Tensorboard" />
</div>
</div>
</div>
`);
});
it('does not break on empty data', async () => {
const getAppMock = () => Promise.resolve(GET_APP_NOT_FOUND);
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
const config = { ...DEFAULT_CONFIG, url: '' };
tree = shallow(<TensorboardViewer configs={[config]} />);
const base = tree.debug();
await TestUtils.flushPromises();
expect(diff({ base, update: tree.debug() })).toMatchInlineSnapshot(`
Snapshot Diff:
- Expected
+ Received
@@ --- --- @@
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
</div>
<div>
- <BusyButton className="buttonAction" disabled={false} onClick={[Function]} busy={true} title="Start Tensorboard" />
+ <BusyButton className="buttonAction" disabled={false} onClick={[Function]} busy={false} title="Start Tensorboard" />
</div>
</div>
</div>
`);
});
it('shows a link to the tensorboard instance if exists', async () => {
const config = { ...DEFAULT_CONFIG, url: 'http://test/url' };
const getAppMock = () =>
Promise.resolve({
...GET_APP_FOUND,
podAddress: 'test/address',
});
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
jest.spyOn(Apis, 'isTensorboardPodReady').mockImplementation(() => Promise.resolve(true));
tree = shallow(<TensorboardViewer configs={[config]} />);
await TestUtils.flushPromises();
await flushPromisesAndTimers();
expect(Apis.isTensorboardPodReady).toHaveBeenCalledTimes(1);
expect(Apis.isTensorboardPodReady).toHaveBeenCalledWith('apis/v1beta1/_proxy/test/address');
expect(tree.debug()).toMatchInlineSnapshot(`
"<div>
<div>
<div className=\\"\\">
Tensorboard tensorflow/tensorflow:1.14.0 is running for this output.
</div>
<a href=\\"apis/v1beta1/_proxy/test/address\\" target=\\"_blank\\" rel=\\"noopener noreferrer\\" className=\\"unstyled\\">
<WithStyles(Button) className=\\"buttonAction button\\" disabled={false} color=\\"primary\\">
Open Tensorboard
</WithStyles(Button)>
</a>
<div>
<WithStyles(Button) className=\\"button\\" disabled={false} id=\\"delete\\" title=\\"stop tensorboard and delete its instance\\" onClick={[Function]} color=\\"default\\">
Stop Tensorboard
</WithStyles(Button)>
<WithStyles(Dialog) open={false} onClose={[Function]} aria-labelledby=\\"dialog-title\\">
<WithStyles(DialogTitle) id=\\"dialog-title\\">
Stop Tensorboard?
</WithStyles(DialogTitle)>
<WithStyles(DialogContent)>
<WithStyles(DialogContentText)>
You can stop the current running tensorboard. The tensorboard viewer will also be deleted from your workloads.
</WithStyles(DialogContentText)>
</WithStyles(DialogContent)>
<WithStyles(DialogActions)>
<WithStyles(Button) className=\\"shortButton\\" id=\\"cancel\\" autoFocus={true} onClick={[Function]} color=\\"primary\\">
Cancel
</WithStyles(Button)>
<BusyButton className=\\"buttonAction shortButton\\" onClick={[Function]} busy={false} color=\\"primary\\" title=\\"Stop\\" />
</WithStyles(DialogActions)>
</WithStyles(Dialog)>
</div>
</div>
</div>"
`);
});
it('shows start button if no instance exists', async () => {
const config = DEFAULT_CONFIG;
const getAppMock = () => Promise.resolve(GET_APP_NOT_FOUND);
const getTensorboardSpy = jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
tree = shallow(<TensorboardViewer configs={[DEFAULT_CONFIG]} />);
const base = tree.debug();
await TestUtils.flushPromises();
expect(
diff({
base,
update: tree.debug(),
baseAnnotation: 'initial',
updateAnnotation: 'no instance exists',
}),
).toMatchInlineSnapshot(`
Snapshot Diff:
- initial
+ no instance exists
@@ --- --- @@
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
</div>
<div>
- <BusyButton className="buttonAction" disabled={false} onClick={[Function]} busy={true} title="Start Tensorboard" />
+ <BusyButton className="buttonAction" disabled={false} onClick={[Function]} busy={false} title="Start Tensorboard" />
</div>
</div>
</div>
`);
expect(getTensorboardSpy).toHaveBeenCalledWith(config.url, config.namespace);
});
it('starts tensorboard instance when button is clicked', async () => {
const config = { ...DEFAULT_CONFIG };
const getAppMock = () => Promise.resolve(GET_APP_NOT_FOUND);
const startAppMock = jest.fn(() => Promise.resolve(''));
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
jest.spyOn(Apis, 'startTensorboardApp').mockImplementationOnce(startAppMock);
tree = shallow(<TensorboardViewer configs={[config]} />);
await TestUtils.flushPromises();
tree.find('BusyButton').simulate('click');
expect(startAppMock).toHaveBeenCalledWith({
logdir: config.url,
namespace: config.namespace,
image: expect.stringContaining('tensorflow/tensorflow:'), // default image
});
});
it('starts tensorboard instance for two configs', async () => {
const config = { ...DEFAULT_CONFIG, url: 'http://test/url' };
const config2 = { ...DEFAULT_CONFIG, url: 'http://test/url2' };
const getAppMock = jest.fn(() => Promise.resolve(GET_APP_NOT_FOUND));
const startAppMock = jest.fn(() => Promise.resolve(''));
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
jest.spyOn(Apis, 'startTensorboardApp').mockImplementationOnce(startAppMock);
tree = shallow(<TensorboardViewer configs={[config, config2]} />);
await TestUtils.flushPromises();
expect(getAppMock).toHaveBeenCalledWith(
`Series1:${config.url},Series2:${config2.url}`,
config.namespace,
);
tree.find('BusyButton').simulate('click');
const expectedUrl = `Series1:${config.url},Series2:${config2.url}`;
expect(startAppMock).toHaveBeenCalledWith({
logdir: expectedUrl,
image: expect.stringContaining('tensorflow/tensorflow:'), // default image
namespace: config.namespace,
});
});
it('returns friendly display name', () => {
expect(TensorboardViewer.prototype.getDisplayName()).toBe('Tensorboard');
});
it('is aggregatable', () => {
expect(TensorboardViewer.prototype.isAggregatable()).toBeTruthy();
});
it('select a version, then start a tensorboard of the corresponding version', async () => {
const config = { ...DEFAULT_CONFIG };
const getAppMock = jest.fn(() => Promise.resolve(GET_APP_NOT_FOUND));
const startAppMock = jest.fn(() => Promise.resolve(''));
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
const startAppSpy = jest
.spyOn(Apis, 'startTensorboardApp')
.mockImplementationOnce(startAppMock);
tree = mount(<TensorboardViewer configs={[config]} />);
await TestUtils.flushPromises();
tree
.find('Select')
.find('[role="button"]')
.simulate('click');
tree
.findWhere(el => el.text().startsWith('TensorFlow 1.15'))
.hostNodes()
.simulate('click');
tree.find('BusyButton').simulate('click');
expect(startAppSpy).toHaveBeenCalledWith({
logdir: config.url,
image: 'tensorflow/tensorflow:1.15.5',
namespace: config.namespace,
});
});
it('delete the tensorboard instance, confirm in the dialog,\
then return back to previous page', async () => {
const getAppMock = jest.fn(() => Promise.resolve(GET_APP_FOUND));
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
const deleteAppMock = jest.fn(() => Promise.resolve(''));
const deleteAppSpy = jest.spyOn(Apis, 'deleteTensorboardApp').mockImplementation(deleteAppMock);
const config = { ...DEFAULT_CONFIG };
tree = mount(<TensorboardViewer configs={[config]} />);
await TestUtils.flushPromises();
expect(!!tree.state('podAddress')).toBeTruthy();
// delete a tensorboard
tree.update();
tree
.find('#delete')
.find('Button')
.simulate('click');
tree.find('BusyButton').simulate('click');
expect(deleteAppSpy).toHaveBeenCalledWith(config.url, config.namespace);
await TestUtils.flushPromises();
tree.update();
// the tree has returned to 'start tensorboard' page
expect(tree.findWhere(el => el.text() === 'Start Tensorboard').exists()).toBeTruthy();
});
it('show version info in delete confirming dialog, \
if a tensorboard instance already exists', async () => {
const getAppMock = jest.fn(() => Promise.resolve(GET_APP_FOUND));
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
const config = DEFAULT_CONFIG;
tree = mount(<TensorboardViewer configs={[config]} />);
await TestUtils.flushPromises();
tree.update();
tree
.find('#delete')
.find('Button')
.simulate('click');
expect(tree.findWhere(el => el.text() === 'Stop Tensorboard?').exists()).toBeTruthy();
});
it('click on cancel on delete tensorboard dialog, then return back to previous page', async () => {
const getAppMock = jest.fn(() => Promise.resolve(GET_APP_FOUND));
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
const config = DEFAULT_CONFIG;
tree = mount(<TensorboardViewer configs={[config]} />);
await TestUtils.flushPromises();
tree.update();
tree
.find('#delete')
.find('Button')
.simulate('click');
tree
.find('#cancel')
.find('Button')
.simulate('click');
expect(tree.findWhere(el => el.text() === 'Open Tensorboard').exists()).toBeTruthy();
expect(tree.findWhere(el => el.text() === 'Stop Tensorboard').exists()).toBeTruthy();
});
it('asks user to wait when Tensorboard status is not ready', async () => {
const getAppMock = jest.fn(() => Promise.resolve(GET_APP_FOUND));
jest.spyOn(Apis, 'getTensorboardApp').mockImplementation(getAppMock);
jest.spyOn(Apis, 'isTensorboardPodReady').mockImplementation(() => Promise.resolve(false));
jest.spyOn(Apis, 'deleteTensorboardApp').mockImplementation(jest.fn(() => Promise.resolve('')));
const config = DEFAULT_CONFIG;
tree = mount(<TensorboardViewer configs={[config]} />);
await TestUtils.flushPromises();
await flushPromisesAndTimers();
tree.update();
expect(Apis.isTensorboardPodReady).toHaveBeenCalledTimes(1);
expect(Apis.isTensorboardPodReady).toHaveBeenCalledWith('apis/v1beta1/_proxy/podaddress');
expect(tree.findWhere(el => el.text() === 'Open Tensorboard').exists()).toBeTruthy();
expect(
tree
.findWhere(
el =>
el.text() === 'Tensorboard is starting, and you may need to wait for a few minutes.',
)
.exists(),
).toBeTruthy();
expect(tree.findWhere(el => el.text() === 'Stop Tensorboard').exists()).toBeTruthy();
// After a while, it is ready and wait message is not shwon any more
jest.spyOn(Apis, 'isTensorboardPodReady').mockImplementation(() => Promise.resolve(true));
await flushPromisesAndTimers();
tree.update();
expect(
tree
.findWhere(
el =>
el.text() === `Tensorboard is starting, and you may need to wait for a few minutes.`,
)
.exists(),
).toEqual(false);
});
});
| 306 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/HTMLViewer.tsx | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import Viewer, { ViewerConfig } from './Viewer';
import { color } from '../../Css';
import { stylesheet } from 'typestyle';
export interface HTMLViewerConfig extends ViewerConfig {
htmlContent: string;
}
interface HTMLViewerProps {
configs: HTMLViewerConfig[];
maxDimension?: number;
}
class HTMLViewer extends Viewer<HTMLViewerProps, any> {
private _iframeRef = React.createRef<HTMLIFrameElement>();
private _config = this.props.configs[0];
private _css = stylesheet({
iframe: {
border: '1px solid ' + color.divider,
boxSizing: 'border-box',
flexGrow: 1,
height: this.props.maxDimension ? this.props.maxDimension : 'initial',
minHeight: this.props.maxDimension ? this.props.maxDimension : 600,
width: '100%',
},
});
private _updateHtmlContent(config: HTMLViewerConfig): void {
// TODO: iframe.srcdoc doesn't work on Edge yet. It's been added, but not
// yet rolled out as of the time of writing this (6/14/18):
// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12375527/
// I'm using this since it seems like the safest way to insert HTML into an
// iframe, while allowing Javascript, but without needing to require
// "allow-same-origin" sandbox rule.
if (this._iframeRef.current) {
this._iframeRef.current!.srcdoc = config.htmlContent;
}
}
public getDisplayName(): string {
return 'Static HTML';
}
public componentDidMount(): void {
this._updateHtmlContent(this._config);
}
public componentDidUpdate(): void {
this._config = this.props.configs[0];
this._updateHtmlContent(this._config);
}
public render(): JSX.Element | null {
if (!this._config) {
return null;
}
return (
// TODO: fix this
// eslint-disable-next-line jsx-a11y/iframe-has-title
<iframe
ref={this._iframeRef}
src='about:blank'
className={this._css.iframe}
sandbox='allow-scripts'
/>
);
}
}
export default HTMLViewer;
| 307 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/MetricsVisualizations.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import HelpIcon from '@material-ui/icons/Help';
import React, { useEffect, useState } from 'react';
import { useQuery } from 'react-query';
import { Array as ArrayRunType, Failure, Number, Record, String, ValidationError } from 'runtypes';
import IconWithTooltip from 'src/atoms/IconWithTooltip';
import { color, commonCss, padding } from 'src/Css';
import { Apis, ListRequest } from 'src/lib/Apis';
import { OutputArtifactLoader } from 'src/lib/OutputArtifactLoader';
import WorkflowParser, { StoragePath } from 'src/lib/WorkflowParser';
import { getMetadataValue } from 'src/mlmd/library';
import {
filterArtifactsByType,
filterLinkedArtifactsByType,
getArtifactName,
getStoreSessionInfoFromArtifact,
LinkedArtifact,
} from 'src/mlmd/MlmdUtils';
import { Artifact, ArtifactType, Execution } from 'src/third_party/mlmd';
import Banner from '../Banner';
import CustomTable, {
Column,
CustomRendererProps,
Row as TableRow,
} from 'src/components/CustomTable';
import PlotCard from '../PlotCard';
import ConfusionMatrix, { ConfusionMatrixConfig } from './ConfusionMatrix';
import { HTMLViewerConfig } from './HTMLViewer';
import { MarkdownViewerConfig } from './MarkdownViewer';
import PagedTable from './PagedTable';
import ROCCurve, { ROCCurveConfig } from './ROCCurve';
import { PlotType, ViewerConfig } from './Viewer';
import { componentMap } from './ViewerContainer';
import Tooltip from '@material-ui/core/Tooltip';
import { Link } from 'react-router-dom';
import { RoutePage, RouteParams } from 'src/components/Router';
import { ApiFilter, PredicateOp } from 'src/apis/filter';
import {
FullArtifactPath,
FullArtifactPathMap,
getRocCurveId,
mlmdDisplayName,
NameId,
RocCurveColorMap,
} from 'src/lib/v2/CompareUtils';
import { logger } from 'src/lib/Utils';
import { stylesheet } from 'typestyle';
import { buildRocCurveConfig, validateConfidenceMetrics } from './ROCCurveHelper';
import { isEqual } from 'lodash';
const css = stylesheet({
inline: {
display: 'inline',
},
});
interface MetricsVisualizationsProps {
linkedArtifacts: LinkedArtifact[];
artifactTypes: ArtifactType[];
execution: Execution;
namespace: string | undefined;
}
/**
* Visualize system metrics based on artifact input. There can be multiple artifacts
* and multiple visualizations associated with one artifact.
*/
export function MetricsVisualizations({
linkedArtifacts,
artifactTypes,
execution,
namespace,
}: MetricsVisualizationsProps) {
// There can be multiple system.ClassificationMetrics or system.Metrics artifacts per execution.
// Get scalar metrics, confidenceMetrics and confusionMatrix from artifact.
// If there is no available metrics, show banner to notify users.
// Otherwise, Visualize all available metrics per artifact.
const artifacts = linkedArtifacts.map(x => x.artifact);
const classificationMetricsArtifacts = getVerifiedClassificationMetricsArtifacts(
linkedArtifacts,
artifactTypes,
);
const metricsArtifacts = getVerifiedMetricsArtifacts(artifacts, artifactTypes);
const htmlArtifacts = getVertifiedHtmlArtifacts(linkedArtifacts, artifactTypes);
const mdArtifacts = getVertifiedMarkdownArtifacts(linkedArtifacts, artifactTypes);
const v1VisualizationArtifact = getV1VisualizationArtifacts(linkedArtifacts, artifactTypes);
const {
isSuccess: isV1ViewerConfigsSuccess,
error: v1ViewerConfigError,
data: v1ViewerConfigs,
} = useQuery<ViewerConfig[], Error>(
[
'viewconfig',
{
artifact: v1VisualizationArtifact?.artifact.getId(),
state: execution.getLastKnownState(),
namespace: namespace,
},
],
() => getViewConfig(v1VisualizationArtifact, namespace),
{ staleTime: Infinity },
);
const { isSuccess: isHtmlDownloaded, error: htmlError, data: htmlViewerConfigs } = useQuery<
HTMLViewerConfig[],
Error
>(
[
'htmlViewerConfig',
{
artifacts: htmlArtifacts.map(linkedArtifact => {
return linkedArtifact.artifact.getId();
}),
state: execution.getLastKnownState(),
namespace: namespace,
},
],
() => getHtmlViewerConfig(htmlArtifacts, namespace),
{ staleTime: Infinity },
);
const {
isSuccess: isMarkdownDownloaded,
error: markdownError,
data: markdownViewerConfigs,
} = useQuery<MarkdownViewerConfig[], Error>(
[
'markdownViewerConfig',
{
artifacts: mdArtifacts.map(linkedArtifact => {
return linkedArtifact.artifact.getId();
}),
state: execution.getLastKnownState(),
namespace: namespace,
},
],
() => getMarkdownViewerConfig(mdArtifacts, namespace),
{ staleTime: Infinity },
);
if (
classificationMetricsArtifacts.length === 0 &&
metricsArtifacts.length === 0 &&
htmlArtifacts.length === 0 &&
mdArtifacts.length === 0 &&
!v1VisualizationArtifact
) {
return <Banner message='There is no metrics artifact available in this step.' mode='info' />;
}
return (
<>
{/* Shows first encountered issue on Banner */}
{(() => {
if (v1ViewerConfigError) {
return (
<Banner
message='Error in retrieving v1 metrics information.'
mode='error'
additionalInfo={v1ViewerConfigError.message}
/>
);
}
if (htmlError) {
return (
<Banner
message='Error in retrieving HTML visualization information.'
mode='error'
additionalInfo={htmlError.message}
/>
);
}
if (markdownError) {
return (
<Banner
message='Error in retrieving Markdown visualization information.'
mode='error'
additionalInfo={markdownError.message}
/>
);
}
return null;
})()}
{/* Shows visualizations of all kinds */}
{classificationMetricsArtifacts.map(linkedArtifact => {
return (
<React.Fragment key={linkedArtifact.artifact.getId()}>
<ConfidenceMetricsSection linkedArtifacts={[linkedArtifact]} />
<ConfusionMatrixSection artifact={linkedArtifact.artifact} />
</React.Fragment>
);
})}
{metricsArtifacts.map(artifact => (
<ScalarMetricsSection artifact={artifact} key={artifact.getId()} />
))}
{isHtmlDownloaded && htmlViewerConfigs && (
<div key={'html'} className={padding(20, 'lrt')}>
<PlotCard configs={htmlViewerConfigs} title={'Static HTML'} />
</div>
)}
{isMarkdownDownloaded && markdownViewerConfigs && (
<div key={'markdown'} className={padding(20, 'lrt')}>
<PlotCard configs={markdownViewerConfigs} title={'Static Markdown'} />
</div>
)}
{isV1ViewerConfigsSuccess &&
v1ViewerConfigs &&
v1ViewerConfigs.map((config, i) => {
const title = componentMap[config.type].prototype.getDisplayName();
return (
<div key={i} className={padding(20, 'lrt')}>
<PlotCard configs={[config]} title={title} />
</div>
);
})}
</>
);
}
function getVerifiedClassificationMetricsArtifacts(
linkedArtifacts: LinkedArtifact[],
artifactTypes: ArtifactType[],
): LinkedArtifact[] {
if (!linkedArtifacts || !artifactTypes) {
return [];
}
// Reference: https://github.com/kubeflow/pipelines/blob/master/sdk/python/kfp/dsl/io_types.py#L124
// system.ClassificationMetrics contains confusionMatrix or confidenceMetrics.
const classificationMetricsArtifacts = filterLinkedArtifactsByType(
'system.ClassificationMetrics',
artifactTypes,
linkedArtifacts,
);
return classificationMetricsArtifacts
.map(linkedArtifact => ({
name: linkedArtifact.artifact
.getCustomPropertiesMap()
.get('display_name')
?.getStringValue(),
customProperties: linkedArtifact.artifact.getCustomPropertiesMap(),
linkedArtifact: linkedArtifact,
}))
.filter(x => !!x.name)
.filter(x => {
const confidenceMetrics = x.customProperties
.get('confidenceMetrics')
?.getStructValue()
?.toJavaScript();
const confusionMatrix = x.customProperties
.get('confusionMatrix')
?.getStructValue()
?.toJavaScript();
return !!confidenceMetrics || !!confusionMatrix;
})
.map(x => x.linkedArtifact);
}
function getVerifiedMetricsArtifacts(
artifacts: Artifact[],
artifactTypes: ArtifactType[],
): Artifact[] {
if (!artifacts || !artifactTypes) {
return [];
}
// Reference: https://github.com/kubeflow/pipelines/blob/master/sdk/python/kfp/dsl/io_types.py#L104
// system.Metrics contains scalar metrics.
const metricsArtifacts = filterArtifactsByType('system.Metrics', artifactTypes, artifacts);
return metricsArtifacts.filter(x =>
x
.getCustomPropertiesMap()
.get('display_name')
?.getStringValue(),
);
}
function getVertifiedHtmlArtifacts(
linkedArtifacts: LinkedArtifact[],
artifactTypes: ArtifactType[],
): LinkedArtifact[] {
if (!linkedArtifacts || !artifactTypes) {
return [];
}
const htmlArtifacts = filterLinkedArtifactsByType('system.HTML', artifactTypes, linkedArtifacts);
return htmlArtifacts.filter(x =>
x.artifact
.getCustomPropertiesMap()
.get('display_name')
?.getStringValue(),
);
}
function getVertifiedMarkdownArtifacts(
linkedArtifacts: LinkedArtifact[],
artifactTypes: ArtifactType[],
): LinkedArtifact[] {
if (!linkedArtifacts || !artifactTypes) {
return [];
}
const htmlArtifacts = filterLinkedArtifactsByType(
'system.Markdown',
artifactTypes,
linkedArtifacts,
);
return htmlArtifacts.filter(x =>
x.artifact
.getCustomPropertiesMap()
.get('display_name')
?.getStringValue(),
);
}
function getV1VisualizationArtifacts(
linkedArtifacts: LinkedArtifact[],
artifactTypes: ArtifactType[],
): LinkedArtifact | undefined {
const systemArtifacts = filterLinkedArtifactsByType(
'system.Artifact',
artifactTypes,
linkedArtifacts,
);
const v1VisualizationArtifacts = systemArtifacts.filter(x => {
if (!x) {
return false;
}
const artifactName = getArtifactName(x);
// This is a hack to find mlpipeline-ui-metadata artifact for visualization.
const updatedName = artifactName?.replace(/[\W_]/g, '-').toLowerCase();
return updatedName === 'mlpipeline-ui-metadata';
});
if (v1VisualizationArtifacts.length > 1) {
throw new Error(
'There are more than 1 mlpipeline-ui-metadata artifact: ' +
JSON.stringify(v1VisualizationArtifacts),
);
}
return v1VisualizationArtifacts.length === 0 ? undefined : v1VisualizationArtifacts[0];
}
const ROC_CURVE_DEFINITION =
'The receiver operating characteristic (ROC) curve shows the trade-off between true positive rate and false positive rate. ' +
'A lower threshold results in a higher true positive rate (and a higher false positive rate), ' +
'while a higher threshold results in a lower true positive rate (and a lower false positive rate)';
export interface ConfidenceMetricsFilter {
selectedIds: string[];
setSelectedIds: (selectedIds: string[]) => void;
fullArtifactPathMap: FullArtifactPathMap;
selectedIdColorMap: RocCurveColorMap;
setSelectedIdColorMap: (selectedIdColorMap: RocCurveColorMap) => void;
lineColorsStack: string[];
setLineColorsStack: (lineColorsStack: string[]) => void;
}
export interface ConfidenceMetricsSectionProps {
linkedArtifacts: LinkedArtifact[];
filter?: ConfidenceMetricsFilter;
}
const runNameCustomRenderer: React.FC<CustomRendererProps<NameId>> = (
props: CustomRendererProps<NameId>,
) => {
const runName = props.value ? props.value.name : '';
const runId = props.value ? props.value.id : '';
return (
<Tooltip title={runName} enterDelay={300} placement='top-start'>
<Link
className={commonCss.link}
onClick={e => e.stopPropagation()}
to={RoutePage.RUN_DETAILS.replace(':' + RouteParams.runId, runId)}
>
{runName}
</Link>
</Tooltip>
);
};
const executionArtifactCustomRenderer: React.FC<CustomRendererProps<string>> = (
props: CustomRendererProps<string>,
) => (
<Tooltip title={props.value || ''} enterDelay={300} placement='top-start'>
<p className={css.inline}>{props.value || ''}</p>
</Tooltip>
);
const curveLegendCustomRenderer: React.FC<CustomRendererProps<string>> = (
props: CustomRendererProps<string>,
) => (
<div
style={{
width: '2rem',
height: '4px',
backgroundColor: props.value,
}}
/>
);
interface ConfidenceMetricsData {
confidenceMetrics: any;
name?: string;
id: string;
artifactId: string;
}
interface RocCurveFilterTable {
columns: Column[];
rows: TableRow[];
selectedConfidenceMetrics: ConfidenceMetricsData[];
}
// Get the columns, rows, and id-color mappings for filter functionality.
const getRocCurveFilterTable = (
confidenceMetricsDataList: ConfidenceMetricsData[],
linkedArtifactsPage: LinkedArtifact[],
filter?: ConfidenceMetricsFilter,
): RocCurveFilterTable => {
const columns: Column[] = [
{
customRenderer: executionArtifactCustomRenderer,
flex: 1,
label: 'Execution name > Artifact name',
},
{
customRenderer: runNameCustomRenderer,
flex: 1,
label: 'Run name',
},
{ customRenderer: curveLegendCustomRenderer, flex: 1, label: 'Curve legend' },
];
const rows: TableRow[] = [];
if (filter) {
const { selectedIds, selectedIdColorMap, fullArtifactPathMap } = filter;
// Only display the selected ROC Curves on the plot, in order of selection.
const confidenceMetricsDataMap = new Map();
for (const confidenceMetrics of confidenceMetricsDataList) {
confidenceMetricsDataMap.set(confidenceMetrics.id, confidenceMetrics);
}
confidenceMetricsDataList = selectedIds.map(selectedId =>
confidenceMetricsDataMap.get(selectedId),
);
// Populate the filter table rows.
for (const linkedArtifact of linkedArtifactsPage) {
const id = getRocCurveId(linkedArtifact);
const fullArtifactPath = fullArtifactPathMap[id];
const row = {
id,
otherFields: [
`${fullArtifactPath.execution.name} > ${fullArtifactPath.artifact.name}`,
fullArtifactPath.run,
selectedIdColorMap[id],
] as any,
};
rows.push(row);
}
}
return {
columns,
rows,
selectedConfidenceMetrics: confidenceMetricsDataList,
};
};
const updateRocCurveSelection = (
filter: ConfidenceMetricsFilter,
maxSelectedRocCurves: number,
newSelectedIds: string[],
): void => {
const {
selectedIds: oldSelectedIds,
setSelectedIds,
selectedIdColorMap,
setSelectedIdColorMap,
lineColorsStack,
setLineColorsStack,
} = filter;
// Convert arrays to sets for quick lookup.
const newSelectedIdsSet = new Set(newSelectedIds);
const oldSelectedIdsSet = new Set(oldSelectedIds);
// Find the symmetric difference and intersection of new and old IDs.
const addedIds = newSelectedIds.filter(selectedId => !oldSelectedIdsSet.has(selectedId));
const removedIds = oldSelectedIds.filter(selectedId => !newSelectedIdsSet.has(selectedId));
const sharedIds = oldSelectedIds.filter(selectedId => newSelectedIdsSet.has(selectedId));
// Restrict the number of selected ROC Curves to a maximum of 10.
const numElementsRemaining = maxSelectedRocCurves - sharedIds.length;
const limitedAddedIds = addedIds.slice(0, numElementsRemaining);
setSelectedIds(sharedIds.concat(limitedAddedIds));
// Update the color stack and mapping to match the new selected ROC Curves.
removedIds.forEach(removedId => {
lineColorsStack.push(selectedIdColorMap[removedId]);
delete selectedIdColorMap[removedId];
});
limitedAddedIds.forEach(addedId => {
selectedIdColorMap[addedId] = lineColorsStack.pop()!;
});
setSelectedIdColorMap(selectedIdColorMap);
setLineColorsStack(lineColorsStack);
};
function reloadRocCurve(
filter: ConfidenceMetricsFilter,
linkedArtifacts: LinkedArtifact[],
setLinkedArtifactsPage: (linkedArtifactsPage: LinkedArtifact[]) => void,
request: ListRequest,
): Promise<string> {
// Filter the linked artifacts by run, execution, and artifact display name.
const apiFilter = JSON.parse(
decodeURIComponent(request.filter || '{"predicates": []}'),
) as ApiFilter;
const predicates = apiFilter.predicates?.filter(
p => p.key === 'name' && p.op === PredicateOp.ISSUBSTRING,
);
const substrings = predicates?.map(p => p.string_value?.toLowerCase() || '') || [];
const displayLinkedArtifacts = linkedArtifacts.filter(linkedArtifact => {
if (filter) {
const fullArtifactPath: FullArtifactPath =
filter.fullArtifactPathMap[getRocCurveId(linkedArtifact)];
for (const sub of substrings) {
const executionArtifactName = `${fullArtifactPath.execution.name} > ${fullArtifactPath.artifact.name}`;
if (!executionArtifactName.includes(sub) && !fullArtifactPath.run.name.includes(sub)) {
return false;
}
}
}
return true;
});
// pageToken represents an incrementing integer which segments the linked artifacts into
// sub-lists of length "pageSize"; this allows us to avoid re-requesting all MLMD artifacts.
let linkedArtifactsPage: LinkedArtifact[] = displayLinkedArtifacts;
let nextPageToken: string = '';
if (request.pageSize) {
// Retrieve the specific page of linked artifacts.
const numericPageToken = request.pageToken ? parseInt(request.pageToken) : 0;
linkedArtifactsPage = displayLinkedArtifacts.slice(
numericPageToken * request.pageSize,
(numericPageToken + 1) * request.pageSize,
);
// Set the next page token if the last item has not been reached.
if (displayLinkedArtifacts.length > (numericPageToken + 1) * request.pageSize) {
nextPageToken = `${numericPageToken + 1}`;
}
}
setLinkedArtifactsPage(linkedArtifactsPage);
return Promise.resolve(nextPageToken);
}
export function ConfidenceMetricsSection({
linkedArtifacts,
filter,
}: ConfidenceMetricsSectionProps) {
const maxSelectedRocCurves: number = 10;
const [allLinkedArtifacts, setAllLinkedArtifacts] = useState<LinkedArtifact[]>(linkedArtifacts);
const [linkedArtifactsPage, setLinkedArtifactsPage] = useState<LinkedArtifact[]>(linkedArtifacts);
const [filterString, setFilterString] = useState<string>('');
// Reload the page on linked artifacts refresh or re-selection.
useEffect(() => {
if (filter && !isEqual(linkedArtifacts, allLinkedArtifacts)) {
setLinkedArtifactsPage(linkedArtifacts);
setAllLinkedArtifacts(linkedArtifacts);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [linkedArtifacts]);
// Verify that the existing linked artifacts are correct; otherwise, wait for refresh.
if (filter && !isEqual(linkedArtifacts, allLinkedArtifacts)) {
return null;
}
let confidenceMetricsDataList: ConfidenceMetricsData[] = linkedArtifacts
.map(linkedArtifact => {
const artifact = linkedArtifact.artifact;
const customProperties = artifact.getCustomPropertiesMap();
return {
confidenceMetrics: customProperties
.get('confidenceMetrics')
?.getStructValue()
?.toJavaScript(),
name: mlmdDisplayName(
artifact.getId().toString(),
'Artifact',
customProperties.get('display_name')?.getStringValue(),
),
id: getRocCurveId(linkedArtifact),
artifactId: linkedArtifact.artifact.getId().toString(),
};
})
.filter(confidenceMetricsData => confidenceMetricsData.confidenceMetrics);
if (confidenceMetricsDataList.length === 0) {
return null;
} else if (confidenceMetricsDataList.length !== linkedArtifacts.length && filter) {
// If a filter is provided, each of the artifacts must already have valid confidence metrics.
logger.error('Filter provided but not all of the artifacts have valid confidence metrics.');
return null;
}
const { columns, rows, selectedConfidenceMetrics } = getRocCurveFilterTable(
confidenceMetricsDataList,
linkedArtifactsPage,
filter,
);
const rocCurveConfigs: ROCCurveConfig[] = [];
for (const confidenceMetricsItem of selectedConfidenceMetrics) {
const confidenceMetrics = confidenceMetricsItem.confidenceMetrics as any;
// Export used to allow testing mock.
const { error } = validateConfidenceMetrics(confidenceMetrics.list);
// If an error exists with confidence metrics, return the first one with an issue.
if (error) {
const errorMsg =
'Error in ' +
`${confidenceMetricsItem.name} (artifact ID #${confidenceMetricsItem.artifactId})` +
" artifact's confidenceMetrics data format.";
return <Banner message={errorMsg} mode='error' additionalInfo={error} />;
}
rocCurveConfigs.push(buildRocCurveConfig(confidenceMetrics.list));
}
const colors: string[] | undefined =
filter && filter.selectedIds.map(selectedId => filter.selectedIdColorMap[selectedId]);
const disableAdditionalSelection: boolean =
filter !== undefined &&
filter.selectedIds.length === maxSelectedRocCurves &&
linkedArtifacts.length > maxSelectedRocCurves;
return (
<div className={padding(40, 'lrt')}>
<div className={padding(40, 'b')}>
<h3>
{'ROC Curve: ' +
(selectedConfidenceMetrics.length === 0
? 'no artifacts'
: selectedConfidenceMetrics.length === 1
? selectedConfidenceMetrics[0].name
: 'multiple artifacts')}{' '}
<IconWithTooltip
Icon={HelpIcon}
iconColor={color.weak}
tooltip={ROC_CURVE_DEFINITION}
></IconWithTooltip>
</h3>
</div>
<ROCCurve
configs={rocCurveConfigs}
colors={colors}
forceLegend={filter !== undefined} // Prevent legend from disappearing w/ one artifact left
disableAnimation={filter !== undefined}
/>
{filter && (
<>
{disableAdditionalSelection ? (
<Banner
message={
`You have reached the maximum number of ROC Curves (${maxSelectedRocCurves})` +
' you can select at once.'
}
mode='info'
additionalInfo={
`You have reached the maximum number of ROC Curves (${maxSelectedRocCurves})` +
' you can select at once. Deselect an item in order to select additional artifacts.'
}
isLeftAlign
/>
) : null}
<CustomTable
columns={columns}
rows={rows}
selectedIds={filter.selectedIds}
filterLabel='Filter artifacts'
updateSelection={updateRocCurveSelection.bind(null, filter, maxSelectedRocCurves)}
reload={reloadRocCurve.bind(null, filter, linkedArtifacts, setLinkedArtifactsPage)}
disablePaging={false}
disableSorting={false}
disableSelection={false}
noFilterBox={false}
emptyMessage='No artifacts found'
disableAdditionalSelection={disableAdditionalSelection}
initialFilterString={filterString}
setFilterString={setFilterString}
/>
</>
)}
</div>
);
}
type AnnotationSpec = {
displayName: string;
};
type Row = {
row: number[];
};
type ConfusionMatrixInput = {
annotationSpecs: AnnotationSpec[];
rows: Row[];
};
interface ConfusionMatrixProps {
artifact: Artifact;
}
const CONFUSION_MATRIX_DEFINITION =
'The number of correct and incorrect predictions are ' +
'summarized with count values and broken down by each class. ' +
'The higher value on cell where Predicted label matches True label, ' +
'the better prediction performance of this model is.';
export function ConfusionMatrixSection({ artifact }: ConfusionMatrixProps) {
const customProperties = artifact.getCustomPropertiesMap();
const name = customProperties.get('display_name')?.getStringValue();
const confusionMatrix = customProperties
.get('confusionMatrix')
?.getStructValue()
?.toJavaScript();
if (confusionMatrix === undefined) {
return null;
}
const { error } = validateConfusionMatrix(confusionMatrix.struct as any);
if (error) {
const errorMsg = 'Error in ' + name + " artifact's confusionMatrix data format.";
return <Banner message={errorMsg} mode='error' additionalInfo={error} />;
}
return (
<div className={padding(40)}>
<div className={padding(40, 'b')}>
<h3>
{'Confusion Matrix: ' + name}{' '}
<IconWithTooltip
Icon={HelpIcon}
iconColor={color.weak}
tooltip={CONFUSION_MATRIX_DEFINITION}
></IconWithTooltip>
</h3>
</div>
<ConfusionMatrix configs={buildConfusionMatrixConfig(confusionMatrix.struct as any)} />
</div>
);
}
const ConfusionMatrixInputRunType = Record({
annotationSpecs: ArrayRunType(
Record({
displayName: String,
}),
),
rows: ArrayRunType(Record({ row: ArrayRunType(Number) })),
});
function validateConfusionMatrix(input: any): { error?: string } {
if (!input) return { error: 'confusionMatrix does not exist.' };
try {
const matrix = ConfusionMatrixInputRunType.check(input);
const height = matrix.rows.length;
const annotationLen = matrix.annotationSpecs.length;
if (annotationLen !== height) {
throw new ValidationError({
message:
'annotationSpecs has different length ' + annotationLen + ' than rows length ' + height,
} as Failure);
}
for (let x of matrix.rows) {
if (x.row.length !== height)
throw new ValidationError({
message: 'row: ' + JSON.stringify(x) + ' has different length of columns from rows.',
} as Failure);
}
} catch (e) {
if (e instanceof ValidationError) {
return { error: e.message + '. Data: ' + JSON.stringify(input) };
}
}
return {};
}
function buildConfusionMatrixConfig(
confusionMatrix: ConfusionMatrixInput,
): ConfusionMatrixConfig[] {
return [
{
type: PlotType.CONFUSION_MATRIX,
axes: ['True label', 'Predicted label'],
labels: confusionMatrix.annotationSpecs.map(annotation => annotation.displayName),
data: confusionMatrix.rows.map(x => x.row),
},
];
}
interface ScalarMetricsSectionProps {
artifact: Artifact;
}
function ScalarMetricsSection({ artifact }: ScalarMetricsSectionProps) {
const customProperties = artifact.getCustomPropertiesMap();
const name = customProperties.get('display_name')?.getStringValue();
const data = customProperties
.getEntryList()
.map(([key]) => ({
key,
value: JSON.stringify(getMetadataValue(customProperties.get(key))),
}))
.filter(metric => metric.key !== 'display_name');
if (data.length === 0) {
return null;
}
return (
<div className={padding(40, 'lrt')}>
<div className={padding(40, 'b')}>
<h3>{'Scalar Metrics: ' + name}</h3>
</div>
<PagedTable
configs={[
{
data: data.map(d => [d.key, d.value]),
labels: ['name', 'value'],
type: PlotType.TABLE,
},
]}
/>
</div>
);
}
async function getViewConfig(
v1VisualizationArtifact: LinkedArtifact | undefined,
namespace: string | undefined,
): Promise<ViewerConfig[]> {
if (v1VisualizationArtifact) {
return OutputArtifactLoader.load(
WorkflowParser.parseStoragePath(v1VisualizationArtifact.artifact.getUri()),
namespace,
);
}
return [];
}
export async function getHtmlViewerConfig(
htmlArtifacts: LinkedArtifact[] | undefined,
namespace: string | undefined,
): Promise<HTMLViewerConfig[]> {
if (!htmlArtifacts) {
return [];
}
const htmlViewerConfigs = htmlArtifacts.map(async linkedArtifact => {
const uri = linkedArtifact.artifact.getUri();
let storagePath: StoragePath | undefined;
if (!uri) {
throw new Error('HTML Artifact URI unknown');
}
storagePath = WorkflowParser.parseStoragePath(uri);
if (!storagePath) {
throw new Error('HTML Artifact storagePath unknown');
}
const providerInfo = getStoreSessionInfoFromArtifact(linkedArtifact);
// TODO(zijianjoy): Limit the size of HTML file fetching to prevent UI frozen.
let data = await Apis.readFile({ path: storagePath, providerInfo, namespace: namespace });
return { htmlContent: data, type: PlotType.WEB_APP } as HTMLViewerConfig;
});
return Promise.all(htmlViewerConfigs);
}
export async function getMarkdownViewerConfig(
markdownArtifacts: LinkedArtifact[] | undefined,
namespace: string | undefined,
): Promise<MarkdownViewerConfig[]> {
if (!markdownArtifacts) {
return [];
}
const markdownViewerConfigs = markdownArtifacts.map(async linkedArtifact => {
const uri = linkedArtifact.artifact.getUri();
let storagePath: StoragePath | undefined;
if (!uri) {
throw new Error('Markdown Artifact URI unknown');
}
storagePath = WorkflowParser.parseStoragePath(uri);
if (!storagePath) {
throw new Error('Markdown Artifact storagePath unknown');
}
const providerInfo = getStoreSessionInfoFromArtifact(linkedArtifact);
// TODO(zijianjoy): Limit the size of Markdown file fetching to prevent UI frozen.
let data = await Apis.readFile({ path: storagePath, providerInfo, namespace: namespace });
return { markdownContent: data, type: PlotType.MARKDOWN } as MarkdownViewerConfig;
});
return Promise.all(markdownViewerConfigs);
}
| 308 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/ROCCurve.test.tsx | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import { shallow } from 'enzyme';
import { PlotType } from './Viewer';
import ROCCurve from './ROCCurve';
import { render, screen } from '@testing-library/react';
describe('ROCCurve', () => {
it('does not break on no config', () => {
const tree = shallow(<ROCCurve configs={[]} />);
expect(tree).toMatchSnapshot();
});
it('does not break on empty data', () => {
const tree = shallow(<ROCCurve configs={[{ data: [], type: PlotType.ROC }]} />);
expect(tree).toMatchSnapshot();
});
const data = [
{ x: 0, y: 0, label: '1' },
{ x: 0.2, y: 0.3, label: '2' },
{ x: 0.5, y: 0.7, label: '3' },
{ x: 0.9, y: 0.9, label: '4' },
{ x: 1, y: 1, label: '5' },
];
it('renders a simple ROC curve given one config', () => {
const tree = shallow(<ROCCurve configs={[{ data, type: PlotType.ROC }]} />);
expect(tree).toMatchSnapshot();
});
it('renders a reference base line series', () => {
const tree = shallow(<ROCCurve configs={[{ data, type: PlotType.ROC }]} />);
expect(tree.find('LineSeries').length).toBe(2);
});
it('renders an ROC curve using three configs', () => {
const config = { data, type: PlotType.ROC };
const tree = shallow(<ROCCurve configs={[config, config, config]} />);
expect(tree).toMatchSnapshot();
});
it('renders three lines with three different colors', () => {
const config = { data, type: PlotType.ROC };
const tree = shallow(<ROCCurve configs={[config, config, config]} />);
expect(tree.find('LineSeries').length).toBe(4); // +1 for baseline
const [line1Color, line2Color, line3Color] = [
(tree
.find('LineSeries')
.at(1)
.props() as any).color,
(tree
.find('LineSeries')
.at(2)
.props() as any).color,
(tree
.find('LineSeries')
.at(3)
.props() as any).color,
];
expect(line1Color !== line2Color && line1Color !== line3Color && line2Color !== line3Color);
});
it('does not render a legend when there is only one config', () => {
const config = { data, type: PlotType.ROC };
const tree = shallow(<ROCCurve configs={[config]} />);
expect(tree.find('DiscreteColorLegendItem').length).toBe(0);
});
it('renders a legend when there is more than one series', () => {
const config = { data, type: PlotType.ROC };
const tree = shallow(<ROCCurve configs={[config, config, config]} />);
expect(tree.find('DiscreteColorLegendItem').length).toBe(1);
const legendItems = (tree
.find('DiscreteColorLegendItem')
.at(0)
.props() as any).items;
expect(legendItems.length).toBe(3);
legendItems.map((item: any, i: number) => expect(item.title).toBe('Series #' + (i + 1)));
});
it('returns friendly display name', () => {
expect(ROCCurve.prototype.getDisplayName()).toBe('ROC Curve');
});
it('is aggregatable', () => {
expect(ROCCurve.prototype.isAggregatable()).toBeTruthy();
});
it('Force legend display even with one config', async () => {
const config = { data, type: PlotType.ROC };
render(<ROCCurve configs={[config]} forceLegend />);
screen.getByText('Series #1');
});
});
| 309 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/Viewer.ts | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
export enum PlotType {
CONFUSION_MATRIX = 'confusion_matrix',
MARKDOWN = 'markdown',
ROC = 'roc',
TABLE = 'table',
TENSORBOARD = 'tensorboard',
VISUALIZATION_CREATOR = 'visualization-creator',
WEB_APP = 'web-app',
}
// Interface to be extended by each viewer implementation, so it's possible to
// build an array of viewer configurations that forces them to declare their type.
export interface ViewerConfig {
type: PlotType;
}
abstract class Viewer<P, S> extends React.Component<P, S> {
public isAggregatable(): boolean {
return false;
}
public abstract getDisplayName(): string;
}
export default Viewer;
| 310 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/MarkdownViewer.tsx | /*
* Copyright 2019 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import Viewer, { ViewerConfig } from './Viewer';
import { cssRaw } from 'typestyle';
import Markdown from 'markdown-to-jsx';
import Banner from '../Banner';
import { ExternalLink } from 'src/atoms/ExternalLink';
cssRaw(`
.markdown-viewer h1,
.markdown-viewer h2,
.markdown-viewer h3,
.markdown-viewer h4,
.markdown-viewer h5,
.markdown-viewer h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-size: initial;
font-weight: 700;
line-height: 1.4;
}
.markdown-viewer h1,
.markdown-viewer h2 {
padding-bottom: .3em;
border-bottom: 1px solid #eee;
}
.markdown-viewer code,
.markdown-viewer pre {
background-color: #f8f8f8;
border-radius: 5px;
}
.markdown-viewer pre {
border: solid 1px #eee;
margin: 7px 0;
padding: 7px;
}
`);
const MAX_MARKDOWN_STR_LENGTH = 50 * 1000 * 8; // 50KB
export interface MarkdownViewerConfig extends ViewerConfig {
markdownContent: string;
}
export interface MarkdownViewerProps {
configs: MarkdownViewerConfig[];
maxDimension?: number;
maxLength?: number;
}
class MarkdownViewer extends Viewer<MarkdownViewerProps, any> {
public getDisplayName(): string {
return 'Markdown';
}
public render(): JSX.Element | null {
if (!this.props.configs[0]) {
return null;
}
return (
<div className='markdown-viewer'>
<MarkdownAdvanced
maxMarkdownStrLength={this.props.maxLength}
content={this.props.configs[0].markdownContent}
/>
</div>
);
}
}
export default MarkdownViewer;
interface MarkdownAdvancedProps {
maxMarkdownStrLength?: number;
content: string;
}
function preventEventBubbling(e: React.MouseEvent): void {
e.stopPropagation();
}
const renderExternalLink = (props: {}) => (
<ExternalLink {...props} onClick={preventEventBubbling} />
);
const markdownOptions = {
overrides: { a: { component: renderExternalLink } },
disableParsingRawHTML: true,
};
const MarkdownAdvanced = ({
maxMarkdownStrLength = MAX_MARKDOWN_STR_LENGTH,
content,
}: MarkdownAdvancedProps) => {
// truncatedContent will be memoized, each call with the same content + maxMarkdownStrLength arguments will return the same truncatedContent without calculation.
// Reference: https://reactjs.org/docs/hooks-reference.html#usememo
const truncatedContent = React.useMemo(() => content.substr(0, maxMarkdownStrLength), [
maxMarkdownStrLength,
content,
]);
return (
<>
{content.length > maxMarkdownStrLength && (
<Banner message='This markdown is too large to render completely.' mode={'warning'} />
)}
<Markdown options={markdownOptions}>{truncatedContent}</Markdown>
</>
);
};
| 311 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/PagedTable.tsx | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import Table from '@material-ui/core/Table';
import TableBody from '@material-ui/core/TableBody';
import TableCell from '@material-ui/core/TableCell';
import TableHead from '@material-ui/core/TableHead';
import TablePagination from '@material-ui/core/TablePagination';
import TableRow from '@material-ui/core/TableRow';
import TableSortLabel from '@material-ui/core/TableSortLabel';
import Tooltip from '@material-ui/core/Tooltip';
import Viewer, { ViewerConfig, PlotType } from './Viewer';
import { color, fontsize, commonCss } from '../../Css';
import { stylesheet } from 'typestyle';
enum SortOrder {
ASC = 'asc',
DESC = 'desc',
}
export interface PagedTableConfig extends ViewerConfig {
data: string[][];
labels: string[];
type: PlotType;
}
interface PagedTableProps {
configs: PagedTableConfig[];
maxDimension?: number;
}
interface PagedTableState {
order: SortOrder;
orderBy: number;
page: number;
rowsPerPage: number;
}
class PagedTable extends Viewer<PagedTableProps, PagedTableState> {
private _shrinkThreshold = 600;
private _config = this.props.configs[0];
private _rowHeight = 30;
private _css = stylesheet({
cell: {
borderRight: 'solid 1px ' + color.divider,
color: color.foreground,
fontSize: this._isSmall() ? fontsize.small : fontsize.base,
paddingLeft: this._isSmall() ? 5 : 'invalid',
paddingRight: 5,
pointerEvents: this._isSmall() ? 'none' : 'initial',
},
columnName: {
fontSize: this._isSmall() ? fontsize.base : fontsize.medium,
fontWeight: 'bold',
paddingLeft: this._isSmall() ? 5 : 'invalid',
},
row: {
borderBottom: '1px solid #ddd',
height: this._isSmall() ? 25 : this._rowHeight,
},
});
constructor(props: any) {
super(props);
this.state = {
order: SortOrder.ASC,
orderBy: 0,
page: 0,
rowsPerPage: 10,
};
}
public getDisplayName(): string {
return 'Table';
}
public render(): JSX.Element | null {
if (!this._config) {
return null;
}
const { data, labels } = this._config;
const { order, orderBy, rowsPerPage, page } = this.state;
const emptyRows = rowsPerPage - Math.min(rowsPerPage, data.length - page * rowsPerPage);
return (
<div style={{ width: '100%' }} className={commonCss.page}>
<Table style={{ display: 'block', overflow: 'auto' }}>
<TableHead>
<TableRow>
{labels.map((label, i) => {
return (
<TableCell
className={this._css.columnName}
key={i}
sortDirection={orderBy === i ? order : false}
>
<Tooltip title='Sort' enterDelay={300}>
<TableSortLabel
active={orderBy === i}
direction={order}
onClick={this._handleSort(i)}
>
{label}
</TableSortLabel>
</Tooltip>
</TableCell>
);
}, this)}
</TableRow>
</TableHead>
<TableBody>
{this._stableSort(data)
.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)
.map((row, index) => {
return (
<TableRow hover={true} tabIndex={-1} key={index} className={this._css.row}>
{row.map((cell, i) => (
<TableCell key={i} className={this._css.cell}>
{cell}
</TableCell>
))}
</TableRow>
);
})}
{emptyRows > 0 && (
<TableRow style={{ height: this._rowHeight * emptyRows }}>
<TableCell colSpan={6} />
</TableRow>
)}
</TableBody>
</Table>
<TablePagination
component='div'
count={data.length}
rowsPerPage={rowsPerPage}
page={page}
onChangePage={this._handleChangePage}
onChangeRowsPerPage={this._handleChangeRowsPerPage}
/>
</div>
);
}
private _handleSort = (index: number) => () => {
const orderBy = index;
let order = SortOrder.ASC;
if (this.state.orderBy === index && this.state.order === SortOrder.ASC) {
order = SortOrder.DESC;
}
this.setState({ order, orderBy });
};
private _handleChangePage = (event: any, page: number) => {
this.setState({ page });
};
private _handleChangeRowsPerPage = (event: any) => {
this.setState({ rowsPerPage: event.target.value });
};
private _isSmall(): boolean {
return !!this.props.maxDimension && this.props.maxDimension < this._shrinkThreshold;
}
private _stableSort(array: string[][]): string[][] {
const stabilizedThis = array.map((row: string[], index: number): [string[], number] => [
row,
index,
]);
const compareFn = this._getSorting(this.state.order, this.state.orderBy);
stabilizedThis.sort((a: [string[], number], b: [string[], number]) => {
const order = compareFn(a[0], b[0]);
if (order !== 0) {
return order;
}
return a[1] - b[1];
});
return stabilizedThis.map((el: [string[], number]) => el[0]);
}
private _desc(a: string[], b: string[], orderBy: number): number {
if (b[orderBy] < a[orderBy]) {
return -1;
}
if (b[orderBy] > a[orderBy]) {
return 1;
}
return 0;
}
private _getSorting(order: SortOrder, orderBy: number): (a: any, b: any) => number {
return order === SortOrder.DESC
? (a: any, b: any) => this._desc(a, b, orderBy)
: (a: any, b: any) => -this._desc(a, b, orderBy);
}
}
export default PagedTable;
| 312 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/VisualizationCreator.test.tsx | /*
* Copyright 2019 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import { shallow, mount } from 'enzyme';
import { render, screen, fireEvent } from '@testing-library/react';
import { PlotType } from './Viewer';
import VisualizationCreator, { VisualizationCreatorConfig } from './VisualizationCreator';
import { ApiVisualizationType } from '../../apis/visualization';
import { diffHTML } from 'src/TestUtils';
describe('VisualizationCreator', () => {
it('does not render component when no config is provided', () => {
const tree = shallow(<VisualizationCreator configs={[]} />);
expect(tree).toMatchSnapshot();
});
it('renders component when empty config is provided', () => {
const config: VisualizationCreatorConfig = {
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
expect(tree).toMatchSnapshot();
});
it('renders component when isBusy is not provided', () => {
const config: VisualizationCreatorConfig = {
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
expect(tree).toMatchSnapshot();
});
it('renders component when onGenerate is not provided', () => {
const config: VisualizationCreatorConfig = {
isBusy: false,
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
expect(tree).toMatchSnapshot();
});
it('renders component when all parameters in config are provided', () => {
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
expect(tree).toMatchSnapshot();
});
it('does not render an Editor component if a visualization type is not specified', () => {
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
expect(tree).toMatchSnapshot();
});
it('renders an Editor component if a visualization type is specified', () => {
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
// source by default is set to ''
selectedType: ApiVisualizationType.ROCCURVE,
});
expect(tree).toMatchSnapshot();
});
it('renders two Editor components if the CUSTOM visualization type is specified', () => {
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
// source by default is set to ''
selectedType: ApiVisualizationType.CUSTOM,
});
expect(tree).toMatchSnapshot();
});
it('has a disabled BusyButton if selectedType is an undefined', () => {
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
source: 'gs://ml-pipeline/data.csv',
});
expect(
tree
.find('BusyButton')
.at(0)
.prop('disabled'),
).toBe(true);
});
it('has a disabled BusyButton if source is an empty string', () => {
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
// source by default is set to ''
selectedType: ApiVisualizationType.ROCCURVE,
});
expect(
tree
.find('BusyButton')
.at(0)
.prop('disabled'),
).toBe(true);
});
it('has a disabled BusyButton if onGenerate is not provided as a prop', () => {
const config: VisualizationCreatorConfig = {
isBusy: false,
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
selectedType: ApiVisualizationType.ROCCURVE,
source: 'gs://ml-pipeline/data.csv',
});
expect(
tree
.find('BusyButton')
.at(0)
.prop('disabled'),
).toBe(true);
});
it('has a disabled BusyButton if isBusy is true', () => {
const config: VisualizationCreatorConfig = {
isBusy: true,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
selectedType: ApiVisualizationType.ROCCURVE,
source: 'gs://ml-pipeline/data.csv',
});
expect(
tree
.find('BusyButton')
.at(0)
.prop('disabled'),
).toBe(true);
});
it('has an enabled BusyButton if onGenerate is provided and source and selectedType are set', () => {
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
selectedType: ApiVisualizationType.ROCCURVE,
source: 'gs://ml-pipeline/data.csv',
});
expect(
tree
.find('BusyButton')
.at(0)
.prop('disabled'),
).toBe(false);
});
it('calls onGenerate when BusyButton is clicked', () => {
const onGenerate = jest.fn();
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate,
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
arguments: '{}',
selectedType: ApiVisualizationType.ROCCURVE,
source: 'gs://ml-pipeline/data.csv',
});
tree
.find('BusyButton')
.at(0)
.simulate('click');
expect(onGenerate).toBeCalled();
});
it('passes state as parameters to onGenerate when BusyButton is clicked', () => {
const onGenerate = jest.fn();
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate,
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
arguments: '{}',
selectedType: ApiVisualizationType.ROCCURVE,
source: 'gs://ml-pipeline/data.csv',
});
tree
.find('BusyButton')
.at(0)
.simulate('click');
expect(onGenerate).toBeCalledWith(
'{}',
'gs://ml-pipeline/data.csv',
ApiVisualizationType.ROCCURVE,
);
});
it('renders the provided arguments', () => {
const config: VisualizationCreatorConfig = {
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
arguments: JSON.stringify({ is_generated: 'True' }),
// selectedType is required to be set so that the argument editor
// component is visible.
selectedType: ApiVisualizationType.ROCCURVE,
});
expect(tree).toMatchSnapshot();
});
it('renders a provided source', () => {
const source = 'gs://ml-pipeline/data.csv';
const config: VisualizationCreatorConfig = {
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = mount(<VisualizationCreator configs={[config]} />);
tree.setState({
source,
});
expect(
tree
.find('input')
.at(1)
.prop('value'),
).toBe(source);
});
it('renders the selected visualization type', () => {
const config: VisualizationCreatorConfig = {
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
tree.setState({
selectedType: ApiVisualizationType.ROCCURVE,
});
expect(tree).toMatchSnapshot();
});
it('renders the custom type when it is allowed', () => {
const config: VisualizationCreatorConfig = {
allowCustomVisualizations: true,
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
expect(tree).toMatchSnapshot();
});
it('disables all select and input fields when busy', () => {
const config: VisualizationCreatorConfig = {
isBusy: true,
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
// toMatchSnapshot is used rather than three individual checks for the
// disabled prop due to an issue where the Input components are not
// selectable by tree.find().
expect(tree).toMatchSnapshot();
});
it('has an argument placeholder for every visualization type', () => {
// Taken from VisualizationCreator.tsx, update this if updated within
// VisualizationCreator.tsx.
const types = Object.keys(ApiVisualizationType)
.map((key: string) => key.replace('_', ''))
.filter((key: string, i: number, arr: string[]) => arr.indexOf(key) === i);
const config: VisualizationCreatorConfig = {
isBusy: false,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
};
const tree = shallow(<VisualizationCreator configs={[config]} />);
// Iterate through all selectable types to ensure a placeholder is set
// for the argument editor for each type.
for (const type of types) {
tree.setState({
// source by default is set to ''
selectedType: type,
});
expect(
tree
.find('Editor')
.at(0)
.prop('placeholder'),
).not.toBeNull();
}
});
it('returns friendly display name', () => {
expect(VisualizationCreator.prototype.getDisplayName()).toBe('Visualization Creator');
});
it('can be configured as collapsed initially and clicks to open', () => {
const baseConfig: VisualizationCreatorConfig = {
isBusy: false,
onGenerate: jest.fn(),
type: PlotType.VISUALIZATION_CREATOR,
collapsedInitially: false,
};
const { container: baseContainer } = render(<VisualizationCreator configs={[baseConfig]} />);
const { container } = render(
<VisualizationCreator
configs={[
{
...baseConfig,
collapsedInitially: true,
},
]}
/>,
);
expect(container).toMatchInlineSnapshot(`
<div>
<button
class="MuiButtonBase-root-114 MuiButton-root-88 MuiButton-text-90 MuiButton-flat-93"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-89"
>
create visualizations manually
</span>
<span
class="MuiTouchRipple-root-117"
/>
</button>
</div>
`);
const button = screen.getByText('create visualizations manually');
fireEvent.click(button);
// expanding a visualization creator is equivalent to rendering a non-collapsed visualization creator
expect(diffHTML({ base: baseContainer.innerHTML, update: container.innerHTML }))
.toMatchInlineSnapshot(`
Snapshot Diff:
Compared values have no visual difference.
`);
});
});
| 313 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/viewers/MarkdownViewer.test.tsx | /*
* Copyright 2019 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { render } from '@testing-library/react';
import { mount } from 'enzyme';
import * as React from 'react';
import MarkdownViewer, { MarkdownViewerConfig } from './MarkdownViewer';
import { PlotType } from './Viewer';
describe('MarkdownViewer', () => {
it('does not break on empty data', () => {
const tree = mount(<MarkdownViewer configs={[]} />).getDOMNode();
expect(tree).toMatchSnapshot();
});
it('renders some basic markdown', () => {
const markdown = '# Title\n[some link here](http://example.com)';
const config: MarkdownViewerConfig = {
markdownContent: markdown,
type: PlotType.MARKDOWN,
};
const tree = mount(<MarkdownViewer configs={[config]} />).getDOMNode();
expect(tree).toMatchSnapshot();
});
it('sanitizes the markdown to remove XSS', () => {
const markdown = `
lower[click me](javascript:...)lower
upper[click me](javascript:...)upper
`;
const config: MarkdownViewerConfig = {
markdownContent: markdown,
type: PlotType.MARKDOWN,
};
const tree = mount(<MarkdownViewer configs={[config]} />).getDOMNode();
expect(tree).toMatchSnapshot();
});
it('returns a user friendly display name', () => {
expect(MarkdownViewer.prototype.getDisplayName()).toBe('Markdown');
});
it('capped at maximum markdown size', () => {
const config: MarkdownViewerConfig = {
markdownContent: 'X'.repeat(11),
type: PlotType.MARKDOWN,
};
const maximumMarkdownSize = 10;
const { getByText, queryByText } = render(
<MarkdownViewer configs={[config]} maxLength={maximumMarkdownSize} />,
);
getByText('This markdown is too large to render completely.');
getByText('X'.repeat(maximumMarkdownSize));
expect(queryByText('X'.repeat(11))).toBeNull();
});
});
| 314 |
0 | kubeflow_public_repos/pipelines/frontend/src/components/viewers | kubeflow_public_repos/pipelines/frontend/src/components/viewers/__snapshots__/ConfusionMatrix.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ConfusionMatrix does not break on asymetric data 1`] = `
<div
className="flex root"
>
<table>
<tbody>
<tr>
<td
className="yAxisLabel"
>
test y axis
</td>
</tr>
<tr
key="0"
>
<td>
<div
className="ylabel"
>
label2
</div>
</td>
<td
className="cell"
key="0"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.5)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
4
</td>
<td
className="cell"
key="1"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.875)",
"color": "#fff",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
7
</td>
</tr>
<tr
key="1"
>
<td>
<div
className="ylabel"
>
label1
</div>
</td>
<td
className="cell"
key="0"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.375)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
3
</td>
<td
className="cell"
key="1"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.75)",
"color": "#fff",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
6
</td>
</tr>
<tr>
<th
className="xlabel"
/>
<th
key="0"
>
<div
className="xlabel"
>
label1
</div>
</th>
<th
key="1"
>
<div
className="xlabel"
>
label2
</div>
</th>
<td
className="xAxisLabel"
>
test x axis
</td>
</tr>
</tbody>
</table>
<div
className="legend"
style={
Object {
"height": 118.5,
}
}
>
<div
className="legendNotch"
style={
Object {
"top": 0,
}
}
>
<span
className="legendLabel"
>
8
</span>
</div>
<div
className="legendNotch"
key="0"
style={
Object {
"top": "100%",
}
}
>
<span
className="legendLabel"
>
0
</span>
</div>
<div
className="legendNotch"
key="1"
style={
Object {
"top": "80%",
}
}
>
<span
className="legendLabel"
>
1
</span>
</div>
<div
className="legendNotch"
key="2"
style={
Object {
"top": "60%",
}
}
>
<span
className="legendLabel"
>
3
</span>
</div>
<div
className="legendNotch"
key="3"
style={
Object {
"top": "40%",
}
}
>
<span
className="legendLabel"
>
4
</span>
</div>
<div
className="legendNotch"
key="4"
style={
Object {
"top": "20%",
}
}
>
<span
className="legendLabel"
>
6
</span>
</div>
</div>
</div>
`;
exports[`ConfusionMatrix does not break on empty data 1`] = `""`;
exports[`ConfusionMatrix renders a basic confusion matrix 1`] = `
<div
className="flex root"
>
<table>
<tbody>
<tr>
<td
className="yAxisLabel"
>
test y axis
</td>
</tr>
<tr
key="0"
>
<td>
<div
className="ylabel"
>
label2
</div>
</td>
<td
className="cell"
key="0"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.125)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
1
</td>
<td
className="cell"
key="1"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.5)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
4
</td>
</tr>
<tr
key="1"
>
<td>
<div
className="ylabel"
>
label1
</div>
</td>
<td
className="cell"
key="0"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
0
</td>
<td
className="cell"
key="1"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.375)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
3
</td>
</tr>
<tr>
<th
className="xlabel"
/>
<th
key="0"
>
<div
className="xlabel"
>
label1
</div>
</th>
<th
key="1"
>
<div
className="xlabel"
>
label2
</div>
</th>
<td
className="xAxisLabel"
>
test x axis
</td>
</tr>
</tbody>
</table>
<div
className="legend"
style={
Object {
"height": 177.75,
}
}
>
<div
className="legendNotch"
style={
Object {
"top": 0,
}
}
>
<span
className="legendLabel"
>
8
</span>
</div>
<div
className="legendNotch"
key="0"
style={
Object {
"top": "100%",
}
}
>
<span
className="legendLabel"
>
0
</span>
</div>
<div
className="legendNotch"
key="1"
style={
Object {
"top": "80%",
}
}
>
<span
className="legendLabel"
>
1
</span>
</div>
<div
className="legendNotch"
key="2"
style={
Object {
"top": "60%",
}
}
>
<span
className="legendLabel"
>
3
</span>
</div>
<div
className="legendNotch"
key="3"
style={
Object {
"top": "40%",
}
}
>
<span
className="legendLabel"
>
4
</span>
</div>
<div
className="legendNotch"
key="4"
style={
Object {
"top": "20%",
}
}
>
<span
className="legendLabel"
>
6
</span>
</div>
</div>
</div>
`;
exports[`ConfusionMatrix renders a small confusion matrix snapshot, with no labels or footer 1`] = `
<div
className="flex root"
>
<table>
<tbody>
<tr
key="0"
>
<td
className="cell"
key="0"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.125)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
1
</td>
<td
className="cell"
key="1"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.5)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
4
</td>
</tr>
<tr
key="1"
>
<td
className="cell"
key="0"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
0
</td>
<td
className="cell"
key="1"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.375)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
3
</td>
</tr>
</tbody>
</table>
</div>
`;
exports[`ConfusionMatrix renders only one of the given list of configs 1`] = `
<div
className="flex root"
>
<table>
<tbody>
<tr>
<td
className="yAxisLabel"
>
test y axis
</td>
</tr>
<tr
key="0"
>
<td>
<div
className="ylabel"
>
label2
</div>
</td>
<td
className="cell"
key="0"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.125)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
1
</td>
<td
className="cell"
key="1"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.5)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
4
</td>
</tr>
<tr
key="1"
>
<td>
<div
className="ylabel"
>
label1
</div>
</td>
<td
className="cell"
key="0"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
0
</td>
<td
className="cell"
key="1"
onMouseLeave={[Function]}
onMouseOver={[Function]}
style={
Object {
"backgroundColor": "rgba(41, 121, 255, 0.375)",
"color": "#000",
}
}
>
<div
className="overlay"
style={
Object {
"opacity": 0,
}
}
/>
3
</td>
</tr>
<tr>
<th
className="xlabel"
/>
<th
key="0"
>
<div
className="xlabel"
>
label1
</div>
</th>
<th
key="1"
>
<div
className="xlabel"
>
label2
</div>
</th>
<td
className="xAxisLabel"
>
test x axis
</td>
</tr>
</tbody>
</table>
<div
className="legend"
style={
Object {
"height": 177.75,
}
}
>
<div
className="legendNotch"
style={
Object {
"top": 0,
}
}
>
<span
className="legendLabel"
>
8
</span>
</div>
<div
className="legendNotch"
key="0"
style={
Object {
"top": "100%",
}
}
>
<span
className="legendLabel"
>
0
</span>
</div>
<div
className="legendNotch"
key="1"
style={
Object {
"top": "80%",
}
}
>
<span
className="legendLabel"
>
1
</span>
</div>
<div
className="legendNotch"
key="2"
style={
Object {
"top": "60%",
}
}
>
<span
className="legendLabel"
>
3
</span>
</div>
<div
className="legendNotch"
key="3"
style={
Object {
"top": "40%",
}
}
>
<span
className="legendLabel"
>
4
</span>
</div>
<div
className="legendNotch"
key="4"
style={
Object {
"top": "20%",
}
}
>
<span
className="legendLabel"
>
6
</span>
</div>
</div>
</div>
`;
| 315 |
0 | kubeflow_public_repos/pipelines/frontend/src/components/viewers | kubeflow_public_repos/pipelines/frontend/src/components/viewers/__snapshots__/PagedTable.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PagedTable does not break on empty data 1`] = `
<div
className="page"
style={
Object {
"width": "100%",
}
}
>
<WithStyles(Table)
style={
Object {
"display": "block",
"overflow": "auto",
}
}
>
<WithStyles(TableHead)>
<WithStyles(TableRow) />
</WithStyles(TableHead)>
<WithStyles(TableBody)>
<WithStyles(TableRow)
style={
Object {
"height": 300,
}
}
>
<WithStyles(TableCell)
colSpan={6}
/>
</WithStyles(TableRow)>
</WithStyles(TableBody)>
</WithStyles(Table)>
<WithStyles(TablePagination)
component="div"
count={0}
onChangePage={[Function]}
onChangeRowsPerPage={[Function]}
page={0}
rowsPerPage={10}
/>
</div>
`;
exports[`PagedTable does not break on no config 1`] = `""`;
exports[`PagedTable renders simple data 1`] = `
<div
className="page"
style={
Object {
"width": "100%",
}
}
>
<WithStyles(Table)
style={
Object {
"display": "block",
"overflow": "auto",
}
}
>
<WithStyles(TableHead)>
<WithStyles(TableRow)>
<WithStyles(TableCell)
className="columnName"
key="0"
sortDirection="asc"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={true}
direction="asc"
onClick={[Function]}
>
field1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="columnName"
key="1"
sortDirection={false}
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={false}
direction="asc"
onClick={[Function]}
>
field2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="columnName"
key="2"
sortDirection={false}
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={false}
direction="asc"
onClick={[Function]}
>
field3
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</WithStyles(TableCell)>
</WithStyles(TableRow)>
</WithStyles(TableHead)>
<WithStyles(TableBody)>
<WithStyles(TableRow)
className="row"
hover={true}
key="0"
tabIndex={-1}
>
<WithStyles(TableCell)
className="cell"
key="0"
>
col1
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="1"
>
col2
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="2"
>
col3
</WithStyles(TableCell)>
</WithStyles(TableRow)>
<WithStyles(TableRow)
className="row"
hover={true}
key="1"
tabIndex={-1}
>
<WithStyles(TableCell)
className="cell"
key="0"
>
col4
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="1"
>
col5
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="2"
>
col6
</WithStyles(TableCell)>
</WithStyles(TableRow)>
<WithStyles(TableRow)
style={
Object {
"height": 240,
}
}
>
<WithStyles(TableCell)
colSpan={6}
/>
</WithStyles(TableRow)>
</WithStyles(TableBody)>
</WithStyles(Table)>
<WithStyles(TablePagination)
component="div"
count={2}
onChangePage={[Function]}
onChangeRowsPerPage={[Function]}
page={0}
rowsPerPage={10}
/>
</div>
`;
exports[`PagedTable renders simple data without labels 1`] = `
<div
className="page"
style={
Object {
"width": "100%",
}
}
>
<WithStyles(Table)
style={
Object {
"display": "block",
"overflow": "auto",
}
}
>
<WithStyles(TableHead)>
<WithStyles(TableRow) />
</WithStyles(TableHead)>
<WithStyles(TableBody)>
<WithStyles(TableRow)
className="row"
hover={true}
key="0"
tabIndex={-1}
>
<WithStyles(TableCell)
className="cell"
key="0"
>
col1
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="1"
>
col2
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="2"
>
col3
</WithStyles(TableCell)>
</WithStyles(TableRow)>
<WithStyles(TableRow)
className="row"
hover={true}
key="1"
tabIndex={-1}
>
<WithStyles(TableCell)
className="cell"
key="0"
>
col4
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="1"
>
col5
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="2"
>
col6
</WithStyles(TableCell)>
</WithStyles(TableRow)>
<WithStyles(TableRow)
style={
Object {
"height": 240,
}
}
>
<WithStyles(TableCell)
colSpan={6}
/>
</WithStyles(TableRow)>
</WithStyles(TableBody)>
</WithStyles(Table)>
<WithStyles(TablePagination)
component="div"
count={2}
onChangePage={[Function]}
onChangeRowsPerPage={[Function]}
page={0}
rowsPerPage={10}
/>
</div>
`;
exports[`PagedTable sorts on first column ascending 1`] = `
<div
className="page"
style={
Object {
"width": "100%",
}
}
>
<WithStyles(Table)
style={
Object {
"display": "block",
"overflow": "auto",
}
}
>
<WithStyles(TableHead)>
<WithStyles(TableRow)>
<WithStyles(TableCell)
className="columnName"
key="0"
sortDirection="asc"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={true}
direction="asc"
onClick={[Function]}
>
field1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="columnName"
key="1"
sortDirection={false}
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={false}
direction="asc"
onClick={[Function]}
>
field2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="columnName"
key="2"
sortDirection={false}
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={false}
direction="asc"
onClick={[Function]}
>
field3
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</WithStyles(TableCell)>
</WithStyles(TableRow)>
</WithStyles(TableHead)>
<WithStyles(TableBody)>
<WithStyles(TableRow)
className="row"
hover={true}
key="0"
tabIndex={-1}
>
<WithStyles(TableCell)
className="cell"
key="0"
>
col1
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="1"
>
col2
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="2"
>
col3
</WithStyles(TableCell)>
</WithStyles(TableRow)>
<WithStyles(TableRow)
className="row"
hover={true}
key="1"
tabIndex={-1}
>
<WithStyles(TableCell)
className="cell"
key="0"
>
col4
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="1"
>
col5
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="2"
>
col6
</WithStyles(TableCell)>
</WithStyles(TableRow)>
<WithStyles(TableRow)
style={
Object {
"height": 240,
}
}
>
<WithStyles(TableCell)
colSpan={6}
/>
</WithStyles(TableRow)>
</WithStyles(TableBody)>
</WithStyles(Table)>
<WithStyles(TablePagination)
component="div"
count={2}
onChangePage={[Function]}
onChangeRowsPerPage={[Function]}
page={0}
rowsPerPage={10}
/>
</div>
`;
exports[`PagedTable sorts on first column descending 1`] = `
<div
className="page"
style={
Object {
"width": "100%",
}
}
>
<WithStyles(Table)
style={
Object {
"display": "block",
"overflow": "auto",
}
}
>
<WithStyles(TableHead)>
<WithStyles(TableRow)>
<WithStyles(TableCell)
className="columnName"
key="0"
sortDirection="desc"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={true}
direction="desc"
onClick={[Function]}
>
field1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="columnName"
key="1"
sortDirection={false}
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={false}
direction="desc"
onClick={[Function]}
>
field2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="columnName"
key="2"
sortDirection={false}
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={false}
direction="desc"
onClick={[Function]}
>
field3
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</WithStyles(TableCell)>
</WithStyles(TableRow)>
</WithStyles(TableHead)>
<WithStyles(TableBody)>
<WithStyles(TableRow)
className="row"
hover={true}
key="0"
tabIndex={-1}
>
<WithStyles(TableCell)
className="cell"
key="0"
>
col4
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="1"
>
col5
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="2"
>
col6
</WithStyles(TableCell)>
</WithStyles(TableRow)>
<WithStyles(TableRow)
className="row"
hover={true}
key="1"
tabIndex={-1}
>
<WithStyles(TableCell)
className="cell"
key="0"
>
col1
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="1"
>
col2
</WithStyles(TableCell)>
<WithStyles(TableCell)
className="cell"
key="2"
>
col3
</WithStyles(TableCell)>
</WithStyles(TableRow)>
<WithStyles(TableRow)
style={
Object {
"height": 240,
}
}
>
<WithStyles(TableCell)
colSpan={6}
/>
</WithStyles(TableRow)>
</WithStyles(TableBody)>
</WithStyles(Table)>
<WithStyles(TablePagination)
component="div"
count={2}
onChangePage={[Function]}
onChangeRowsPerPage={[Function]}
page={0}
rowsPerPage={10}
/>
</div>
`;
| 316 |
0 | kubeflow_public_repos/pipelines/frontend/src/components/viewers | kubeflow_public_repos/pipelines/frontend/src/components/viewers/__snapshots__/MarkdownViewer.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`MarkdownViewer does not break on empty data 1`] = `null`;
exports[`MarkdownViewer renders some basic markdown 1`] = `
<div
class="markdown-viewer"
>
<div>
<h1
id="title"
>
Title
</h1>
<p>
<a
class="link"
href="http://example.com"
rel="noopener"
target="_blank"
>
some link here
</a>
</p>
</div>
</div>
`;
exports[`MarkdownViewer sanitizes the markdown to remove XSS 1`] = `
<div
class="markdown-viewer"
>
<pre>
<code>
lower[click me](javascript:...)lower
upper[click me](javascript:...)upper
</code>
</pre>
</div>
`;
| 317 |
0 | kubeflow_public_repos/pipelines/frontend/src/components/viewers | kubeflow_public_repos/pipelines/frontend/src/components/viewers/__snapshots__/VisualizationCreator.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`VisualizationCreator disables all select and input fields when busy 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={true}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={true}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<BusyButton
busy={true}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator does not render an Editor component if a visualization type is not specified 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator does not render component when no config is provided 1`] = `""`;
exports[`VisualizationCreator renders an Editor component if a visualization type is specified 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
value="ROC_CURVE"
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<div>
<WithStyles(WithFormControlContext(InputLabel))>
Arguments (Optional)
</WithStyles(WithFormControlContext(InputLabel))>
<Editor
cursorStart={1}
editorProps={
Object {
"$blockScrolling": true,
}
}
enableBasicAutocompletion={false}
enableLiveAutocompletion={false}
enableSnippets={false}
focus={false}
fontSize={12}
height="84px"
highlightActiveLine={true}
maxLines={null}
minLines={null}
mode="json"
name="brace-editor"
navigateToFileEnd={true}
onChange={[Function]}
onLoad={null}
onPaste={null}
onScroll={null}
placeholder="{<br>     \\"is_generated\\": boolean | null,<br>     \\"target_lambda\\": string | null,<br>     \\"trueclass\\": string | null,<br>     \\"true_score_column\\": string | null<br> }"
readOnly={false}
scrollMargin={
Array [
0,
0,
0,
0,
]
}
setOptions={Object {}}
showGutter={true}
showPrintMargin={true}
style={Object {}}
tabSize={4}
theme="github"
value=""
width="100%"
wrapEnabled={false}
/>
</div>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator renders component when all parameters in config are provided 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator renders component when empty config is provided 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator renders component when isBusy is not provided 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator renders component when onGenerate is not provided 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator renders the custom type when it is allowed 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="CUSTOM"
value="CUSTOM"
>
CUSTOM
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator renders the provided arguments 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
value="ROC_CURVE"
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<div>
<WithStyles(WithFormControlContext(InputLabel))>
Arguments (Optional)
</WithStyles(WithFormControlContext(InputLabel))>
<Editor
cursorStart={1}
editorProps={
Object {
"$blockScrolling": true,
}
}
enableBasicAutocompletion={false}
enableLiveAutocompletion={false}
enableSnippets={false}
focus={false}
fontSize={12}
height="84px"
highlightActiveLine={true}
maxLines={null}
minLines={null}
mode="json"
name="brace-editor"
navigateToFileEnd={true}
onChange={[Function]}
onLoad={null}
onPaste={null}
onScroll={null}
placeholder="{<br>     \\"is_generated\\": boolean | null,<br>     \\"target_lambda\\": string | null,<br>     \\"trueclass\\": string | null,<br>     \\"true_score_column\\": string | null<br> }"
readOnly={false}
scrollMargin={
Array [
0,
0,
0,
0,
]
}
setOptions={Object {}}
showGutter={true}
showPrintMargin={true}
style={Object {}}
tabSize={4}
theme="github"
value="{\\"is_generated\\":\\"True\\"}"
width="100%"
wrapEnabled={false}
/>
</div>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator renders the selected visualization type 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
value="ROC_CURVE"
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<div>
<WithStyles(WithFormControlContext(InputLabel))>
Arguments (Optional)
</WithStyles(WithFormControlContext(InputLabel))>
<Editor
cursorStart={1}
editorProps={
Object {
"$blockScrolling": true,
}
}
enableBasicAutocompletion={false}
enableLiveAutocompletion={false}
enableSnippets={false}
focus={false}
fontSize={12}
height="84px"
highlightActiveLine={true}
maxLines={null}
minLines={null}
mode="json"
name="brace-editor"
navigateToFileEnd={true}
onChange={[Function]}
onLoad={null}
onPaste={null}
onScroll={null}
placeholder="{<br>     \\"is_generated\\": boolean | null,<br>     \\"target_lambda\\": string | null,<br>     \\"trueclass\\": string | null,<br>     \\"true_score_column\\": string | null<br> }"
readOnly={false}
scrollMargin={
Array [
0,
0,
0,
0,
]
}
setOptions={Object {}}
showGutter={true}
showPrintMargin={true}
style={Object {}}
tabSize={4}
theme="github"
value=""
width="100%"
wrapEnabled={false}
/>
</div>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
exports[`VisualizationCreator renders two Editor components if the CUSTOM visualization type is specified 1`] = `
<div
style={
Object {
"width": 600,
}
}
>
<WithStyles(FormControl)
style={
Object {
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
htmlFor="visualization-type-selector"
>
Type
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(WithFormControlContext(Select))
disabled={false}
inputProps={
Object {
"id": "visualization-type-selector",
"name": "Visualization Type",
}
}
onChange={[Function]}
style={
Object {
"minHeight": 60,
"width": "100%",
}
}
value="CUSTOM"
>
<WithStyles(MenuItem)
key="ROCCURVE"
value="ROC_CURVE"
>
ROC_CURVE
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TFDV"
value="TFDV"
>
TFDV
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="TABLE"
value="TABLE"
>
TABLE
</WithStyles(MenuItem)>
</WithStyles(WithFormControlContext(Select))>
</WithStyles(FormControl)>
<Input
disabled={false}
label="Source"
onChange={[Function]}
placeholder="File path or path pattern of data within GCS."
value=""
variant="outlined"
/>
<div>
<WithStyles(WithFormControlContext(InputLabel))>
Custom Visualization Code
</WithStyles(WithFormControlContext(InputLabel))>
<Editor
cursorStart={1}
editorProps={
Object {
"$blockScrolling": true,
}
}
enableBasicAutocompletion={true}
enableLiveAutocompletion={true}
enableSnippets={false}
focus={false}
fontSize={12}
height="175px"
highlightActiveLine={true}
maxLines={null}
minLines={null}
mode="python"
name="brace-editor"
navigateToFileEnd={true}
onChange={[Function]}
onLoad={null}
onPaste={null}
onScroll={null}
placeholder="Python code that will be run to generate visualization.<br><br>To access the source value (if provided), reference the variable \\"source\\".<br>To access any provided arguments, reference the variable \\"variables\\" (it is a dict object)."
readOnly={false}
scrollMargin={
Array [
0,
0,
0,
0,
]
}
setOptions={Object {}}
showGutter={true}
showPrintMargin={true}
style={Object {}}
tabSize={4}
theme="github"
value=""
width="100%"
wrapEnabled={false}
/>
</div>
<div>
<WithStyles(WithFormControlContext(InputLabel))>
Arguments (Optional)
</WithStyles(WithFormControlContext(InputLabel))>
<Editor
cursorStart={1}
editorProps={
Object {
"$blockScrolling": true,
}
}
enableBasicAutocompletion={false}
enableLiveAutocompletion={false}
enableSnippets={false}
focus={false}
fontSize={12}
height="42px"
highlightActiveLine={true}
maxLines={null}
minLines={null}
mode="json"
name="brace-editor"
navigateToFileEnd={true}
onChange={[Function]}
onLoad={null}
onPaste={null}
onScroll={null}
placeholder="{<br>    \\"key\\": any<br>}"
readOnly={false}
scrollMargin={
Array [
0,
0,
0,
0,
]
}
setOptions={Object {}}
showGutter={true}
showPrintMargin={true}
style={Object {}}
tabSize={4}
theme="github"
value=""
width="100%"
wrapEnabled={false}
/>
</div>
<BusyButton
busy={false}
disabled={true}
onClick={[Function]}
title="Generate Visualization"
/>
</div>
`;
| 318 |
0 | kubeflow_public_repos/pipelines/frontend/src/components/viewers | kubeflow_public_repos/pipelines/frontend/src/components/viewers/__snapshots__/ROCCurve.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ROCCurve does not break on empty data 1`] = `
<div>
<XYPlot
animation={true}
className=""
classes={
Object {
"root": "root",
}
}
height={520}
onMouseLeave={[Function]}
width={800}
xDomain={null}
>
<VerticalGridLines
attr="x"
direction="vertical"
/>
<HorizontalGridLines
attr="y"
direction="horizontal"
/>
<XAxis
attr="x"
attrAxis="y"
className="axis"
orientation="bottom"
title="fpr"
/>
<YAxis
attr="y"
attrAxis="x"
className="axis"
orientation="left"
title="tpr"
/>
<LineSeries
className=""
color="#ddd"
curve={null}
data={
Array [
Object {
"x": 0,
"y": 0,
},
Object {
"x": 0.01,
"y": 0.01,
},
Object {
"x": 0.02,
"y": 0.02,
},
Object {
"x": 0.03,
"y": 0.03,
},
Object {
"x": 0.04,
"y": 0.04,
},
Object {
"x": 0.05,
"y": 0.05,
},
Object {
"x": 0.06,
"y": 0.06,
},
Object {
"x": 0.07,
"y": 0.07,
},
Object {
"x": 0.08,
"y": 0.08,
},
Object {
"x": 0.09,
"y": 0.09,
},
Object {
"x": 0.1,
"y": 0.1,
},
Object {
"x": 0.11,
"y": 0.11,
},
Object {
"x": 0.12,
"y": 0.12,
},
Object {
"x": 0.13,
"y": 0.13,
},
Object {
"x": 0.14,
"y": 0.14,
},
Object {
"x": 0.15,
"y": 0.15,
},
Object {
"x": 0.16,
"y": 0.16,
},
Object {
"x": 0.17,
"y": 0.17,
},
Object {
"x": 0.18,
"y": 0.18,
},
Object {
"x": 0.19,
"y": 0.19,
},
Object {
"x": 0.2,
"y": 0.2,
},
Object {
"x": 0.21,
"y": 0.21,
},
Object {
"x": 0.22,
"y": 0.22,
},
Object {
"x": 0.23,
"y": 0.23,
},
Object {
"x": 0.24,
"y": 0.24,
},
Object {
"x": 0.25,
"y": 0.25,
},
Object {
"x": 0.26,
"y": 0.26,
},
Object {
"x": 0.27,
"y": 0.27,
},
Object {
"x": 0.28,
"y": 0.28,
},
Object {
"x": 0.29,
"y": 0.29,
},
Object {
"x": 0.3,
"y": 0.3,
},
Object {
"x": 0.31,
"y": 0.31,
},
Object {
"x": 0.32,
"y": 0.32,
},
Object {
"x": 0.33,
"y": 0.33,
},
Object {
"x": 0.34,
"y": 0.34,
},
Object {
"x": 0.35,
"y": 0.35,
},
Object {
"x": 0.36,
"y": 0.36,
},
Object {
"x": 0.37,
"y": 0.37,
},
Object {
"x": 0.38,
"y": 0.38,
},
Object {
"x": 0.39,
"y": 0.39,
},
Object {
"x": 0.4,
"y": 0.4,
},
Object {
"x": 0.41,
"y": 0.41,
},
Object {
"x": 0.42,
"y": 0.42,
},
Object {
"x": 0.43,
"y": 0.43,
},
Object {
"x": 0.44,
"y": 0.44,
},
Object {
"x": 0.45,
"y": 0.45,
},
Object {
"x": 0.46,
"y": 0.46,
},
Object {
"x": 0.47,
"y": 0.47,
},
Object {
"x": 0.48,
"y": 0.48,
},
Object {
"x": 0.49,
"y": 0.49,
},
Object {
"x": 0.5,
"y": 0.5,
},
Object {
"x": 0.51,
"y": 0.51,
},
Object {
"x": 0.52,
"y": 0.52,
},
Object {
"x": 0.53,
"y": 0.53,
},
Object {
"x": 0.54,
"y": 0.54,
},
Object {
"x": 0.55,
"y": 0.55,
},
Object {
"x": 0.56,
"y": 0.56,
},
Object {
"x": 0.57,
"y": 0.57,
},
Object {
"x": 0.58,
"y": 0.58,
},
Object {
"x": 0.59,
"y": 0.59,
},
Object {
"x": 0.6,
"y": 0.6,
},
Object {
"x": 0.61,
"y": 0.61,
},
Object {
"x": 0.62,
"y": 0.62,
},
Object {
"x": 0.63,
"y": 0.63,
},
Object {
"x": 0.64,
"y": 0.64,
},
Object {
"x": 0.65,
"y": 0.65,
},
Object {
"x": 0.66,
"y": 0.66,
},
Object {
"x": 0.67,
"y": 0.67,
},
Object {
"x": 0.68,
"y": 0.68,
},
Object {
"x": 0.69,
"y": 0.69,
},
Object {
"x": 0.7,
"y": 0.7,
},
Object {
"x": 0.71,
"y": 0.71,
},
Object {
"x": 0.72,
"y": 0.72,
},
Object {
"x": 0.73,
"y": 0.73,
},
Object {
"x": 0.74,
"y": 0.74,
},
Object {
"x": 0.75,
"y": 0.75,
},
Object {
"x": 0.76,
"y": 0.76,
},
Object {
"x": 0.77,
"y": 0.77,
},
Object {
"x": 0.78,
"y": 0.78,
},
Object {
"x": 0.79,
"y": 0.79,
},
Object {
"x": 0.8,
"y": 0.8,
},
Object {
"x": 0.81,
"y": 0.81,
},
Object {
"x": 0.82,
"y": 0.82,
},
Object {
"x": 0.83,
"y": 0.83,
},
Object {
"x": 0.84,
"y": 0.84,
},
Object {
"x": 0.85,
"y": 0.85,
},
Object {
"x": 0.86,
"y": 0.86,
},
Object {
"x": 0.87,
"y": 0.87,
},
Object {
"x": 0.88,
"y": 0.88,
},
Object {
"x": 0.89,
"y": 0.89,
},
Object {
"x": 0.9,
"y": 0.9,
},
Object {
"x": 0.91,
"y": 0.91,
},
Object {
"x": 0.92,
"y": 0.92,
},
Object {
"x": 0.93,
"y": 0.93,
},
Object {
"x": 0.94,
"y": 0.94,
},
Object {
"x": 0.95,
"y": 0.95,
},
Object {
"x": 0.96,
"y": 0.96,
},
Object {
"x": 0.97,
"y": 0.97,
},
Object {
"x": 0.98,
"y": 0.98,
},
Object {
"x": 0.99,
"y": 0.99,
},
]
}
getNull={[Function]}
opacity={1}
stack={false}
strokeStyle="dashed"
strokeWidth={1}
style={Object {}}
/>
<LineSeries
className=""
color="#4285f4"
curve="curveBasis"
data={Array []}
getNull={[Function]}
key="0"
onNearestX={[Function]}
opacity={1}
stack={false}
strokeStyle="solid"
strokeWidth={2}
style={Object {}}
/>
<HighlightOverlay
className=""
color="rgb(77, 182, 172)"
enableX={true}
enableY={false}
onBrushEnd={[Function]}
onDrag={[Function]}
opacity={0.3}
/>
<Crosshair
itemsFormat={[Function]}
style={
Object {
"box": Object {},
"line": Object {},
"title": Object {},
}
}
titleFormat={[Function]}
values={
Array [
"",
]
}
>
<div
className="crosshair"
>
<div
className="crosshairLabel"
key="0"
>
threshold (Series #1): undefined
</div>
</div>
</Crosshair>
</XYPlot>
<div
className="flex"
/>
</div>
`;
exports[`ROCCurve does not break on no config 1`] = `
<div>
<XYPlot
animation={true}
className=""
classes={
Object {
"root": "root",
}
}
height={520}
onMouseLeave={[Function]}
width={800}
xDomain={null}
>
<VerticalGridLines
attr="x"
direction="vertical"
/>
<HorizontalGridLines
attr="y"
direction="horizontal"
/>
<XAxis
attr="x"
attrAxis="y"
className="axis"
orientation="bottom"
title="fpr"
/>
<YAxis
attr="y"
attrAxis="x"
className="axis"
orientation="left"
title="tpr"
/>
<LineSeries
className=""
color="#ddd"
curve={null}
data={
Array [
Object {
"x": 0,
"y": 0,
},
Object {
"x": 0.01,
"y": 0.01,
},
Object {
"x": 0.02,
"y": 0.02,
},
Object {
"x": 0.03,
"y": 0.03,
},
Object {
"x": 0.04,
"y": 0.04,
},
Object {
"x": 0.05,
"y": 0.05,
},
Object {
"x": 0.06,
"y": 0.06,
},
Object {
"x": 0.07,
"y": 0.07,
},
Object {
"x": 0.08,
"y": 0.08,
},
Object {
"x": 0.09,
"y": 0.09,
},
Object {
"x": 0.1,
"y": 0.1,
},
Object {
"x": 0.11,
"y": 0.11,
},
Object {
"x": 0.12,
"y": 0.12,
},
Object {
"x": 0.13,
"y": 0.13,
},
Object {
"x": 0.14,
"y": 0.14,
},
Object {
"x": 0.15,
"y": 0.15,
},
Object {
"x": 0.16,
"y": 0.16,
},
Object {
"x": 0.17,
"y": 0.17,
},
Object {
"x": 0.18,
"y": 0.18,
},
Object {
"x": 0.19,
"y": 0.19,
},
Object {
"x": 0.2,
"y": 0.2,
},
Object {
"x": 0.21,
"y": 0.21,
},
Object {
"x": 0.22,
"y": 0.22,
},
Object {
"x": 0.23,
"y": 0.23,
},
Object {
"x": 0.24,
"y": 0.24,
},
Object {
"x": 0.25,
"y": 0.25,
},
Object {
"x": 0.26,
"y": 0.26,
},
Object {
"x": 0.27,
"y": 0.27,
},
Object {
"x": 0.28,
"y": 0.28,
},
Object {
"x": 0.29,
"y": 0.29,
},
Object {
"x": 0.3,
"y": 0.3,
},
Object {
"x": 0.31,
"y": 0.31,
},
Object {
"x": 0.32,
"y": 0.32,
},
Object {
"x": 0.33,
"y": 0.33,
},
Object {
"x": 0.34,
"y": 0.34,
},
Object {
"x": 0.35,
"y": 0.35,
},
Object {
"x": 0.36,
"y": 0.36,
},
Object {
"x": 0.37,
"y": 0.37,
},
Object {
"x": 0.38,
"y": 0.38,
},
Object {
"x": 0.39,
"y": 0.39,
},
Object {
"x": 0.4,
"y": 0.4,
},
Object {
"x": 0.41,
"y": 0.41,
},
Object {
"x": 0.42,
"y": 0.42,
},
Object {
"x": 0.43,
"y": 0.43,
},
Object {
"x": 0.44,
"y": 0.44,
},
Object {
"x": 0.45,
"y": 0.45,
},
Object {
"x": 0.46,
"y": 0.46,
},
Object {
"x": 0.47,
"y": 0.47,
},
Object {
"x": 0.48,
"y": 0.48,
},
Object {
"x": 0.49,
"y": 0.49,
},
Object {
"x": 0.5,
"y": 0.5,
},
Object {
"x": 0.51,
"y": 0.51,
},
Object {
"x": 0.52,
"y": 0.52,
},
Object {
"x": 0.53,
"y": 0.53,
},
Object {
"x": 0.54,
"y": 0.54,
},
Object {
"x": 0.55,
"y": 0.55,
},
Object {
"x": 0.56,
"y": 0.56,
},
Object {
"x": 0.57,
"y": 0.57,
},
Object {
"x": 0.58,
"y": 0.58,
},
Object {
"x": 0.59,
"y": 0.59,
},
Object {
"x": 0.6,
"y": 0.6,
},
Object {
"x": 0.61,
"y": 0.61,
},
Object {
"x": 0.62,
"y": 0.62,
},
Object {
"x": 0.63,
"y": 0.63,
},
Object {
"x": 0.64,
"y": 0.64,
},
Object {
"x": 0.65,
"y": 0.65,
},
Object {
"x": 0.66,
"y": 0.66,
},
Object {
"x": 0.67,
"y": 0.67,
},
Object {
"x": 0.68,
"y": 0.68,
},
Object {
"x": 0.69,
"y": 0.69,
},
Object {
"x": 0.7,
"y": 0.7,
},
Object {
"x": 0.71,
"y": 0.71,
},
Object {
"x": 0.72,
"y": 0.72,
},
Object {
"x": 0.73,
"y": 0.73,
},
Object {
"x": 0.74,
"y": 0.74,
},
Object {
"x": 0.75,
"y": 0.75,
},
Object {
"x": 0.76,
"y": 0.76,
},
Object {
"x": 0.77,
"y": 0.77,
},
Object {
"x": 0.78,
"y": 0.78,
},
Object {
"x": 0.79,
"y": 0.79,
},
Object {
"x": 0.8,
"y": 0.8,
},
Object {
"x": 0.81,
"y": 0.81,
},
Object {
"x": 0.82,
"y": 0.82,
},
Object {
"x": 0.83,
"y": 0.83,
},
Object {
"x": 0.84,
"y": 0.84,
},
Object {
"x": 0.85,
"y": 0.85,
},
Object {
"x": 0.86,
"y": 0.86,
},
Object {
"x": 0.87,
"y": 0.87,
},
Object {
"x": 0.88,
"y": 0.88,
},
Object {
"x": 0.89,
"y": 0.89,
},
Object {
"x": 0.9,
"y": 0.9,
},
Object {
"x": 0.91,
"y": 0.91,
},
Object {
"x": 0.92,
"y": 0.92,
},
Object {
"x": 0.93,
"y": 0.93,
},
Object {
"x": 0.94,
"y": 0.94,
},
Object {
"x": 0.95,
"y": 0.95,
},
Object {
"x": 0.96,
"y": 0.96,
},
Object {
"x": 0.97,
"y": 0.97,
},
Object {
"x": 0.98,
"y": 0.98,
},
Object {
"x": 0.99,
"y": 0.99,
},
]
}
getNull={[Function]}
opacity={1}
stack={false}
strokeStyle="dashed"
strokeWidth={1}
style={Object {}}
/>
<HighlightOverlay
className=""
color="rgb(77, 182, 172)"
enableX={true}
enableY={false}
onBrushEnd={[Function]}
onDrag={[Function]}
opacity={0.3}
/>
<Crosshair
itemsFormat={[Function]}
style={
Object {
"box": Object {},
"line": Object {},
"title": Object {},
}
}
titleFormat={[Function]}
values={Array []}
>
<div
className="crosshair"
/>
</Crosshair>
</XYPlot>
<div
className="flex"
/>
</div>
`;
exports[`ROCCurve renders a simple ROC curve given one config 1`] = `
<div>
<XYPlot
animation={true}
className=""
classes={
Object {
"root": "root",
}
}
height={520}
onMouseLeave={[Function]}
width={800}
xDomain={null}
>
<VerticalGridLines
attr="x"
direction="vertical"
/>
<HorizontalGridLines
attr="y"
direction="horizontal"
/>
<XAxis
attr="x"
attrAxis="y"
className="axis"
orientation="bottom"
title="fpr"
/>
<YAxis
attr="y"
attrAxis="x"
className="axis"
orientation="left"
title="tpr"
/>
<LineSeries
className=""
color="#ddd"
curve={null}
data={
Array [
Object {
"x": 0,
"y": 0,
},
Object {
"x": 0.01,
"y": 0.01,
},
Object {
"x": 0.02,
"y": 0.02,
},
Object {
"x": 0.03,
"y": 0.03,
},
Object {
"x": 0.04,
"y": 0.04,
},
Object {
"x": 0.05,
"y": 0.05,
},
Object {
"x": 0.06,
"y": 0.06,
},
Object {
"x": 0.07,
"y": 0.07,
},
Object {
"x": 0.08,
"y": 0.08,
},
Object {
"x": 0.09,
"y": 0.09,
},
Object {
"x": 0.1,
"y": 0.1,
},
Object {
"x": 0.11,
"y": 0.11,
},
Object {
"x": 0.12,
"y": 0.12,
},
Object {
"x": 0.13,
"y": 0.13,
},
Object {
"x": 0.14,
"y": 0.14,
},
Object {
"x": 0.15,
"y": 0.15,
},
Object {
"x": 0.16,
"y": 0.16,
},
Object {
"x": 0.17,
"y": 0.17,
},
Object {
"x": 0.18,
"y": 0.18,
},
Object {
"x": 0.19,
"y": 0.19,
},
Object {
"x": 0.2,
"y": 0.2,
},
Object {
"x": 0.21,
"y": 0.21,
},
Object {
"x": 0.22,
"y": 0.22,
},
Object {
"x": 0.23,
"y": 0.23,
},
Object {
"x": 0.24,
"y": 0.24,
},
Object {
"x": 0.25,
"y": 0.25,
},
Object {
"x": 0.26,
"y": 0.26,
},
Object {
"x": 0.27,
"y": 0.27,
},
Object {
"x": 0.28,
"y": 0.28,
},
Object {
"x": 0.29,
"y": 0.29,
},
Object {
"x": 0.3,
"y": 0.3,
},
Object {
"x": 0.31,
"y": 0.31,
},
Object {
"x": 0.32,
"y": 0.32,
},
Object {
"x": 0.33,
"y": 0.33,
},
Object {
"x": 0.34,
"y": 0.34,
},
Object {
"x": 0.35,
"y": 0.35,
},
Object {
"x": 0.36,
"y": 0.36,
},
Object {
"x": 0.37,
"y": 0.37,
},
Object {
"x": 0.38,
"y": 0.38,
},
Object {
"x": 0.39,
"y": 0.39,
},
Object {
"x": 0.4,
"y": 0.4,
},
Object {
"x": 0.41,
"y": 0.41,
},
Object {
"x": 0.42,
"y": 0.42,
},
Object {
"x": 0.43,
"y": 0.43,
},
Object {
"x": 0.44,
"y": 0.44,
},
Object {
"x": 0.45,
"y": 0.45,
},
Object {
"x": 0.46,
"y": 0.46,
},
Object {
"x": 0.47,
"y": 0.47,
},
Object {
"x": 0.48,
"y": 0.48,
},
Object {
"x": 0.49,
"y": 0.49,
},
Object {
"x": 0.5,
"y": 0.5,
},
Object {
"x": 0.51,
"y": 0.51,
},
Object {
"x": 0.52,
"y": 0.52,
},
Object {
"x": 0.53,
"y": 0.53,
},
Object {
"x": 0.54,
"y": 0.54,
},
Object {
"x": 0.55,
"y": 0.55,
},
Object {
"x": 0.56,
"y": 0.56,
},
Object {
"x": 0.57,
"y": 0.57,
},
Object {
"x": 0.58,
"y": 0.58,
},
Object {
"x": 0.59,
"y": 0.59,
},
Object {
"x": 0.6,
"y": 0.6,
},
Object {
"x": 0.61,
"y": 0.61,
},
Object {
"x": 0.62,
"y": 0.62,
},
Object {
"x": 0.63,
"y": 0.63,
},
Object {
"x": 0.64,
"y": 0.64,
},
Object {
"x": 0.65,
"y": 0.65,
},
Object {
"x": 0.66,
"y": 0.66,
},
Object {
"x": 0.67,
"y": 0.67,
},
Object {
"x": 0.68,
"y": 0.68,
},
Object {
"x": 0.69,
"y": 0.69,
},
Object {
"x": 0.7,
"y": 0.7,
},
Object {
"x": 0.71,
"y": 0.71,
},
Object {
"x": 0.72,
"y": 0.72,
},
Object {
"x": 0.73,
"y": 0.73,
},
Object {
"x": 0.74,
"y": 0.74,
},
Object {
"x": 0.75,
"y": 0.75,
},
Object {
"x": 0.76,
"y": 0.76,
},
Object {
"x": 0.77,
"y": 0.77,
},
Object {
"x": 0.78,
"y": 0.78,
},
Object {
"x": 0.79,
"y": 0.79,
},
Object {
"x": 0.8,
"y": 0.8,
},
Object {
"x": 0.81,
"y": 0.81,
},
Object {
"x": 0.82,
"y": 0.82,
},
Object {
"x": 0.83,
"y": 0.83,
},
Object {
"x": 0.84,
"y": 0.84,
},
Object {
"x": 0.85,
"y": 0.85,
},
Object {
"x": 0.86,
"y": 0.86,
},
Object {
"x": 0.87,
"y": 0.87,
},
Object {
"x": 0.88,
"y": 0.88,
},
Object {
"x": 0.89,
"y": 0.89,
},
Object {
"x": 0.9,
"y": 0.9,
},
Object {
"x": 0.91,
"y": 0.91,
},
Object {
"x": 0.92,
"y": 0.92,
},
Object {
"x": 0.93,
"y": 0.93,
},
Object {
"x": 0.94,
"y": 0.94,
},
Object {
"x": 0.95,
"y": 0.95,
},
Object {
"x": 0.96,
"y": 0.96,
},
Object {
"x": 0.97,
"y": 0.97,
},
Object {
"x": 0.98,
"y": 0.98,
},
Object {
"x": 0.99,
"y": 0.99,
},
]
}
getNull={[Function]}
opacity={1}
stack={false}
strokeStyle="dashed"
strokeWidth={1}
style={Object {}}
/>
<LineSeries
className=""
color="#4285f4"
curve="curveBasis"
data={
Array [
Object {
"label": "1",
"x": 0,
"y": 0,
},
Object {
"label": "2",
"x": 0.2,
"y": 0.3,
},
Object {
"label": "3",
"x": 0.5,
"y": 0.7,
},
Object {
"label": "4",
"x": 0.9,
"y": 0.9,
},
Object {
"label": "5",
"x": 1,
"y": 1,
},
]
}
getNull={[Function]}
key="0"
onNearestX={[Function]}
opacity={1}
stack={false}
strokeStyle="solid"
strokeWidth={2}
style={Object {}}
/>
<HighlightOverlay
className=""
color="rgb(77, 182, 172)"
enableX={true}
enableY={false}
onBrushEnd={[Function]}
onDrag={[Function]}
opacity={0.3}
/>
<Crosshair
itemsFormat={[Function]}
style={
Object {
"box": Object {},
"line": Object {},
"title": Object {},
}
}
titleFormat={[Function]}
values={
Array [
"",
]
}
>
<div
className="crosshair"
>
<div
className="crosshairLabel"
key="0"
>
threshold (Series #1): undefined
</div>
</div>
</Crosshair>
</XYPlot>
<div
className="flex"
/>
</div>
`;
exports[`ROCCurve renders an ROC curve using three configs 1`] = `
<div>
<XYPlot
animation={true}
className=""
classes={
Object {
"root": "root",
}
}
height={520}
onMouseLeave={[Function]}
width={800}
xDomain={null}
>
<VerticalGridLines
attr="x"
direction="vertical"
/>
<HorizontalGridLines
attr="y"
direction="horizontal"
/>
<XAxis
attr="x"
attrAxis="y"
className="axis"
orientation="bottom"
title="fpr"
/>
<YAxis
attr="y"
attrAxis="x"
className="axis"
orientation="left"
title="tpr"
/>
<LineSeries
className=""
color="#ddd"
curve={null}
data={
Array [
Object {
"x": 0,
"y": 0,
},
Object {
"x": 0.01,
"y": 0.01,
},
Object {
"x": 0.02,
"y": 0.02,
},
Object {
"x": 0.03,
"y": 0.03,
},
Object {
"x": 0.04,
"y": 0.04,
},
Object {
"x": 0.05,
"y": 0.05,
},
Object {
"x": 0.06,
"y": 0.06,
},
Object {
"x": 0.07,
"y": 0.07,
},
Object {
"x": 0.08,
"y": 0.08,
},
Object {
"x": 0.09,
"y": 0.09,
},
Object {
"x": 0.1,
"y": 0.1,
},
Object {
"x": 0.11,
"y": 0.11,
},
Object {
"x": 0.12,
"y": 0.12,
},
Object {
"x": 0.13,
"y": 0.13,
},
Object {
"x": 0.14,
"y": 0.14,
},
Object {
"x": 0.15,
"y": 0.15,
},
Object {
"x": 0.16,
"y": 0.16,
},
Object {
"x": 0.17,
"y": 0.17,
},
Object {
"x": 0.18,
"y": 0.18,
},
Object {
"x": 0.19,
"y": 0.19,
},
Object {
"x": 0.2,
"y": 0.2,
},
Object {
"x": 0.21,
"y": 0.21,
},
Object {
"x": 0.22,
"y": 0.22,
},
Object {
"x": 0.23,
"y": 0.23,
},
Object {
"x": 0.24,
"y": 0.24,
},
Object {
"x": 0.25,
"y": 0.25,
},
Object {
"x": 0.26,
"y": 0.26,
},
Object {
"x": 0.27,
"y": 0.27,
},
Object {
"x": 0.28,
"y": 0.28,
},
Object {
"x": 0.29,
"y": 0.29,
},
Object {
"x": 0.3,
"y": 0.3,
},
Object {
"x": 0.31,
"y": 0.31,
},
Object {
"x": 0.32,
"y": 0.32,
},
Object {
"x": 0.33,
"y": 0.33,
},
Object {
"x": 0.34,
"y": 0.34,
},
Object {
"x": 0.35,
"y": 0.35,
},
Object {
"x": 0.36,
"y": 0.36,
},
Object {
"x": 0.37,
"y": 0.37,
},
Object {
"x": 0.38,
"y": 0.38,
},
Object {
"x": 0.39,
"y": 0.39,
},
Object {
"x": 0.4,
"y": 0.4,
},
Object {
"x": 0.41,
"y": 0.41,
},
Object {
"x": 0.42,
"y": 0.42,
},
Object {
"x": 0.43,
"y": 0.43,
},
Object {
"x": 0.44,
"y": 0.44,
},
Object {
"x": 0.45,
"y": 0.45,
},
Object {
"x": 0.46,
"y": 0.46,
},
Object {
"x": 0.47,
"y": 0.47,
},
Object {
"x": 0.48,
"y": 0.48,
},
Object {
"x": 0.49,
"y": 0.49,
},
Object {
"x": 0.5,
"y": 0.5,
},
Object {
"x": 0.51,
"y": 0.51,
},
Object {
"x": 0.52,
"y": 0.52,
},
Object {
"x": 0.53,
"y": 0.53,
},
Object {
"x": 0.54,
"y": 0.54,
},
Object {
"x": 0.55,
"y": 0.55,
},
Object {
"x": 0.56,
"y": 0.56,
},
Object {
"x": 0.57,
"y": 0.57,
},
Object {
"x": 0.58,
"y": 0.58,
},
Object {
"x": 0.59,
"y": 0.59,
},
Object {
"x": 0.6,
"y": 0.6,
},
Object {
"x": 0.61,
"y": 0.61,
},
Object {
"x": 0.62,
"y": 0.62,
},
Object {
"x": 0.63,
"y": 0.63,
},
Object {
"x": 0.64,
"y": 0.64,
},
Object {
"x": 0.65,
"y": 0.65,
},
Object {
"x": 0.66,
"y": 0.66,
},
Object {
"x": 0.67,
"y": 0.67,
},
Object {
"x": 0.68,
"y": 0.68,
},
Object {
"x": 0.69,
"y": 0.69,
},
Object {
"x": 0.7,
"y": 0.7,
},
Object {
"x": 0.71,
"y": 0.71,
},
Object {
"x": 0.72,
"y": 0.72,
},
Object {
"x": 0.73,
"y": 0.73,
},
Object {
"x": 0.74,
"y": 0.74,
},
Object {
"x": 0.75,
"y": 0.75,
},
Object {
"x": 0.76,
"y": 0.76,
},
Object {
"x": 0.77,
"y": 0.77,
},
Object {
"x": 0.78,
"y": 0.78,
},
Object {
"x": 0.79,
"y": 0.79,
},
Object {
"x": 0.8,
"y": 0.8,
},
Object {
"x": 0.81,
"y": 0.81,
},
Object {
"x": 0.82,
"y": 0.82,
},
Object {
"x": 0.83,
"y": 0.83,
},
Object {
"x": 0.84,
"y": 0.84,
},
Object {
"x": 0.85,
"y": 0.85,
},
Object {
"x": 0.86,
"y": 0.86,
},
Object {
"x": 0.87,
"y": 0.87,
},
Object {
"x": 0.88,
"y": 0.88,
},
Object {
"x": 0.89,
"y": 0.89,
},
Object {
"x": 0.9,
"y": 0.9,
},
Object {
"x": 0.91,
"y": 0.91,
},
Object {
"x": 0.92,
"y": 0.92,
},
Object {
"x": 0.93,
"y": 0.93,
},
Object {
"x": 0.94,
"y": 0.94,
},
Object {
"x": 0.95,
"y": 0.95,
},
Object {
"x": 0.96,
"y": 0.96,
},
Object {
"x": 0.97,
"y": 0.97,
},
Object {
"x": 0.98,
"y": 0.98,
},
Object {
"x": 0.99,
"y": 0.99,
},
]
}
getNull={[Function]}
opacity={1}
stack={false}
strokeStyle="dashed"
strokeWidth={1}
style={Object {}}
/>
<LineSeries
className=""
color="#4285f4"
curve="curveBasis"
data={
Array [
Object {
"label": "1",
"x": 0,
"y": 0,
},
Object {
"label": "2",
"x": 0.2,
"y": 0.3,
},
Object {
"label": "3",
"x": 0.5,
"y": 0.7,
},
Object {
"label": "4",
"x": 0.9,
"y": 0.9,
},
Object {
"label": "5",
"x": 1,
"y": 1,
},
]
}
getNull={[Function]}
key="0"
onNearestX={[Function]}
opacity={1}
stack={false}
strokeStyle="solid"
strokeWidth={2}
style={Object {}}
/>
<LineSeries
className=""
color="#2b9c1e"
curve="curveBasis"
data={
Array [
Object {
"label": "1",
"x": 0,
"y": 0,
},
Object {
"label": "2",
"x": 0.2,
"y": 0.3,
},
Object {
"label": "3",
"x": 0.5,
"y": 0.7,
},
Object {
"label": "4",
"x": 0.9,
"y": 0.9,
},
Object {
"label": "5",
"x": 1,
"y": 1,
},
]
}
getNull={[Function]}
key="1"
onNearestX={[Function]}
opacity={1}
stack={false}
strokeStyle="solid"
strokeWidth={2}
style={Object {}}
/>
<LineSeries
className=""
color="#e00000"
curve="curveBasis"
data={
Array [
Object {
"label": "1",
"x": 0,
"y": 0,
},
Object {
"label": "2",
"x": 0.2,
"y": 0.3,
},
Object {
"label": "3",
"x": 0.5,
"y": 0.7,
},
Object {
"label": "4",
"x": 0.9,
"y": 0.9,
},
Object {
"label": "5",
"x": 1,
"y": 1,
},
]
}
getNull={[Function]}
key="2"
onNearestX={[Function]}
opacity={1}
stack={false}
strokeStyle="solid"
strokeWidth={2}
style={Object {}}
/>
<HighlightOverlay
className=""
color="rgb(77, 182, 172)"
enableX={true}
enableY={false}
onBrushEnd={[Function]}
onDrag={[Function]}
opacity={0.3}
/>
<Crosshair
itemsFormat={[Function]}
style={
Object {
"box": Object {},
"line": Object {},
"title": Object {},
}
}
titleFormat={[Function]}
values={
Array [
"",
"",
"",
]
}
>
<div
className="crosshair"
>
<div
className="crosshairLabel"
key="0"
>
threshold (Series #1): undefined
</div>
<div
className="crosshairLabel"
key="1"
>
threshold (Series #2): undefined
</div>
<div
className="crosshairLabel"
key="2"
>
threshold (Series #3): undefined
</div>
</div>
</Crosshair>
</XYPlot>
<div
className="flex"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<DiscreteColorLegendItem
className=""
colors={
Array [
"#12939A",
"#79C7E3",
"#1A3177",
"#FF9833",
"#EF5D28",
]
}
items={
Array [
Object {
"color": "#4285f4",
"title": "Series #1",
},
Object {
"color": "#2b9c1e",
"title": "Series #2",
},
Object {
"color": "#e00000",
"title": "Series #3",
},
]
}
onItemMouseEnter={[Function]}
onItemMouseLeave={[Function]}
orientation="horizontal"
/>
</div>
</div>
</div>
`;
| 319 |
0 | kubeflow_public_repos/pipelines/frontend/src/components/viewers | kubeflow_public_repos/pipelines/frontend/src/components/viewers/__snapshots__/ViewerContainer.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ViewerContainer does not break on empty configs 1`] = `""`;
exports[`ViewerContainer renders a viewer of type CONFUSION_MATRIX 1`] = `
<ConfusionMatrix
configs={
Array [
Object {
"type": "confusion_matrix",
},
]
}
/>
`;
exports[`ViewerContainer renders a viewer of type MARKDOWN 1`] = `
<MarkdownViewer
configs={
Array [
Object {
"type": "markdown",
},
]
}
/>
`;
exports[`ViewerContainer renders a viewer of type ROC 1`] = `
<ROCCurve
configs={
Array [
Object {
"type": "roc",
},
]
}
/>
`;
exports[`ViewerContainer renders a viewer of type TABLE 1`] = `
<PagedTable
configs={
Array [
Object {
"type": "table",
},
]
}
/>
`;
exports[`ViewerContainer renders a viewer of type TENSORBOARD 1`] = `
<TensorboardViewer
configs={
Array [
Object {
"type": "tensorboard",
},
]
}
/>
`;
exports[`ViewerContainer renders a viewer of type VISUALIZATION_CREATOR 1`] = `
<VisualizationCreator
configs={
Array [
Object {
"type": "visualization-creator",
},
]
}
/>
`;
exports[`ViewerContainer renders a viewer of type WEB_APP 1`] = `
<HTMLViewer
configs={
Array [
Object {
"type": "web-app",
},
]
}
/>
`;
| 320 |
0 | kubeflow_public_repos/pipelines/frontend/src/components/viewers | kubeflow_public_repos/pipelines/frontend/src/components/viewers/__snapshots__/HTMLViewer.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`HTMLViewer does not break on empty data 1`] = `
<HTMLViewer
configs={Array []}
/>
`;
exports[`HTMLViewer renders a smaller snapshot version 1`] = `
<HTMLViewer
configs={
Array [
Object {
"htmlContent": "<html><body><div>Hello World!</div></body></html>",
"type": "web-app",
},
]
}
maxDimension={100}
>
<iframe
className="iframe"
sandbox="allow-scripts"
src="about:blank"
/>
</HTMLViewer>
`;
exports[`HTMLViewer renders some basic HTML 1`] = `
<HTMLViewer
configs={
Array [
Object {
"htmlContent": "<html><body><div>Hello World!</div></body></html>",
"type": "web-app",
},
]
}
>
<iframe
className="iframe"
sandbox="allow-scripts"
src="about:blank"
/>
</HTMLViewer>
`;
| 321 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/SideNav.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`SideNav display the correct GKE metadata 1`] = `
<SideNav
buildInfo={Object {}}
gkeMetadata={
Object {
"clusterName": "some-cluster-name",
"projectId": "some-project-id",
}
}
history={Object {}}
page="/pipelines"
>
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Pipeline List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="pipelinesBtn"
replace={false}
title={null}
to="/pipelines"
>
<a
aria-describedby={null}
className="unstyled"
href="/pipelines"
id="pipelinesBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button active"
>
<Button
className="button active"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-89",
"contained": "MuiButton-contained-79",
"containedPrimary": "MuiButton-containedPrimary-80",
"containedSecondary": "MuiButton-containedSecondary-81",
"disabled": "MuiButton-disabled-88",
"extendedFab": "MuiButton-extendedFab-86",
"fab": "MuiButton-fab-85",
"flat": "MuiButton-flat-73",
"flatPrimary": "MuiButton-flatPrimary-74",
"flatSecondary": "MuiButton-flatSecondary-75",
"focusVisible": "MuiButton-focusVisible-87",
"fullWidth": "MuiButton-fullWidth-93",
"label": "MuiButton-label-69",
"mini": "MuiButton-mini-90",
"outlined": "MuiButton-outlined-76",
"outlinedPrimary": "MuiButton-outlinedPrimary-77",
"outlinedSecondary": "MuiButton-outlinedSecondary-78",
"raised": "MuiButton-raised-82",
"raisedPrimary": "MuiButton-raisedPrimary-83",
"raisedSecondary": "MuiButton-raisedSecondary-84",
"root": "MuiButton-root-68",
"sizeLarge": "MuiButton-sizeLarge-92",
"sizeSmall": "MuiButton-sizeSmall-91",
"text": "MuiButton-text-70",
"textPrimary": "MuiButton-textPrimary-71",
"textSecondary": "MuiButton-textSecondary-72",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button active"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button active"
classes={
Object {
"disabled": "MuiButtonBase-disabled-95",
"focusVisible": "MuiButtonBase-focusVisible-96",
"root": "MuiButtonBase-root-94",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button active"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-69"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#0d6de7"
>
<svg
height="20px"
version="1.1"
viewBox="0 0 20 20"
width="20px"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<g
fill="none"
fillRule="evenodd"
id="Symbols"
stroke="none"
strokeWidth="1"
>
<g
transform="translate(-2.000000, -4.000000)"
>
<polygon
id="Shape"
points="0 0 24 0 24 24 0 24"
/>
<path
d="M12.7244079,9.74960425 L17.4807112,9.74960425 C17.7675226,9.74960425 18,9.51894323 18,9.23437272 L18,4.51523153 C18,4.23066102 17.7675226,4 17.4807112,4 L12.7244079,4 C12.4375965,4 12.2051191,4.23066102 12.2051191,4.51523153 L12.2051191,6.06125154 L9.98218019,6.06125154 C9.52936032,6.06125154 9.16225043,6.42549311 9.16225043,6.87477501 L9.16225043,11.2135669 L7.05995053,11.2135669 C6.71661861,10.189612 5.74374462,9.45093267 4.59644424,9.45093267 C3.16249641,9.45093267 2,10.6043462 2,12.0270903 C2,13.4498886 3.16249641,14.603248 4.59644424,14.603248 C5.74379928,14.603248 6.71661861,13.8645687 7.06000519,12.8406138 L9.16225043,12.8406138 L9.16225043,17.1794057 C9.16225043,17.6286875 9.52936032,17.9929291 9.98218019,17.9929291 L12.2051191,17.9929291 L12.2051191,19.4847685 C12.2051191,19.769339 12.4375965,20 12.7244079,20 L17.4807112,20 C17.7675226,20 18,19.769339 18,19.4847685 L18,14.7656273 C18,14.4810568 17.7675226,14.2503957 17.4807112,14.2503957 L12.7244079,14.2503957 C12.4375965,14.2503957 12.2051191,14.4810568 12.2051191,14.7656273 L12.2051191,16.3658822 L10.80211,16.3658822 L10.80211,7.68829848 L12.2051191,7.68829848 L12.2051191,9.23437272 C12.2051191,9.51894323 12.4375965,9.74960425 12.7244079,9.74960425 Z"
fill="#0d6de7"
id="Path"
/>
</g>
</g>
</svg>
</PipelinesIcon>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-116",
"childLeaving": "MuiTouchRipple-childLeaving-117",
"childPulsate": "MuiTouchRipple-childPulsate-118",
"ripple": "MuiTouchRipple-ripple-113",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-115",
"rippleVisible": "MuiTouchRipple-rippleVisible-114",
"root": "MuiTouchRipple-root-112",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-112"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-112"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/pipelines"
id="pipelinesBtn"
>
<button
class="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button active"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-69"
>
<div
class="flex flex-row flex-shrink-0"
>
<div
class="alignItems"
>
<svg
height="20px"
version="1.1"
viewBox="0 0 20 20"
width="20px"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<g
fill="none"
fill-rule="evenodd"
id="Symbols"
stroke="none"
stroke-width="1"
>
<g
transform="translate(-2.000000, -4.000000)"
>
<polygon
id="Shape"
points="0 0 24 0 24 24 0 24"
/>
<path
d="M12.7244079,9.74960425 L17.4807112,9.74960425 C17.7675226,9.74960425 18,9.51894323 18,9.23437272 L18,4.51523153 C18,4.23066102 17.7675226,4 17.4807112,4 L12.7244079,4 C12.4375965,4 12.2051191,4.23066102 12.2051191,4.51523153 L12.2051191,6.06125154 L9.98218019,6.06125154 C9.52936032,6.06125154 9.16225043,6.42549311 9.16225043,6.87477501 L9.16225043,11.2135669 L7.05995053,11.2135669 C6.71661861,10.189612 5.74374462,9.45093267 4.59644424,9.45093267 C3.16249641,9.45093267 2,10.6043462 2,12.0270903 C2,13.4498886 3.16249641,14.603248 4.59644424,14.603248 C5.74379928,14.603248 6.71661861,13.8645687 7.06000519,12.8406138 L9.16225043,12.8406138 L9.16225043,17.1794057 C9.16225043,17.6286875 9.52936032,17.9929291 9.98218019,17.9929291 L12.2051191,17.9929291 L12.2051191,19.4847685 C12.2051191,19.769339 12.4375965,20 12.7244079,20 L17.4807112,20 C17.7675226,20 18,19.769339 18,19.4847685 L18,14.7656273 C18,14.4810568 17.7675226,14.2503957 17.4807112,14.2503957 L12.7244079,14.2503957 C12.4375965,14.2503957 12.2051191,14.4810568 12.2051191,14.7656273 L12.2051191,16.3658822 L10.80211,16.3658822 L10.80211,7.68829848 L12.2051191,7.68829848 L12.2051191,9.23437272 C12.2051191,9.51894323 12.4375965,9.74960425 12.7244079,9.74960425 Z"
fill="#0d6de7"
id="Path"
/>
</g>
</g>
</svg>
</div>
<span
class="label"
>
Pipelines
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-112"
/>
</button>
</a>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Experiment List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="experimentsBtn"
replace={false}
title={null}
to="/experiments"
>
<a
aria-describedby={null}
className="unstyled"
href="/experiments"
id="experimentsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-89",
"contained": "MuiButton-contained-79",
"containedPrimary": "MuiButton-containedPrimary-80",
"containedSecondary": "MuiButton-containedSecondary-81",
"disabled": "MuiButton-disabled-88",
"extendedFab": "MuiButton-extendedFab-86",
"fab": "MuiButton-fab-85",
"flat": "MuiButton-flat-73",
"flatPrimary": "MuiButton-flatPrimary-74",
"flatSecondary": "MuiButton-flatSecondary-75",
"focusVisible": "MuiButton-focusVisible-87",
"fullWidth": "MuiButton-fullWidth-93",
"label": "MuiButton-label-69",
"mini": "MuiButton-mini-90",
"outlined": "MuiButton-outlined-76",
"outlinedPrimary": "MuiButton-outlinedPrimary-77",
"outlinedSecondary": "MuiButton-outlinedSecondary-78",
"raised": "MuiButton-raised-82",
"raisedPrimary": "MuiButton-raisedPrimary-83",
"raisedSecondary": "MuiButton-raisedSecondary-84",
"root": "MuiButton-root-68",
"sizeLarge": "MuiButton-sizeLarge-92",
"sizeSmall": "MuiButton-sizeSmall-91",
"text": "MuiButton-text-70",
"textPrimary": "MuiButton-textPrimary-71",
"textSecondary": "MuiButton-textSecondary-72",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-95",
"focusVisible": "MuiButtonBase-focusVisible-96",
"root": "MuiButtonBase-root-94",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-69"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
>
<svg
height="20"
viewBox="0 0 20 12"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fillRule="evenodd"
id="Symbols"
>
<g
transform="translate(-26 -72)"
>
<g
transform="translate(0 12)"
>
<g
transform="translate(0 44)"
>
<g
id="Group-3"
>
<g
transform="translate(26 12)"
>
<polygon
points="0 0 20 0 20 20 0 20"
/>
<path
d="M15,5.83333333 L13.825,4.65833333 L8.54166667,9.94166667 L9.71666667,11.1166667 L15,5.83333333 Z M18.5333333,4.65833333 L9.71666667,13.475 L6.23333333,10 L5.05833333,11.175 L9.71666667,15.8333333 L19.7166667,5.83333333 L18.5333333,4.65833333 Z M0.341666667,11.175 L5,15.8333333 L6.175,14.6583333 L1.525,10 L0.341666667,11.175 Z"
fill="#9aa0a6"
fillRule="nonzero"
/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</ExperimentsIcon>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-116",
"childLeaving": "MuiTouchRipple-childLeaving-117",
"childPulsate": "MuiTouchRipple-childPulsate-118",
"ripple": "MuiTouchRipple-ripple-113",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-115",
"rippleVisible": "MuiTouchRipple-rippleVisible-114",
"root": "MuiTouchRipple-root-112",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-112"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-112"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/experiments"
id="experimentsBtn"
>
<button
class="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-69"
>
<div
class="flex flex-row flex-shrink-0"
>
<div
class="alignItems"
>
<svg
height="20"
viewBox="0 0 20 12"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
id="Symbols"
>
<g
transform="translate(-26 -72)"
>
<g
transform="translate(0 12)"
>
<g
transform="translate(0 44)"
>
<g
id="Group-3"
>
<g
transform="translate(26 12)"
>
<polygon
points="0 0 20 0 20 20 0 20"
/>
<path
d="M15,5.83333333 L13.825,4.65833333 L8.54166667,9.94166667 L9.71666667,11.1166667 L15,5.83333333 Z M18.5333333,4.65833333 L9.71666667,13.475 L6.23333333,10 L5.05833333,11.175 L9.71666667,15.8333333 L19.7166667,5.83333333 L18.5333333,4.65833333 Z M0.341666667,11.175 L5,15.8333333 L6.175,14.6583333 L1.525,10 L0.341666667,11.175 Z"
fill="#9aa0a6"
fill-rule="nonzero"
/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
<span
class="label"
>
Experiments
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-112"
/>
</button>
</a>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Runs List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="runsBtn"
replace={false}
title={null}
to="/runs"
>
<a
aria-describedby={null}
className="unstyled"
href="/runs"
id="runsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-89",
"contained": "MuiButton-contained-79",
"containedPrimary": "MuiButton-containedPrimary-80",
"containedSecondary": "MuiButton-containedSecondary-81",
"disabled": "MuiButton-disabled-88",
"extendedFab": "MuiButton-extendedFab-86",
"fab": "MuiButton-fab-85",
"flat": "MuiButton-flat-73",
"flatPrimary": "MuiButton-flatPrimary-74",
"flatSecondary": "MuiButton-flatSecondary-75",
"focusVisible": "MuiButton-focusVisible-87",
"fullWidth": "MuiButton-fullWidth-93",
"label": "MuiButton-label-69",
"mini": "MuiButton-mini-90",
"outlined": "MuiButton-outlined-76",
"outlinedPrimary": "MuiButton-outlinedPrimary-77",
"outlinedSecondary": "MuiButton-outlinedSecondary-78",
"raised": "MuiButton-raised-82",
"raisedPrimary": "MuiButton-raisedPrimary-83",
"raisedSecondary": "MuiButton-raisedSecondary-84",
"root": "MuiButton-root-68",
"sizeLarge": "MuiButton-sizeLarge-92",
"sizeSmall": "MuiButton-sizeSmall-91",
"text": "MuiButton-text-70",
"textPrimary": "MuiButton-textPrimary-71",
"textSecondary": "MuiButton-textSecondary-72",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-95",
"focusVisible": "MuiButtonBase-focusVisible-96",
"root": "MuiButtonBase-root-94",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-69"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon)>
<DirectionsRunIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-100",
"colorDisabled": "MuiSvgIcon-colorDisabled-102",
"colorError": "MuiSvgIcon-colorError-101",
"colorPrimary": "MuiSvgIcon-colorPrimary-98",
"colorSecondary": "MuiSvgIcon-colorSecondary-99",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-103",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-105",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-104",
"root": "MuiSvgIcon-root-97",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-97"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-3.6 13.9l1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1l-5.2 2.2v4.7h2v-3.4l1.8-.7-1.6 8.1-4.9-1-.4 2 7 1.4z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</DirectionsRunIcon>
</pure(DirectionsRunIcon)>
<span
className="label"
>
Runs
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-116",
"childLeaving": "MuiTouchRipple-childLeaving-117",
"childPulsate": "MuiTouchRipple-childPulsate-118",
"ripple": "MuiTouchRipple-ripple-113",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-115",
"rippleVisible": "MuiTouchRipple-rippleVisible-114",
"root": "MuiTouchRipple-root-112",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-112"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-112"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/runs"
id="runsBtn"
>
<button
class="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-69"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-97"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-3.6 13.9l1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1l-5.2 2.2v4.7h2v-3.4l1.8-.7-1.6 8.1-4.9-1-.4 2 7 1.4z"
/>
</svg>
<span
class="label"
>
Runs
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-112"
/>
</button>
</a>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Recurring Runs List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="recurringRunsBtn"
replace={false}
title={null}
to="/recurringruns"
>
<a
aria-describedby={null}
className="unstyled"
href="/recurringruns"
id="recurringRunsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-89",
"contained": "MuiButton-contained-79",
"containedPrimary": "MuiButton-containedPrimary-80",
"containedSecondary": "MuiButton-containedSecondary-81",
"disabled": "MuiButton-disabled-88",
"extendedFab": "MuiButton-extendedFab-86",
"fab": "MuiButton-fab-85",
"flat": "MuiButton-flat-73",
"flatPrimary": "MuiButton-flatPrimary-74",
"flatSecondary": "MuiButton-flatSecondary-75",
"focusVisible": "MuiButton-focusVisible-87",
"fullWidth": "MuiButton-fullWidth-93",
"label": "MuiButton-label-69",
"mini": "MuiButton-mini-90",
"outlined": "MuiButton-outlined-76",
"outlinedPrimary": "MuiButton-outlinedPrimary-77",
"outlinedSecondary": "MuiButton-outlinedSecondary-78",
"raised": "MuiButton-raised-82",
"raisedPrimary": "MuiButton-raisedPrimary-83",
"raisedSecondary": "MuiButton-raisedSecondary-84",
"root": "MuiButton-root-68",
"sizeLarge": "MuiButton-sizeLarge-92",
"sizeSmall": "MuiButton-sizeSmall-91",
"text": "MuiButton-text-70",
"textPrimary": "MuiButton-textPrimary-71",
"textSecondary": "MuiButton-textSecondary-72",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-95",
"focusVisible": "MuiButtonBase-focusVisible-96",
"root": "MuiButtonBase-root-94",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-69"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon)>
<AlarmIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-100",
"colorDisabled": "MuiSvgIcon-colorDisabled-102",
"colorError": "MuiSvgIcon-colorError-101",
"colorPrimary": "MuiSvgIcon-colorPrimary-98",
"colorSecondary": "MuiSvgIcon-colorSecondary-99",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-103",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-105",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-104",
"root": "MuiSvgIcon-root-97",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-97"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</AlarmIcon>
</pure(AlarmIcon)>
<span
className="label"
>
Recurring Runs
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-116",
"childLeaving": "MuiTouchRipple-childLeaving-117",
"childPulsate": "MuiTouchRipple-childPulsate-118",
"ripple": "MuiTouchRipple-ripple-113",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-115",
"rippleVisible": "MuiTouchRipple-rippleVisible-114",
"root": "MuiTouchRipple-root-112",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-112"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-112"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/recurringruns"
id="recurringRunsBtn"
>
<button
class="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-69"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-97"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"
/>
</svg>
<span
class="label"
>
Recurring Runs
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-112"
/>
</button>
</a>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Artifacts List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="artifactsBtn"
replace={false}
title={null}
to="/artifacts"
>
<a
aria-describedby={null}
className="unstyled"
href="/artifacts"
id="artifactsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-89",
"contained": "MuiButton-contained-79",
"containedPrimary": "MuiButton-containedPrimary-80",
"containedSecondary": "MuiButton-containedSecondary-81",
"disabled": "MuiButton-disabled-88",
"extendedFab": "MuiButton-extendedFab-86",
"fab": "MuiButton-fab-85",
"flat": "MuiButton-flat-73",
"flatPrimary": "MuiButton-flatPrimary-74",
"flatSecondary": "MuiButton-flatSecondary-75",
"focusVisible": "MuiButton-focusVisible-87",
"fullWidth": "MuiButton-fullWidth-93",
"label": "MuiButton-label-69",
"mini": "MuiButton-mini-90",
"outlined": "MuiButton-outlined-76",
"outlinedPrimary": "MuiButton-outlinedPrimary-77",
"outlinedSecondary": "MuiButton-outlinedSecondary-78",
"raised": "MuiButton-raised-82",
"raisedPrimary": "MuiButton-raisedPrimary-83",
"raisedSecondary": "MuiButton-raisedSecondary-84",
"root": "MuiButton-root-68",
"sizeLarge": "MuiButton-sizeLarge-92",
"sizeSmall": "MuiButton-sizeSmall-91",
"text": "MuiButton-text-70",
"textPrimary": "MuiButton-textPrimary-71",
"textSecondary": "MuiButton-textSecondary-72",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-95",
"focusVisible": "MuiButtonBase-focusVisible-96",
"root": "MuiButtonBase-root-94",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-69"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon)>
<BubbleChartIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-100",
"colorDisabled": "MuiSvgIcon-colorDisabled-102",
"colorError": "MuiSvgIcon-colorError-101",
"colorPrimary": "MuiSvgIcon-colorPrimary-98",
"colorSecondary": "MuiSvgIcon-colorSecondary-99",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-103",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-105",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-104",
"root": "MuiSvgIcon-root-97",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-97"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<circle
cx="7.2"
cy="14.4"
r="3.2"
/>
<circle
cx="14.8"
cy="18"
r="2"
/>
<circle
cx="15.2"
cy="8.8"
r="4.8"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</BubbleChartIcon>
</pure(BubbleChartIcon)>
<span
className="label"
>
Artifacts
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-116",
"childLeaving": "MuiTouchRipple-childLeaving-117",
"childPulsate": "MuiTouchRipple-childPulsate-118",
"ripple": "MuiTouchRipple-ripple-113",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-115",
"rippleVisible": "MuiTouchRipple-rippleVisible-114",
"root": "MuiTouchRipple-root-112",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-112"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-112"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/artifacts"
id="artifactsBtn"
>
<button
class="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-69"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-97"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<circle
cx="7.2"
cy="14.4"
r="3.2"
/>
<circle
cx="14.8"
cy="18"
r="2"
/>
<circle
cx="15.2"
cy="8.8"
r="4.8"
/>
</svg>
<span
class="label"
>
Artifacts
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-112"
/>
</button>
</a>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Executions List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="executionsBtn"
replace={false}
title={null}
to="/executions"
>
<a
aria-describedby={null}
className="unstyled"
href="/executions"
id="executionsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-89",
"contained": "MuiButton-contained-79",
"containedPrimary": "MuiButton-containedPrimary-80",
"containedSecondary": "MuiButton-containedSecondary-81",
"disabled": "MuiButton-disabled-88",
"extendedFab": "MuiButton-extendedFab-86",
"fab": "MuiButton-fab-85",
"flat": "MuiButton-flat-73",
"flatPrimary": "MuiButton-flatPrimary-74",
"flatSecondary": "MuiButton-flatSecondary-75",
"focusVisible": "MuiButton-focusVisible-87",
"fullWidth": "MuiButton-fullWidth-93",
"label": "MuiButton-label-69",
"mini": "MuiButton-mini-90",
"outlined": "MuiButton-outlined-76",
"outlinedPrimary": "MuiButton-outlinedPrimary-77",
"outlinedSecondary": "MuiButton-outlinedSecondary-78",
"raised": "MuiButton-raised-82",
"raisedPrimary": "MuiButton-raisedPrimary-83",
"raisedSecondary": "MuiButton-raisedSecondary-84",
"root": "MuiButton-root-68",
"sizeLarge": "MuiButton-sizeLarge-92",
"sizeSmall": "MuiButton-sizeSmall-91",
"text": "MuiButton-text-70",
"textPrimary": "MuiButton-textPrimary-71",
"textSecondary": "MuiButton-textSecondary-72",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-95",
"focusVisible": "MuiButtonBase-focusVisible-96",
"root": "MuiButtonBase-root-94",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-69"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon)>
<PlayArrowIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-100",
"colorDisabled": "MuiSvgIcon-colorDisabled-102",
"colorError": "MuiSvgIcon-colorError-101",
"colorPrimary": "MuiSvgIcon-colorPrimary-98",
"colorSecondary": "MuiSvgIcon-colorSecondary-99",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-103",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-105",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-104",
"root": "MuiSvgIcon-root-97",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-97"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M8 5v14l11-7z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</PlayArrowIcon>
</pure(PlayArrowIcon)>
<span
className="label"
>
Executions
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-116",
"childLeaving": "MuiTouchRipple-childLeaving-117",
"childPulsate": "MuiTouchRipple-childPulsate-118",
"ripple": "MuiTouchRipple-ripple-113",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-115",
"rippleVisible": "MuiTouchRipple-rippleVisible-114",
"root": "MuiTouchRipple-root-112",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-112"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-112"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/executions"
id="executionsBtn"
>
<button
class="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-69"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-97"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M8 5v14l11-7z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
<span
class="label"
>
Executions
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-112"
/>
</button>
</a>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Documentation"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Documentation"
>
<RootRef
rootRef={[Function]}
>
<a
aria-describedby={null}
className="unstyled"
href="https://www.kubeflow.org/docs/pipelines/"
rel="noopener noreferrer"
target="_blank"
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-89",
"contained": "MuiButton-contained-79",
"containedPrimary": "MuiButton-containedPrimary-80",
"containedSecondary": "MuiButton-containedSecondary-81",
"disabled": "MuiButton-disabled-88",
"extendedFab": "MuiButton-extendedFab-86",
"fab": "MuiButton-fab-85",
"flat": "MuiButton-flat-73",
"flatPrimary": "MuiButton-flatPrimary-74",
"flatSecondary": "MuiButton-flatSecondary-75",
"focusVisible": "MuiButton-focusVisible-87",
"fullWidth": "MuiButton-fullWidth-93",
"label": "MuiButton-label-69",
"mini": "MuiButton-mini-90",
"outlined": "MuiButton-outlined-76",
"outlinedPrimary": "MuiButton-outlinedPrimary-77",
"outlinedSecondary": "MuiButton-outlinedSecondary-78",
"raised": "MuiButton-raised-82",
"raisedPrimary": "MuiButton-raisedPrimary-83",
"raisedSecondary": "MuiButton-raisedSecondary-84",
"root": "MuiButton-root-68",
"sizeLarge": "MuiButton-sizeLarge-92",
"sizeSmall": "MuiButton-sizeSmall-91",
"text": "MuiButton-text-70",
"textPrimary": "MuiButton-textPrimary-71",
"textSecondary": "MuiButton-textSecondary-72",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-95",
"focusVisible": "MuiButtonBase-focusVisible-96",
"root": "MuiButtonBase-root-94",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-69"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DescriptionIcon)
className="icon"
>
<DescriptionIcon
className="icon"
>
<WithStyles(SvgIcon)
className="icon"
>
<SvgIcon
className="icon"
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-100",
"colorDisabled": "MuiSvgIcon-colorDisabled-102",
"colorError": "MuiSvgIcon-colorError-101",
"colorPrimary": "MuiSvgIcon-colorPrimary-98",
"colorSecondary": "MuiSvgIcon-colorSecondary-99",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-103",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-105",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-104",
"root": "MuiSvgIcon-root-97",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-97 icon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</DescriptionIcon>
</pure(DescriptionIcon)>
<span
className="label"
>
Documentation
</span>
<pure(OpenInNewIcon)
className="openInNewTabIcon"
>
<OpenInNewIcon
className="openInNewTabIcon"
>
<WithStyles(SvgIcon)
className="openInNewTabIcon"
>
<SvgIcon
className="openInNewTabIcon"
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-100",
"colorDisabled": "MuiSvgIcon-colorDisabled-102",
"colorError": "MuiSvgIcon-colorError-101",
"colorPrimary": "MuiSvgIcon-colorPrimary-98",
"colorSecondary": "MuiSvgIcon-colorSecondary-99",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-103",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-105",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-104",
"root": "MuiSvgIcon-root-97",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-97 openInNewTabIcon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</OpenInNewIcon>
</pure(OpenInNewIcon)>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-116",
"childLeaving": "MuiTouchRipple-childLeaving-117",
"childPulsate": "MuiTouchRipple-childPulsate-118",
"ripple": "MuiTouchRipple-ripple-113",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-115",
"rippleVisible": "MuiTouchRipple-rippleVisible-114",
"root": "MuiTouchRipple-root-112",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-112"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-112"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="https://www.kubeflow.org/docs/pipelines/"
rel="noopener noreferrer"
target="_blank"
>
<button
class="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-69"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-97 icon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
/>
</svg>
<span
class="label"
>
Documentation
</span>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-97 openInNewTabIcon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"
/>
</svg>
</div>
</span>
<span
class="MuiTouchRipple-root-112"
/>
</button>
</a>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
</ExternalUri>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Github Repo"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Github Repo"
>
<RootRef
rootRef={[Function]}
>
<a
aria-describedby={null}
className="unstyled"
href="https://github.com/kubeflow/pipelines"
rel="noopener noreferrer"
target="_blank"
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-89",
"contained": "MuiButton-contained-79",
"containedPrimary": "MuiButton-containedPrimary-80",
"containedSecondary": "MuiButton-containedSecondary-81",
"disabled": "MuiButton-disabled-88",
"extendedFab": "MuiButton-extendedFab-86",
"fab": "MuiButton-fab-85",
"flat": "MuiButton-flat-73",
"flatPrimary": "MuiButton-flatPrimary-74",
"flatSecondary": "MuiButton-flatSecondary-75",
"focusVisible": "MuiButton-focusVisible-87",
"fullWidth": "MuiButton-fullWidth-93",
"label": "MuiButton-label-69",
"mini": "MuiButton-mini-90",
"outlined": "MuiButton-outlined-76",
"outlinedPrimary": "MuiButton-outlinedPrimary-77",
"outlinedSecondary": "MuiButton-outlinedSecondary-78",
"raised": "MuiButton-raised-82",
"raisedPrimary": "MuiButton-raisedPrimary-83",
"raisedSecondary": "MuiButton-raisedSecondary-84",
"root": "MuiButton-root-68",
"sizeLarge": "MuiButton-sizeLarge-92",
"sizeSmall": "MuiButton-sizeSmall-91",
"text": "MuiButton-text-70",
"textPrimary": "MuiButton-textPrimary-71",
"textSecondary": "MuiButton-textSecondary-72",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-95",
"focusVisible": "MuiButtonBase-focusVisible-96",
"root": "MuiButtonBase-root-94",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-87"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-69"
>
<div
className="flex flex-row flex-shrink-0"
>
<img
alt="Github"
className="icon iconImage"
src="GitHub-Mark-120px-plus.png"
/>
<span
className="label"
>
Github Repo
</span>
<pure(OpenInNewIcon)
className="openInNewTabIcon"
>
<OpenInNewIcon
className="openInNewTabIcon"
>
<WithStyles(SvgIcon)
className="openInNewTabIcon"
>
<SvgIcon
className="openInNewTabIcon"
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-100",
"colorDisabled": "MuiSvgIcon-colorDisabled-102",
"colorError": "MuiSvgIcon-colorError-101",
"colorPrimary": "MuiSvgIcon-colorPrimary-98",
"colorSecondary": "MuiSvgIcon-colorSecondary-99",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-103",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-105",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-104",
"root": "MuiSvgIcon-root-97",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-97 openInNewTabIcon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</OpenInNewIcon>
</pure(OpenInNewIcon)>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-116",
"childLeaving": "MuiTouchRipple-childLeaving-117",
"childPulsate": "MuiTouchRipple-childPulsate-118",
"ripple": "MuiTouchRipple-ripple-113",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-115",
"rippleVisible": "MuiTouchRipple-rippleVisible-114",
"root": "MuiTouchRipple-root-112",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-112"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-112"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="https://github.com/kubeflow/pipelines"
rel="noopener noreferrer"
target="_blank"
>
<button
class="MuiButtonBase-root-94 MuiButton-root-68 MuiButton-text-70 MuiButton-flat-73 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-69"
>
<div
class="flex flex-row flex-shrink-0"
>
<img
alt="Github"
class="icon iconImage"
src="GitHub-Mark-120px-plus.png"
/>
<span
class="label"
>
Github Repo
</span>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-97 openInNewTabIcon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"
/>
</svg>
</div>
</span>
<span
class="MuiTouchRipple-root-112"
/>
</button>
</a>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
</ExternalUri>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<IconButton
className="chevron"
classes={
Object {
"colorInherit": "MuiIconButton-colorInherit-107",
"colorPrimary": "MuiIconButton-colorPrimary-108",
"colorSecondary": "MuiIconButton-colorSecondary-109",
"disabled": "MuiIconButton-disabled-110",
"label": "MuiIconButton-label-111",
"root": "MuiIconButton-root-106",
}
}
color="default"
disabled={false}
onClick={[Function]}
>
<WithStyles(ButtonBase)
centerRipple={true}
className="MuiIconButton-root-106 chevron"
disabled={false}
focusRipple={true}
onClick={[Function]}
>
<ButtonBase
centerRipple={true}
className="MuiIconButton-root-106 chevron"
classes={
Object {
"disabled": "MuiButtonBase-disabled-95",
"focusVisible": "MuiButtonBase-focusVisible-96",
"root": "MuiButtonBase-root-94",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
onClick={[Function]}
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-94 MuiIconButton-root-106 chevron"
disabled={false}
onBlur={[Function]}
onClick={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiIconButton-label-111"
>
<pure(ChevronLeftIcon)>
<ChevronLeftIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-100",
"colorDisabled": "MuiSvgIcon-colorDisabled-102",
"colorError": "MuiSvgIcon-colorError-101",
"colorPrimary": "MuiSvgIcon-colorPrimary-98",
"colorSecondary": "MuiSvgIcon-colorSecondary-99",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-103",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-105",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-104",
"root": "MuiSvgIcon-root-97",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-97"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</ChevronLeftIcon>
</pure(ChevronLeftIcon)>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={true}
innerRef={[Function]}
>
<TouchRipple
center={true}
classes={
Object {
"child": "MuiTouchRipple-child-116",
"childLeaving": "MuiTouchRipple-childLeaving-117",
"childPulsate": "MuiTouchRipple-childPulsate-118",
"ripple": "MuiTouchRipple-ripple-113",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-115",
"rippleVisible": "MuiTouchRipple-rippleVisible-114",
"root": "MuiTouchRipple-root-112",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-112"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-112"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</IconButton>
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Cluster name: some-cluster-name, Project ID: some-project-id"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="top-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Cluster name: some-cluster-name, Project ID: some-project-id"
>
<RootRef
rootRef={[Function]}
>
<div
aria-describedby={null}
className="envMetadata"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Cluster name: some-cluster-name, Project ID: some-project-id"
>
<span>
Cluster name:
</span>
<a
className="link unstyled"
href="https://console.cloud.google.com/kubernetes/list?project=some-project-id&filter=name:some-cluster-name"
rel="noopener"
target="_blank"
>
some-cluster-name
</a>
</div>
</RootRef>
<Popper
anchorEl={
<div
class="envMetadata"
title="Cluster name: some-cluster-name, Project ID: some-project-id"
>
<span>
Cluster name:
</span>
<a
class="link unstyled"
href="https://console.cloud.google.com/kubernetes/list?project=some-project-id&filter=name:some-cluster-name"
rel="noopener"
target="_blank"
>
some-cluster-name
</a>
</div>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="top-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: unknown, Commit hash: unknown"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="top-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Build date: unknown, Commit hash: unknown"
>
<RootRef
rootRef={[Function]}
>
<div
aria-describedby={null}
className="envMetadata"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Build date: unknown, Commit hash: unknown"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines"
rel="noopener"
target="_blank"
>
unknown
</a>
</div>
</RootRef>
<Popper
anchorEl={
<div
class="envMetadata"
title="Build date: unknown, Commit hash: unknown"
>
<span>
Version:
</span>
<a
class="link unstyled"
href="https://www.github.com/kubeflow/pipelines"
rel="noopener"
target="_blank"
>
unknown
</a>
</div>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="top-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-60",
"popperInteractive": "MuiTooltip-popperInteractive-61",
"tooltip": "MuiTooltip-tooltip-62",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-67",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-64",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-65",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-66",
"touch": "MuiTooltip-touch-63",
}
}
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="top-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Report an Issue"
>
<RootRef
rootRef={[Function]}
>
<div
aria-describedby={null}
className="envMetadata"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Report an Issue"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</RootRef>
<Popper
anchorEl={
<div
class="envMetadata"
title="Report an Issue"
>
<a
class="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
}
className="MuiTooltip-popper-60"
disablePortal={false}
id={null}
open={false}
placement="top-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
</div>
</div>
</SideNav>
`;
exports[`SideNav populates the display build information using the default props 1`] = `
<SideNav
buildInfo={
Object {
"apiServerCommitHash": "0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5",
"apiServerReady": true,
"apiServerTagName": "1.0.0",
"buildDate": "Tue Oct 23 14:23:53 UTC 2018",
"frontendCommitHash": "302e93ce99099173f387c7e0635476fe1b69ea98",
"frontendTagName": "1.0.0-rc1",
}
}
gkeMetadata={Object {}}
history={Object {}}
page="/pipelines"
>
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Pipeline List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="pipelinesBtn"
replace={false}
title={null}
to="/pipelines"
>
<a
aria-describedby={null}
className="unstyled"
href="/pipelines"
id="pipelinesBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button active"
>
<Button
className="button active"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-30",
"contained": "MuiButton-contained-20",
"containedPrimary": "MuiButton-containedPrimary-21",
"containedSecondary": "MuiButton-containedSecondary-22",
"disabled": "MuiButton-disabled-29",
"extendedFab": "MuiButton-extendedFab-27",
"fab": "MuiButton-fab-26",
"flat": "MuiButton-flat-14",
"flatPrimary": "MuiButton-flatPrimary-15",
"flatSecondary": "MuiButton-flatSecondary-16",
"focusVisible": "MuiButton-focusVisible-28",
"fullWidth": "MuiButton-fullWidth-34",
"label": "MuiButton-label-10",
"mini": "MuiButton-mini-31",
"outlined": "MuiButton-outlined-17",
"outlinedPrimary": "MuiButton-outlinedPrimary-18",
"outlinedSecondary": "MuiButton-outlinedSecondary-19",
"raised": "MuiButton-raised-23",
"raisedPrimary": "MuiButton-raisedPrimary-24",
"raisedSecondary": "MuiButton-raisedSecondary-25",
"root": "MuiButton-root-9",
"sizeLarge": "MuiButton-sizeLarge-33",
"sizeSmall": "MuiButton-sizeSmall-32",
"text": "MuiButton-text-11",
"textPrimary": "MuiButton-textPrimary-12",
"textSecondary": "MuiButton-textSecondary-13",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button active"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button active"
classes={
Object {
"disabled": "MuiButtonBase-disabled-36",
"focusVisible": "MuiButtonBase-focusVisible-37",
"root": "MuiButtonBase-root-35",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button active"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-10"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#0d6de7"
>
<svg
height="20px"
version="1.1"
viewBox="0 0 20 20"
width="20px"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<g
fill="none"
fillRule="evenodd"
id="Symbols"
stroke="none"
strokeWidth="1"
>
<g
transform="translate(-2.000000, -4.000000)"
>
<polygon
id="Shape"
points="0 0 24 0 24 24 0 24"
/>
<path
d="M12.7244079,9.74960425 L17.4807112,9.74960425 C17.7675226,9.74960425 18,9.51894323 18,9.23437272 L18,4.51523153 C18,4.23066102 17.7675226,4 17.4807112,4 L12.7244079,4 C12.4375965,4 12.2051191,4.23066102 12.2051191,4.51523153 L12.2051191,6.06125154 L9.98218019,6.06125154 C9.52936032,6.06125154 9.16225043,6.42549311 9.16225043,6.87477501 L9.16225043,11.2135669 L7.05995053,11.2135669 C6.71661861,10.189612 5.74374462,9.45093267 4.59644424,9.45093267 C3.16249641,9.45093267 2,10.6043462 2,12.0270903 C2,13.4498886 3.16249641,14.603248 4.59644424,14.603248 C5.74379928,14.603248 6.71661861,13.8645687 7.06000519,12.8406138 L9.16225043,12.8406138 L9.16225043,17.1794057 C9.16225043,17.6286875 9.52936032,17.9929291 9.98218019,17.9929291 L12.2051191,17.9929291 L12.2051191,19.4847685 C12.2051191,19.769339 12.4375965,20 12.7244079,20 L17.4807112,20 C17.7675226,20 18,19.769339 18,19.4847685 L18,14.7656273 C18,14.4810568 17.7675226,14.2503957 17.4807112,14.2503957 L12.7244079,14.2503957 C12.4375965,14.2503957 12.2051191,14.4810568 12.2051191,14.7656273 L12.2051191,16.3658822 L10.80211,16.3658822 L10.80211,7.68829848 L12.2051191,7.68829848 L12.2051191,9.23437272 C12.2051191,9.51894323 12.4375965,9.74960425 12.7244079,9.74960425 Z"
fill="#0d6de7"
id="Path"
/>
</g>
</g>
</svg>
</PipelinesIcon>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-57",
"childLeaving": "MuiTouchRipple-childLeaving-58",
"childPulsate": "MuiTouchRipple-childPulsate-59",
"ripple": "MuiTouchRipple-ripple-54",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-56",
"rippleVisible": "MuiTouchRipple-rippleVisible-55",
"root": "MuiTouchRipple-root-53",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-53"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-53"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/pipelines"
id="pipelinesBtn"
>
<button
class="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button active"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-10"
>
<div
class="flex flex-row flex-shrink-0"
>
<div
class="alignItems"
>
<svg
height="20px"
version="1.1"
viewBox="0 0 20 20"
width="20px"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<g
fill="none"
fill-rule="evenodd"
id="Symbols"
stroke="none"
stroke-width="1"
>
<g
transform="translate(-2.000000, -4.000000)"
>
<polygon
id="Shape"
points="0 0 24 0 24 24 0 24"
/>
<path
d="M12.7244079,9.74960425 L17.4807112,9.74960425 C17.7675226,9.74960425 18,9.51894323 18,9.23437272 L18,4.51523153 C18,4.23066102 17.7675226,4 17.4807112,4 L12.7244079,4 C12.4375965,4 12.2051191,4.23066102 12.2051191,4.51523153 L12.2051191,6.06125154 L9.98218019,6.06125154 C9.52936032,6.06125154 9.16225043,6.42549311 9.16225043,6.87477501 L9.16225043,11.2135669 L7.05995053,11.2135669 C6.71661861,10.189612 5.74374462,9.45093267 4.59644424,9.45093267 C3.16249641,9.45093267 2,10.6043462 2,12.0270903 C2,13.4498886 3.16249641,14.603248 4.59644424,14.603248 C5.74379928,14.603248 6.71661861,13.8645687 7.06000519,12.8406138 L9.16225043,12.8406138 L9.16225043,17.1794057 C9.16225043,17.6286875 9.52936032,17.9929291 9.98218019,17.9929291 L12.2051191,17.9929291 L12.2051191,19.4847685 C12.2051191,19.769339 12.4375965,20 12.7244079,20 L17.4807112,20 C17.7675226,20 18,19.769339 18,19.4847685 L18,14.7656273 C18,14.4810568 17.7675226,14.2503957 17.4807112,14.2503957 L12.7244079,14.2503957 C12.4375965,14.2503957 12.2051191,14.4810568 12.2051191,14.7656273 L12.2051191,16.3658822 L10.80211,16.3658822 L10.80211,7.68829848 L12.2051191,7.68829848 L12.2051191,9.23437272 C12.2051191,9.51894323 12.4375965,9.74960425 12.7244079,9.74960425 Z"
fill="#0d6de7"
id="Path"
/>
</g>
</g>
</svg>
</div>
<span
class="label"
>
Pipelines
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-53"
/>
</button>
</a>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Experiment List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="experimentsBtn"
replace={false}
title={null}
to="/experiments"
>
<a
aria-describedby={null}
className="unstyled"
href="/experiments"
id="experimentsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-30",
"contained": "MuiButton-contained-20",
"containedPrimary": "MuiButton-containedPrimary-21",
"containedSecondary": "MuiButton-containedSecondary-22",
"disabled": "MuiButton-disabled-29",
"extendedFab": "MuiButton-extendedFab-27",
"fab": "MuiButton-fab-26",
"flat": "MuiButton-flat-14",
"flatPrimary": "MuiButton-flatPrimary-15",
"flatSecondary": "MuiButton-flatSecondary-16",
"focusVisible": "MuiButton-focusVisible-28",
"fullWidth": "MuiButton-fullWidth-34",
"label": "MuiButton-label-10",
"mini": "MuiButton-mini-31",
"outlined": "MuiButton-outlined-17",
"outlinedPrimary": "MuiButton-outlinedPrimary-18",
"outlinedSecondary": "MuiButton-outlinedSecondary-19",
"raised": "MuiButton-raised-23",
"raisedPrimary": "MuiButton-raisedPrimary-24",
"raisedSecondary": "MuiButton-raisedSecondary-25",
"root": "MuiButton-root-9",
"sizeLarge": "MuiButton-sizeLarge-33",
"sizeSmall": "MuiButton-sizeSmall-32",
"text": "MuiButton-text-11",
"textPrimary": "MuiButton-textPrimary-12",
"textSecondary": "MuiButton-textSecondary-13",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-36",
"focusVisible": "MuiButtonBase-focusVisible-37",
"root": "MuiButtonBase-root-35",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-10"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
>
<svg
height="20"
viewBox="0 0 20 12"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fillRule="evenodd"
id="Symbols"
>
<g
transform="translate(-26 -72)"
>
<g
transform="translate(0 12)"
>
<g
transform="translate(0 44)"
>
<g
id="Group-3"
>
<g
transform="translate(26 12)"
>
<polygon
points="0 0 20 0 20 20 0 20"
/>
<path
d="M15,5.83333333 L13.825,4.65833333 L8.54166667,9.94166667 L9.71666667,11.1166667 L15,5.83333333 Z M18.5333333,4.65833333 L9.71666667,13.475 L6.23333333,10 L5.05833333,11.175 L9.71666667,15.8333333 L19.7166667,5.83333333 L18.5333333,4.65833333 Z M0.341666667,11.175 L5,15.8333333 L6.175,14.6583333 L1.525,10 L0.341666667,11.175 Z"
fill="#9aa0a6"
fillRule="nonzero"
/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</ExperimentsIcon>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-57",
"childLeaving": "MuiTouchRipple-childLeaving-58",
"childPulsate": "MuiTouchRipple-childPulsate-59",
"ripple": "MuiTouchRipple-ripple-54",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-56",
"rippleVisible": "MuiTouchRipple-rippleVisible-55",
"root": "MuiTouchRipple-root-53",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-53"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-53"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/experiments"
id="experimentsBtn"
>
<button
class="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-10"
>
<div
class="flex flex-row flex-shrink-0"
>
<div
class="alignItems"
>
<svg
height="20"
viewBox="0 0 20 12"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
id="Symbols"
>
<g
transform="translate(-26 -72)"
>
<g
transform="translate(0 12)"
>
<g
transform="translate(0 44)"
>
<g
id="Group-3"
>
<g
transform="translate(26 12)"
>
<polygon
points="0 0 20 0 20 20 0 20"
/>
<path
d="M15,5.83333333 L13.825,4.65833333 L8.54166667,9.94166667 L9.71666667,11.1166667 L15,5.83333333 Z M18.5333333,4.65833333 L9.71666667,13.475 L6.23333333,10 L5.05833333,11.175 L9.71666667,15.8333333 L19.7166667,5.83333333 L18.5333333,4.65833333 Z M0.341666667,11.175 L5,15.8333333 L6.175,14.6583333 L1.525,10 L0.341666667,11.175 Z"
fill="#9aa0a6"
fill-rule="nonzero"
/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
<span
class="label"
>
Experiments
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-53"
/>
</button>
</a>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Runs List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="runsBtn"
replace={false}
title={null}
to="/runs"
>
<a
aria-describedby={null}
className="unstyled"
href="/runs"
id="runsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-30",
"contained": "MuiButton-contained-20",
"containedPrimary": "MuiButton-containedPrimary-21",
"containedSecondary": "MuiButton-containedSecondary-22",
"disabled": "MuiButton-disabled-29",
"extendedFab": "MuiButton-extendedFab-27",
"fab": "MuiButton-fab-26",
"flat": "MuiButton-flat-14",
"flatPrimary": "MuiButton-flatPrimary-15",
"flatSecondary": "MuiButton-flatSecondary-16",
"focusVisible": "MuiButton-focusVisible-28",
"fullWidth": "MuiButton-fullWidth-34",
"label": "MuiButton-label-10",
"mini": "MuiButton-mini-31",
"outlined": "MuiButton-outlined-17",
"outlinedPrimary": "MuiButton-outlinedPrimary-18",
"outlinedSecondary": "MuiButton-outlinedSecondary-19",
"raised": "MuiButton-raised-23",
"raisedPrimary": "MuiButton-raisedPrimary-24",
"raisedSecondary": "MuiButton-raisedSecondary-25",
"root": "MuiButton-root-9",
"sizeLarge": "MuiButton-sizeLarge-33",
"sizeSmall": "MuiButton-sizeSmall-32",
"text": "MuiButton-text-11",
"textPrimary": "MuiButton-textPrimary-12",
"textSecondary": "MuiButton-textSecondary-13",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-36",
"focusVisible": "MuiButtonBase-focusVisible-37",
"root": "MuiButtonBase-root-35",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-10"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon)>
<DirectionsRunIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-41",
"colorDisabled": "MuiSvgIcon-colorDisabled-43",
"colorError": "MuiSvgIcon-colorError-42",
"colorPrimary": "MuiSvgIcon-colorPrimary-39",
"colorSecondary": "MuiSvgIcon-colorSecondary-40",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-44",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-46",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-45",
"root": "MuiSvgIcon-root-38",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-38"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-3.6 13.9l1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1l-5.2 2.2v4.7h2v-3.4l1.8-.7-1.6 8.1-4.9-1-.4 2 7 1.4z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</DirectionsRunIcon>
</pure(DirectionsRunIcon)>
<span
className="label"
>
Runs
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-57",
"childLeaving": "MuiTouchRipple-childLeaving-58",
"childPulsate": "MuiTouchRipple-childPulsate-59",
"ripple": "MuiTouchRipple-ripple-54",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-56",
"rippleVisible": "MuiTouchRipple-rippleVisible-55",
"root": "MuiTouchRipple-root-53",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-53"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-53"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/runs"
id="runsBtn"
>
<button
class="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-10"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-38"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-3.6 13.9l1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1l-5.2 2.2v4.7h2v-3.4l1.8-.7-1.6 8.1-4.9-1-.4 2 7 1.4z"
/>
</svg>
<span
class="label"
>
Runs
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-53"
/>
</button>
</a>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Recurring Runs List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="recurringRunsBtn"
replace={false}
title={null}
to="/recurringruns"
>
<a
aria-describedby={null}
className="unstyled"
href="/recurringruns"
id="recurringRunsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-30",
"contained": "MuiButton-contained-20",
"containedPrimary": "MuiButton-containedPrimary-21",
"containedSecondary": "MuiButton-containedSecondary-22",
"disabled": "MuiButton-disabled-29",
"extendedFab": "MuiButton-extendedFab-27",
"fab": "MuiButton-fab-26",
"flat": "MuiButton-flat-14",
"flatPrimary": "MuiButton-flatPrimary-15",
"flatSecondary": "MuiButton-flatSecondary-16",
"focusVisible": "MuiButton-focusVisible-28",
"fullWidth": "MuiButton-fullWidth-34",
"label": "MuiButton-label-10",
"mini": "MuiButton-mini-31",
"outlined": "MuiButton-outlined-17",
"outlinedPrimary": "MuiButton-outlinedPrimary-18",
"outlinedSecondary": "MuiButton-outlinedSecondary-19",
"raised": "MuiButton-raised-23",
"raisedPrimary": "MuiButton-raisedPrimary-24",
"raisedSecondary": "MuiButton-raisedSecondary-25",
"root": "MuiButton-root-9",
"sizeLarge": "MuiButton-sizeLarge-33",
"sizeSmall": "MuiButton-sizeSmall-32",
"text": "MuiButton-text-11",
"textPrimary": "MuiButton-textPrimary-12",
"textSecondary": "MuiButton-textSecondary-13",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-36",
"focusVisible": "MuiButtonBase-focusVisible-37",
"root": "MuiButtonBase-root-35",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-10"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon)>
<AlarmIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-41",
"colorDisabled": "MuiSvgIcon-colorDisabled-43",
"colorError": "MuiSvgIcon-colorError-42",
"colorPrimary": "MuiSvgIcon-colorPrimary-39",
"colorSecondary": "MuiSvgIcon-colorSecondary-40",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-44",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-46",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-45",
"root": "MuiSvgIcon-root-38",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-38"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</AlarmIcon>
</pure(AlarmIcon)>
<span
className="label"
>
Recurring Runs
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-57",
"childLeaving": "MuiTouchRipple-childLeaving-58",
"childPulsate": "MuiTouchRipple-childPulsate-59",
"ripple": "MuiTouchRipple-ripple-54",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-56",
"rippleVisible": "MuiTouchRipple-rippleVisible-55",
"root": "MuiTouchRipple-root-53",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-53"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-53"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/recurringruns"
id="recurringRunsBtn"
>
<button
class="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-10"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-38"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"
/>
</svg>
<span
class="label"
>
Recurring Runs
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-53"
/>
</button>
</a>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Artifacts List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="artifactsBtn"
replace={false}
title={null}
to="/artifacts"
>
<a
aria-describedby={null}
className="unstyled"
href="/artifacts"
id="artifactsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-30",
"contained": "MuiButton-contained-20",
"containedPrimary": "MuiButton-containedPrimary-21",
"containedSecondary": "MuiButton-containedSecondary-22",
"disabled": "MuiButton-disabled-29",
"extendedFab": "MuiButton-extendedFab-27",
"fab": "MuiButton-fab-26",
"flat": "MuiButton-flat-14",
"flatPrimary": "MuiButton-flatPrimary-15",
"flatSecondary": "MuiButton-flatSecondary-16",
"focusVisible": "MuiButton-focusVisible-28",
"fullWidth": "MuiButton-fullWidth-34",
"label": "MuiButton-label-10",
"mini": "MuiButton-mini-31",
"outlined": "MuiButton-outlined-17",
"outlinedPrimary": "MuiButton-outlinedPrimary-18",
"outlinedSecondary": "MuiButton-outlinedSecondary-19",
"raised": "MuiButton-raised-23",
"raisedPrimary": "MuiButton-raisedPrimary-24",
"raisedSecondary": "MuiButton-raisedSecondary-25",
"root": "MuiButton-root-9",
"sizeLarge": "MuiButton-sizeLarge-33",
"sizeSmall": "MuiButton-sizeSmall-32",
"text": "MuiButton-text-11",
"textPrimary": "MuiButton-textPrimary-12",
"textSecondary": "MuiButton-textSecondary-13",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-36",
"focusVisible": "MuiButtonBase-focusVisible-37",
"root": "MuiButtonBase-root-35",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-10"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon)>
<BubbleChartIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-41",
"colorDisabled": "MuiSvgIcon-colorDisabled-43",
"colorError": "MuiSvgIcon-colorError-42",
"colorPrimary": "MuiSvgIcon-colorPrimary-39",
"colorSecondary": "MuiSvgIcon-colorSecondary-40",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-44",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-46",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-45",
"root": "MuiSvgIcon-root-38",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-38"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<circle
cx="7.2"
cy="14.4"
r="3.2"
/>
<circle
cx="14.8"
cy="18"
r="2"
/>
<circle
cx="15.2"
cy="8.8"
r="4.8"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</BubbleChartIcon>
</pure(BubbleChartIcon)>
<span
className="label"
>
Artifacts
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-57",
"childLeaving": "MuiTouchRipple-childLeaving-58",
"childPulsate": "MuiTouchRipple-childPulsate-59",
"ripple": "MuiTouchRipple-ripple-54",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-56",
"rippleVisible": "MuiTouchRipple-rippleVisible-55",
"root": "MuiTouchRipple-root-53",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-53"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-53"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/artifacts"
id="artifactsBtn"
>
<button
class="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-10"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-38"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<circle
cx="7.2"
cy="14.4"
r="3.2"
/>
<circle
cx="14.8"
cy="18"
r="2"
/>
<circle
cx="15.2"
cy="8.8"
r="4.8"
/>
</svg>
<span
class="label"
>
Artifacts
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-53"
/>
</button>
</a>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Executions List"
>
<RootRef
rootRef={[Function]}
>
<Link
aria-describedby={null}
className="unstyled"
id="executionsBtn"
replace={false}
title={null}
to="/executions"
>
<a
aria-describedby={null}
className="unstyled"
href="/executions"
id="executionsBtn"
onClick={[Function]}
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-30",
"contained": "MuiButton-contained-20",
"containedPrimary": "MuiButton-containedPrimary-21",
"containedSecondary": "MuiButton-containedSecondary-22",
"disabled": "MuiButton-disabled-29",
"extendedFab": "MuiButton-extendedFab-27",
"fab": "MuiButton-fab-26",
"flat": "MuiButton-flat-14",
"flatPrimary": "MuiButton-flatPrimary-15",
"flatSecondary": "MuiButton-flatSecondary-16",
"focusVisible": "MuiButton-focusVisible-28",
"fullWidth": "MuiButton-fullWidth-34",
"label": "MuiButton-label-10",
"mini": "MuiButton-mini-31",
"outlined": "MuiButton-outlined-17",
"outlinedPrimary": "MuiButton-outlinedPrimary-18",
"outlinedSecondary": "MuiButton-outlinedSecondary-19",
"raised": "MuiButton-raised-23",
"raisedPrimary": "MuiButton-raisedPrimary-24",
"raisedSecondary": "MuiButton-raisedSecondary-25",
"root": "MuiButton-root-9",
"sizeLarge": "MuiButton-sizeLarge-33",
"sizeSmall": "MuiButton-sizeSmall-32",
"text": "MuiButton-text-11",
"textPrimary": "MuiButton-textPrimary-12",
"textSecondary": "MuiButton-textSecondary-13",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-36",
"focusVisible": "MuiButtonBase-focusVisible-37",
"root": "MuiButtonBase-root-35",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-10"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon)>
<PlayArrowIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-41",
"colorDisabled": "MuiSvgIcon-colorDisabled-43",
"colorError": "MuiSvgIcon-colorError-42",
"colorPrimary": "MuiSvgIcon-colorPrimary-39",
"colorSecondary": "MuiSvgIcon-colorSecondary-40",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-44",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-46",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-45",
"root": "MuiSvgIcon-root-38",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-38"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M8 5v14l11-7z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</PlayArrowIcon>
</pure(PlayArrowIcon)>
<span
className="label"
>
Executions
</span>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-57",
"childLeaving": "MuiTouchRipple-childLeaving-58",
"childPulsate": "MuiTouchRipple-childPulsate-59",
"ripple": "MuiTouchRipple-ripple-54",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-56",
"rippleVisible": "MuiTouchRipple-rippleVisible-55",
"root": "MuiTouchRipple-root-53",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-53"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-53"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</Link>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="/executions"
id="executionsBtn"
>
<button
class="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-10"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-38"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M8 5v14l11-7z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
<span
class="label"
>
Executions
</span>
</div>
</span>
<span
class="MuiTouchRipple-root-53"
/>
</button>
</a>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Documentation"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Documentation"
>
<RootRef
rootRef={[Function]}
>
<a
aria-describedby={null}
className="unstyled"
href="https://www.kubeflow.org/docs/pipelines/"
rel="noopener noreferrer"
target="_blank"
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-30",
"contained": "MuiButton-contained-20",
"containedPrimary": "MuiButton-containedPrimary-21",
"containedSecondary": "MuiButton-containedSecondary-22",
"disabled": "MuiButton-disabled-29",
"extendedFab": "MuiButton-extendedFab-27",
"fab": "MuiButton-fab-26",
"flat": "MuiButton-flat-14",
"flatPrimary": "MuiButton-flatPrimary-15",
"flatSecondary": "MuiButton-flatSecondary-16",
"focusVisible": "MuiButton-focusVisible-28",
"fullWidth": "MuiButton-fullWidth-34",
"label": "MuiButton-label-10",
"mini": "MuiButton-mini-31",
"outlined": "MuiButton-outlined-17",
"outlinedPrimary": "MuiButton-outlinedPrimary-18",
"outlinedSecondary": "MuiButton-outlinedSecondary-19",
"raised": "MuiButton-raised-23",
"raisedPrimary": "MuiButton-raisedPrimary-24",
"raisedSecondary": "MuiButton-raisedSecondary-25",
"root": "MuiButton-root-9",
"sizeLarge": "MuiButton-sizeLarge-33",
"sizeSmall": "MuiButton-sizeSmall-32",
"text": "MuiButton-text-11",
"textPrimary": "MuiButton-textPrimary-12",
"textSecondary": "MuiButton-textSecondary-13",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-36",
"focusVisible": "MuiButtonBase-focusVisible-37",
"root": "MuiButtonBase-root-35",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-10"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DescriptionIcon)
className="icon"
>
<DescriptionIcon
className="icon"
>
<WithStyles(SvgIcon)
className="icon"
>
<SvgIcon
className="icon"
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-41",
"colorDisabled": "MuiSvgIcon-colorDisabled-43",
"colorError": "MuiSvgIcon-colorError-42",
"colorPrimary": "MuiSvgIcon-colorPrimary-39",
"colorSecondary": "MuiSvgIcon-colorSecondary-40",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-44",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-46",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-45",
"root": "MuiSvgIcon-root-38",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-38 icon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</DescriptionIcon>
</pure(DescriptionIcon)>
<span
className="label"
>
Documentation
</span>
<pure(OpenInNewIcon)
className="openInNewTabIcon"
>
<OpenInNewIcon
className="openInNewTabIcon"
>
<WithStyles(SvgIcon)
className="openInNewTabIcon"
>
<SvgIcon
className="openInNewTabIcon"
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-41",
"colorDisabled": "MuiSvgIcon-colorDisabled-43",
"colorError": "MuiSvgIcon-colorError-42",
"colorPrimary": "MuiSvgIcon-colorPrimary-39",
"colorSecondary": "MuiSvgIcon-colorSecondary-40",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-44",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-46",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-45",
"root": "MuiSvgIcon-root-38",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-38 openInNewTabIcon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</OpenInNewIcon>
</pure(OpenInNewIcon)>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-57",
"childLeaving": "MuiTouchRipple-childLeaving-58",
"childPulsate": "MuiTouchRipple-childPulsate-59",
"ripple": "MuiTouchRipple-ripple-54",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-56",
"rippleVisible": "MuiTouchRipple-rippleVisible-55",
"root": "MuiTouchRipple-root-53",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-53"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-53"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="https://www.kubeflow.org/docs/pipelines/"
rel="noopener noreferrer"
target="_blank"
>
<button
class="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-10"
>
<div
class="flex flex-row flex-shrink-0"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-38 icon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
/>
</svg>
<span
class="label"
>
Documentation
</span>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-38 openInNewTabIcon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"
/>
</svg>
</div>
</span>
<span
class="MuiTouchRipple-root-53"
/>
</button>
</a>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
</ExternalUri>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Github Repo"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="right-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Github Repo"
>
<RootRef
rootRef={[Function]}
>
<a
aria-describedby={null}
className="unstyled"
href="https://github.com/kubeflow/pipelines"
rel="noopener noreferrer"
target="_blank"
title={null}
>
<WithStyles(Button)
className="button"
>
<Button
className="button"
classes={
Object {
"colorInherit": "MuiButton-colorInherit-30",
"contained": "MuiButton-contained-20",
"containedPrimary": "MuiButton-containedPrimary-21",
"containedSecondary": "MuiButton-containedSecondary-22",
"disabled": "MuiButton-disabled-29",
"extendedFab": "MuiButton-extendedFab-27",
"fab": "MuiButton-fab-26",
"flat": "MuiButton-flat-14",
"flatPrimary": "MuiButton-flatPrimary-15",
"flatSecondary": "MuiButton-flatSecondary-16",
"focusVisible": "MuiButton-focusVisible-28",
"fullWidth": "MuiButton-fullWidth-34",
"label": "MuiButton-label-10",
"mini": "MuiButton-mini-31",
"outlined": "MuiButton-outlined-17",
"outlinedPrimary": "MuiButton-outlinedPrimary-18",
"outlinedSecondary": "MuiButton-outlinedSecondary-19",
"raised": "MuiButton-raised-23",
"raisedPrimary": "MuiButton-raisedPrimary-24",
"raisedSecondary": "MuiButton-raisedSecondary-25",
"root": "MuiButton-root-9",
"sizeLarge": "MuiButton-sizeLarge-33",
"sizeSmall": "MuiButton-sizeSmall-32",
"text": "MuiButton-text-11",
"textPrimary": "MuiButton-textPrimary-12",
"textSecondary": "MuiButton-textSecondary-13",
}
}
color="default"
component="button"
disableFocusRipple={false}
disabled={false}
fullWidth={false}
mini={false}
size="medium"
type="button"
variant="text"
>
<WithStyles(ButtonBase)
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
component="button"
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
type="button"
>
<ButtonBase
centerRipple={false}
className="MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
classes={
Object {
"disabled": "MuiButtonBase-disabled-36",
"focusVisible": "MuiButtonBase-focusVisible-37",
"root": "MuiButtonBase-root-35",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
focusVisibleClassName="MuiButton-focusVisible-28"
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
disabled={false}
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiButton-label-10"
>
<div
className="flex flex-row flex-shrink-0"
>
<img
alt="Github"
className="icon iconImage"
src="GitHub-Mark-120px-plus.png"
/>
<span
className="label"
>
Github Repo
</span>
<pure(OpenInNewIcon)
className="openInNewTabIcon"
>
<OpenInNewIcon
className="openInNewTabIcon"
>
<WithStyles(SvgIcon)
className="openInNewTabIcon"
>
<SvgIcon
className="openInNewTabIcon"
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-41",
"colorDisabled": "MuiSvgIcon-colorDisabled-43",
"colorError": "MuiSvgIcon-colorError-42",
"colorPrimary": "MuiSvgIcon-colorPrimary-39",
"colorSecondary": "MuiSvgIcon-colorSecondary-40",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-44",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-46",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-45",
"root": "MuiSvgIcon-root-38",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-38 openInNewTabIcon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</OpenInNewIcon>
</pure(OpenInNewIcon)>
</div>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={false}
innerRef={[Function]}
>
<TouchRipple
center={false}
classes={
Object {
"child": "MuiTouchRipple-child-57",
"childLeaving": "MuiTouchRipple-childLeaving-58",
"childPulsate": "MuiTouchRipple-childPulsate-59",
"ripple": "MuiTouchRipple-ripple-54",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-56",
"rippleVisible": "MuiTouchRipple-rippleVisible-55",
"root": "MuiTouchRipple-root-53",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-53"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-53"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</Button>
</WithStyles(Button)>
</a>
</RootRef>
<Popper
anchorEl={
<a
class="unstyled"
href="https://github.com/kubeflow/pipelines"
rel="noopener noreferrer"
target="_blank"
>
<button
class="MuiButtonBase-root-35 MuiButton-root-9 MuiButton-text-11 MuiButton-flat-14 button"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-10"
>
<div
class="flex flex-row flex-shrink-0"
>
<img
alt="Github"
class="icon iconImage"
src="GitHub-Mark-120px-plus.png"
/>
<span
class="label"
>
Github Repo
</span>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-38 openInNewTabIcon"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"
/>
</svg>
</div>
</span>
<span
class="MuiTouchRipple-root-53"
/>
</button>
</a>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="right-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
</ExternalUri>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<IconButton
className="chevron"
classes={
Object {
"colorInherit": "MuiIconButton-colorInherit-48",
"colorPrimary": "MuiIconButton-colorPrimary-49",
"colorSecondary": "MuiIconButton-colorSecondary-50",
"disabled": "MuiIconButton-disabled-51",
"label": "MuiIconButton-label-52",
"root": "MuiIconButton-root-47",
}
}
color="default"
disabled={false}
onClick={[Function]}
>
<WithStyles(ButtonBase)
centerRipple={true}
className="MuiIconButton-root-47 chevron"
disabled={false}
focusRipple={true}
onClick={[Function]}
>
<ButtonBase
centerRipple={true}
className="MuiIconButton-root-47 chevron"
classes={
Object {
"disabled": "MuiButtonBase-disabled-36",
"focusVisible": "MuiButtonBase-focusVisible-37",
"root": "MuiButtonBase-root-35",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={false}
focusRipple={true}
onClick={[Function]}
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-35 MuiIconButton-root-47 chevron"
disabled={false}
onBlur={[Function]}
onClick={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="0"
type="button"
>
<span
className="MuiIconButton-label-52"
>
<pure(ChevronLeftIcon)>
<ChevronLeftIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-41",
"colorDisabled": "MuiSvgIcon-colorDisabled-43",
"colorError": "MuiSvgIcon-colorError-42",
"colorPrimary": "MuiSvgIcon-colorPrimary-39",
"colorSecondary": "MuiSvgIcon-colorSecondary-40",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-44",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-46",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-45",
"root": "MuiSvgIcon-root-38",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-38"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</ChevronLeftIcon>
</pure(ChevronLeftIcon)>
</span>
<NoSsr
defer={false}
fallback={null}
>
<WithStyles(TouchRipple)
center={true}
innerRef={[Function]}
>
<TouchRipple
center={true}
classes={
Object {
"child": "MuiTouchRipple-child-57",
"childLeaving": "MuiTouchRipple-childLeaving-58",
"childPulsate": "MuiTouchRipple-childPulsate-59",
"ripple": "MuiTouchRipple-ripple-54",
"ripplePulsate": "MuiTouchRipple-ripplePulsate-56",
"rippleVisible": "MuiTouchRipple-rippleVisible-55",
"root": "MuiTouchRipple-root-53",
}
}
>
<TransitionGroup
childFactory={[Function]}
className="MuiTouchRipple-root-53"
component="span"
enter={true}
exit={true}
>
<span
className="MuiTouchRipple-root-53"
/>
</TransitionGroup>
</TouchRipple>
</WithStyles(TouchRipple)>
</NoSsr>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</IconButton>
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="top-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<RootRef
rootRef={[Function]}
>
<div
aria-describedby={null}
className="envMetadata"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</RootRef>
<Popper
anchorEl={
<div
class="envMetadata"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<span>
Version:
</span>
<a
class="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="top-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-1",
"popperInteractive": "MuiTooltip-popperInteractive-2",
"tooltip": "MuiTooltip-tooltip-3",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-8",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-5",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-6",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-7",
"touch": "MuiTooltip-touch-4",
}
}
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="top-start"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Report an Issue"
>
<RootRef
rootRef={[Function]}
>
<div
aria-describedby={null}
className="envMetadata"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Report an Issue"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</RootRef>
<Popper
anchorEl={
<div
class="envMetadata"
title="Report an Issue"
>
<a
class="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
}
className="MuiTooltip-popper-1"
disablePortal={false}
id={null}
open={false}
placement="top-start"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
</div>
</div>
</SideNav>
`;
exports[`SideNav renders Pipelines as active page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#0d6de7"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders Pipelines as active when on PipelineDetails page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#0d6de7"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders collapsed state 1`] = `
<div
className="root flexColumn noShrink collapsedRoot"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button active collapsedButton"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#0d6de7"
/>
</div>
<span
className="collapsedLabel label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button collapsedButton"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="collapsedLabel label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button collapsedButton"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="collapsedLabel label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button collapsedButton"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="collapsedLabel label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button collapsedButton"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="collapsedLabel label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button collapsedButton"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="collapsedLabel label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator collapsedSeparator"
/>
<ExternalUri
collapsed={true}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={true}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator collapsedSeparator"
/>
<WithStyles(IconButton)
className="chevron collapsedChevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoHidden"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders expanded state 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#0d6de7"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders experiments as active page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#0d6de7"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders experiments as active page when on AllRuns page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders experiments as active page when on Compare page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders experiments as active page when on NewExperiment page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#0d6de7"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders experiments as active page when on NewRun page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders experiments as active page when on RecurringRunDetails page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders experiments as active page when on RunDetails page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav renders experiments as active when on ExperimentDetails page 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#0d6de7"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`SideNav show jupyterhub link if accessible 1`] = `
<div
className="root flexColumn noShrink"
id="sideNav"
>
<div
style={
Object {
"flexGrow": 1,
}
}
>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Pipeline List"
>
<Link
className="unstyled"
id="pipelinesBtn"
replace={false}
to="/pipelines"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<PipelinesIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Pipelines
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Experiment List"
>
<Link
className="unstyled"
id="experimentsBtn"
replace={false}
to="/experiments"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<div
className="alignItems"
>
<ExperimentsIcon
color="#9aa0a6"
/>
</div>
<span
className="label"
>
Experiments
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Runs List"
>
<Link
className="unstyled"
id="runsBtn"
replace={false}
to="/runs"
>
<WithStyles(Button)
className="button active"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(DirectionsRunIcon) />
<span
className="label"
>
Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Recurring Runs List"
>
<Link
className="unstyled"
id="recurringRunsBtn"
replace={false}
to="/recurringruns"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(AlarmIcon) />
<span
className="label"
>
Recurring Runs
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Artifacts List"
>
<Link
className="unstyled"
id="artifactsBtn"
replace={false}
to="/artifacts"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(BubbleChartIcon) />
<span
className="label"
>
Artifacts
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<div
className="indicator indicatorHidden"
/>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Executions List"
>
<Link
className="unstyled"
id="executionsBtn"
replace={false}
to="/executions"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(PlayArrowIcon) />
<span
className="label"
>
Executions
</span>
</div>
</WithStyles(Button)>
</Link>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
disableFocusListener={true}
disableHoverListener={true}
disableTouchListener={true}
enterDelay={300}
placement="right-start"
title="Open Jupyter Notebook"
>
<a
className="unstyled"
href="/hub/"
id="jupyterhubBtn"
rel="noopener"
target="_blank"
>
<WithStyles(Button)
className="button"
>
<div
className="flex flex-row flex-shrink-0"
>
<pure(CodeIcon)
style={
Object {
"height": 20,
"width": 20,
}
}
/>
<span
className="label"
>
Notebooks
</span>
<pure(OpenInNewIcon)
className="openInNewTabIcon"
/>
</div>
</WithStyles(Button)>
</a>
</WithStyles(Tooltip)>
<hr
className="separator"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Documentation"
to="https://www.kubeflow.org/docs/pipelines/"
/>
<ExternalUri
collapsed={false}
icon={[Function]}
title="Github Repo"
to="https://github.com/kubeflow/pipelines"
/>
<hr
className="separator"
/>
<WithStyles(IconButton)
className="chevron"
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
</div>
<div
className="infoVisible"
>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Build date: 10/23/2018, Commit hash: 0a7b9e3"
>
<div
className="envMetadata"
>
<span>
Version:
</span>
<a
className="link unstyled"
href="https://www.github.com/kubeflow/pipelines/commit/0a7b9e38f2b9bcdef4bbf3234d971e1635b50cd5"
rel="noopener"
target="_blank"
>
1.0.0
</a>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
placement="top-start"
title="Report an Issue"
>
<div
className="envMetadata"
>
<a
className="link unstyled"
href="https://github.com/kubeflow/pipelines/issues/new/choose"
rel="noopener"
target="_blank"
>
Report an Issue
</a>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
| 322 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/PipelinesDialog.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PipelinesDialog it renders correctly in multi user mode 1`] = `
Object {
"asFragment": [Function],
"baseElement": <body
style="overflow: hidden; padding-right: 0px;"
>
<div
aria-hidden="true"
/>
<div
class="MuiModal-root-15 MuiDialog-root-1"
role="dialog"
>
<div
aria-hidden="true"
class="MuiBackdrop-root-17"
style="opacity: 1; webkit-transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
/>
<div
class="MuiDialog-container-4 MuiDialog-scrollPaper-2"
role="document"
style="opacity: 1; webkit-transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
tabindex="-1"
>
<div
class="MuiPaper-root-19 MuiPaper-elevation24-45 MuiPaper-rounded-20 MuiDialog-paper-5 MuiDialog-paperScrollPaper-6 MuiDialog-paperWidthSm-9"
id="pipelineSelectorDialog"
>
<div
class="MuiDialogContent-root-46"
>
<div
class="root topLevelToolbar"
>
<div
style="min-width: 100px;"
>
<div
class="breadcrumbs flex"
/>
<div
class="flex"
>
<span
class="pageName ellipsis"
data-testid="page-title"
>
Choose a pipeline
</span>
</div>
</div>
<div
class="actions"
/>
</div>
<div
class="page"
>
<div
class="tabs"
>
<div
class="indicator"
/>
<span
style="display: inline-block; min-width: 20px; width: 20px;"
/>
<button
class="MuiButtonBase-root-81 MuiButton-root-55 MuiButton-text-57 MuiButton-flat-60 button active"
tabindex="0"
title="Only people who have access to this namespace will be able to view and use these pipelines."
type="button"
>
<span
class="MuiButton-label-56"
>
<span>
Private
</span>
</span>
<span
class="MuiTouchRipple-root-187"
/>
</button>
<button
class="MuiButtonBase-root-81 MuiButton-root-55 MuiButton-text-57 MuiButton-flat-60 button"
tabindex="0"
title="Everyone in your organization will be able to view and use these pipelines."
type="button"
>
<span
class="MuiButton-label-56"
>
<span>
Shared
</span>
</span>
<span
class="MuiTouchRipple-root-187"
/>
</button>
</div>
<div
class="pageOverflowHidden"
>
<div>
<div
class="MuiFormControl-root-84 filterBox"
spellcheck="false"
style="height: 48px; max-width: 100%; width: 100%;"
>
<label
class="MuiFormLabel-root-99 MuiInputLabel-root-88 noMargin MuiInputLabel-formControl-93 MuiInputLabel-animated-96 MuiInputLabel-shrink-95 MuiInputLabel-outlined-98"
data-shrink="true"
for="tableFilterBox"
>
Filter pipelines
</label>
<div
class="MuiInputBase-root-119 MuiOutlinedInput-root-106 noLeftPadding MuiInputBase-formControl-120 MuiInputBase-adornedStart-123 MuiOutlinedInput-adornedStart-109"
>
<fieldset
aria-hidden="true"
class="MuiPrivateNotchedOutline-root-136 MuiOutlinedInput-notchedOutline-113 filterBorderRadius"
style="padding-left: 8px;"
>
<legend
class="MuiPrivateNotchedOutline-legend-137"
style="width: 0px;"
>
<span>
</span>
</legend>
</fieldset>
<div
class="MuiInputAdornment-root-138 MuiInputAdornment-positionEnd-141"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-143"
focusable="false"
role="presentation"
style="color: rgb(128, 134, 139); padding-right: 16px;"
viewBox="0 0 24 24"
>
<path
d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</div>
<input
aria-invalid="false"
class="MuiInputBase-input-129 MuiOutlinedInput-input-114 MuiInputBase-inputAdornedStart-134 MuiOutlinedInput-inputAdornedStart-117"
id="tableFilterBox"
type="text"
value=""
/>
</div>
</div>
</div>
<div
class="header"
>
<div
class="columnName cell selectionToggle"
>
<span
style="display: inline-block; min-width: 42px; width: 42px;"
/>
</div>
<div
class="columnName"
style="width: 25%;"
title="Pipeline name"
>
<span
class="MuiButtonBase-root-81 MuiTableSortLabel-root-152 ellipsis"
role="button"
tabindex="0"
title="Sort"
>
Pipeline name
<svg
aria-hidden="true"
class="MuiSvgIcon-root-143 MuiTableSortLabel-icon-154 MuiTableSortLabel-iconDirectionDesc-155"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</span>
</div>
<div
class="columnName"
style="width: 50%;"
title="Description"
>
<span
class="MuiButtonBase-root-81 MuiTableSortLabel-root-152 ellipsis"
role="button"
tabindex="0"
title="Cannot sort by this column"
>
Description
<svg
aria-hidden="true"
class="MuiSvgIcon-root-143 MuiTableSortLabel-icon-154 MuiTableSortLabel-iconDirectionDesc-155"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</span>
</div>
<div
class="columnName"
style="width: 25%;"
title="Uploaded on"
>
<span
class="MuiButtonBase-root-81 MuiTableSortLabel-root-152 MuiTableSortLabel-active-153 ellipsis"
role="button"
tabindex="0"
title="Sort"
>
Uploaded on
<svg
aria-hidden="true"
class="MuiSvgIcon-root-143 MuiTableSortLabel-icon-154 MuiTableSortLabel-iconDirectionDesc-155"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</span>
</div>
</div>
<div
class="scrollContainer"
style="min-height: 60px;"
>
<div
class="expandableContainer"
>
<div
aria-checked="false"
class="tableRow row"
role="checkbox"
tabindex="-1"
>
<div
class="cell selectionToggle"
>
<span
class="MuiButtonBase-root-81 MuiIconButton-root-179 MuiPrivateSwitchBase-root-209 MuiRadio-root-204 MuiRadio-colorPrimary-207"
>
<span
class="MuiIconButton-label-184"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-143"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
<input
class="MuiPrivateSwitchBase-input-212"
type="radio"
value=""
/>
</span>
<span
class="MuiTouchRipple-root-187"
/>
</span>
</div>
<div
class="cell"
style="width: 25%;"
>
mock pipeline name
</div>
<div
class="cell"
style="width: 50%;"
/>
<div
class="cell"
style="width: 25%;"
>
-
</div>
</div>
</div>
<div
class="expandableContainer"
>
<div
aria-checked="false"
class="tableRow row"
role="checkbox"
tabindex="-1"
>
<div
class="cell selectionToggle"
>
<span
class="MuiButtonBase-root-81 MuiIconButton-root-179 MuiPrivateSwitchBase-root-209 MuiRadio-root-204 MuiRadio-colorPrimary-207"
>
<span
class="MuiIconButton-label-184"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-143"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
<input
class="MuiPrivateSwitchBase-input-212"
type="radio"
value=""
/>
</span>
<span
class="MuiTouchRipple-root-187"
/>
</span>
</div>
<div
class="cell"
style="width: 25%;"
>
mock pipeline name
</div>
<div
class="cell"
style="width: 50%;"
/>
<div
class="cell"
style="width: 25%;"
>
-
</div>
</div>
</div>
</div>
<div
class="footer"
>
<span
class=""
>
Rows per page:
</span>
<div
class="MuiFormControl-root-84 verticalAlignInitial rowsPerPage"
>
<div
class="MuiInputBase-root-119 MuiInput-root-164 MuiInputBase-formControl-120 MuiInput-formControl-165"
>
<div
class="MuiSelect-root-157"
>
<div
aria-haspopup="true"
aria-pressed="false"
class="MuiSelect-select-158 MuiSelect-selectMenu-161 MuiInputBase-input-129 MuiInput-input-172"
role="button"
tabindex="0"
>
10
</div>
<input
type="hidden"
value="10"
/>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-143 MuiSelect-icon-163"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M7 10l5 5 5-5z"
/>
</svg>
</div>
</div>
</div>
<button
class="MuiButtonBase-root-81 MuiButtonBase-disabled-82 MuiIconButton-root-179 MuiIconButton-disabled-183"
disabled=""
tabindex="-1"
type="button"
>
<span
class="MuiIconButton-label-184"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-143"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</span>
</button>
<button
class="MuiButtonBase-root-81 MuiButtonBase-disabled-82 MuiIconButton-root-179 MuiIconButton-disabled-183"
disabled=""
tabindex="-1"
type="button"
>
<span
class="MuiIconButton-label-184"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-143"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</span>
</button>
</div>
</div>
</div>
</div>
<div
class="MuiDialogActions-root-185"
>
<button
class="MuiButtonBase-root-81 MuiButton-root-55 MuiButton-text-57 MuiButton-textSecondary-59 MuiButton-flat-60 MuiButton-flatSecondary-62 MuiDialogActions-action-186"
id="cancelPipelineSelectionBtn"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-56"
>
Cancel
</span>
<span
class="MuiTouchRipple-root-187"
/>
</button>
<button
class="MuiButtonBase-root-81 MuiButtonBase-disabled-82 MuiButton-root-55 MuiButton-text-57 MuiButton-textSecondary-59 MuiButton-flat-60 MuiButton-flatSecondary-62 MuiButton-disabled-75 MuiDialogActions-action-186"
disabled=""
id="usePipelineBtn"
tabindex="-1"
type="button"
>
<span
class="MuiButton-label-56"
>
Use this pipeline
</span>
</button>
</div>
</div>
</div>
</div>
</body>,
"container": <div
aria-hidden="true"
/>,
"debug": [Function],
"findAllByAltText": [Function],
"findAllByDisplayValue": [Function],
"findAllByLabelText": [Function],
"findAllByPlaceholderText": [Function],
"findAllByRole": [Function],
"findAllByTestId": [Function],
"findAllByText": [Function],
"findAllByTitle": [Function],
"findByAltText": [Function],
"findByDisplayValue": [Function],
"findByLabelText": [Function],
"findByPlaceholderText": [Function],
"findByRole": [Function],
"findByTestId": [Function],
"findByText": [Function],
"findByTitle": [Function],
"getAllByAltText": [Function],
"getAllByDisplayValue": [Function],
"getAllByLabelText": [Function],
"getAllByPlaceholderText": [Function],
"getAllByRole": [Function],
"getAllByTestId": [Function],
"getAllByText": [Function],
"getAllByTitle": [Function],
"getByAltText": [Function],
"getByDisplayValue": [Function],
"getByLabelText": [Function],
"getByPlaceholderText": [Function],
"getByRole": [Function],
"getByTestId": [Function],
"getByText": [Function],
"getByTitle": [Function],
"queryAllByAltText": [Function],
"queryAllByDisplayValue": [Function],
"queryAllByLabelText": [Function],
"queryAllByPlaceholderText": [Function],
"queryAllByRole": [Function],
"queryAllByTestId": [Function],
"queryAllByText": [Function],
"queryAllByTitle": [Function],
"queryByAltText": [Function],
"queryByDisplayValue": [Function],
"queryByLabelText": [Function],
"queryByPlaceholderText": [Function],
"queryByRole": [Function],
"queryByTestId": [Function],
"queryByText": [Function],
"queryByTitle": [Function],
"rerender": [Function],
"unmount": [Function],
}
`;
exports[`PipelinesDialog it renders correctly in single user mode 1`] = `
Object {
"asFragment": [Function],
"baseElement": <body
style="padding-right: 0px; overflow: hidden;"
>
<div
aria-hidden="true"
/>
<div
class="MuiModal-root-227 MuiDialog-root-213"
role="dialog"
>
<div
aria-hidden="true"
class="MuiBackdrop-root-229"
style="opacity: 1; webkit-transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
/>
<div
class="MuiDialog-container-216 MuiDialog-scrollPaper-214"
role="document"
style="opacity: 1; webkit-transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
tabindex="-1"
>
<div
class="MuiPaper-root-231 MuiPaper-elevation24-257 MuiPaper-rounded-232 MuiDialog-paper-217 MuiDialog-paperScrollPaper-218 MuiDialog-paperWidthSm-221"
id="pipelineSelectorDialog"
>
<div
class="MuiDialogContent-root-258"
>
<div
class="root topLevelToolbar"
>
<div
style="min-width: 100px;"
>
<div
class="breadcrumbs flex"
/>
<div
class="flex"
>
<span
class="pageName ellipsis"
data-testid="page-title"
>
Choose a pipeline
</span>
</div>
</div>
<div
class="actions"
/>
</div>
<div
class="page"
>
<div
class="pageOverflowHidden"
>
<div>
<div
class="MuiFormControl-root-259 filterBox"
spellcheck="false"
style="height: 48px; max-width: 100%; width: 100%;"
>
<label
class="MuiFormLabel-root-274 MuiInputLabel-root-263 noMargin MuiInputLabel-formControl-268 MuiInputLabel-animated-271 MuiInputLabel-shrink-270 MuiInputLabel-outlined-273"
data-shrink="true"
for="tableFilterBox"
>
Filter pipelines
</label>
<div
class="MuiInputBase-root-294 MuiOutlinedInput-root-281 noLeftPadding MuiInputBase-formControl-295 MuiInputBase-adornedStart-298 MuiOutlinedInput-adornedStart-284"
>
<fieldset
aria-hidden="true"
class="MuiPrivateNotchedOutline-root-311 MuiOutlinedInput-notchedOutline-288 filterBorderRadius"
style="padding-left: 8px;"
>
<legend
class="MuiPrivateNotchedOutline-legend-312"
style="width: 0px;"
>
<span>
</span>
</legend>
</fieldset>
<div
class="MuiInputAdornment-root-313 MuiInputAdornment-positionEnd-316"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-318"
focusable="false"
role="presentation"
style="color: rgb(128, 134, 139); padding-right: 16px;"
viewBox="0 0 24 24"
>
<path
d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</div>
<input
aria-invalid="false"
class="MuiInputBase-input-304 MuiOutlinedInput-input-289 MuiInputBase-inputAdornedStart-309 MuiOutlinedInput-inputAdornedStart-292"
id="tableFilterBox"
type="text"
value=""
/>
</div>
</div>
</div>
<div
class="header"
>
<div
class="columnName cell selectionToggle"
>
<span
style="display: inline-block; min-width: 42px; width: 42px;"
/>
</div>
<div
class="columnName"
style="width: 25%;"
title="Pipeline name"
>
<span
class="MuiButtonBase-root-340 MuiTableSortLabel-root-335 ellipsis"
role="button"
tabindex="0"
title="Sort"
>
Pipeline name
<svg
aria-hidden="true"
class="MuiSvgIcon-root-318 MuiTableSortLabel-icon-337 MuiTableSortLabel-iconDirectionDesc-338"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</span>
</div>
<div
class="columnName"
style="width: 50%;"
title="Description"
>
<span
class="MuiButtonBase-root-340 MuiTableSortLabel-root-335 ellipsis"
role="button"
tabindex="0"
title="Cannot sort by this column"
>
Description
<svg
aria-hidden="true"
class="MuiSvgIcon-root-318 MuiTableSortLabel-icon-337 MuiTableSortLabel-iconDirectionDesc-338"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</span>
</div>
<div
class="columnName"
style="width: 25%;"
title="Uploaded on"
>
<span
class="MuiButtonBase-root-340 MuiTableSortLabel-root-335 MuiTableSortLabel-active-336 ellipsis"
role="button"
tabindex="0"
title="Sort"
>
Uploaded on
<svg
aria-hidden="true"
class="MuiSvgIcon-root-318 MuiTableSortLabel-icon-337 MuiTableSortLabel-iconDirectionDesc-338"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</span>
</div>
</div>
<div
class="scrollContainer"
style="min-height: 60px;"
>
<div
class="expandableContainer"
>
<div
aria-checked="false"
class="tableRow row"
role="checkbox"
tabindex="-1"
>
<div
class="cell selectionToggle"
>
<span
class="MuiButtonBase-root-340 MuiIconButton-root-365 MuiPrivateSwitchBase-root-421 MuiRadio-root-416 MuiRadio-colorPrimary-419"
>
<span
class="MuiIconButton-label-370"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-318"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
<input
class="MuiPrivateSwitchBase-input-424"
type="radio"
value=""
/>
</span>
<span
class="MuiTouchRipple-root-409"
/>
</span>
</div>
<div
class="cell"
style="width: 25%;"
>
mock pipeline name
</div>
<div
class="cell"
style="width: 50%;"
/>
<div
class="cell"
style="width: 25%;"
>
-
</div>
</div>
</div>
<div
class="expandableContainer"
>
<div
aria-checked="false"
class="tableRow row"
role="checkbox"
tabindex="-1"
>
<div
class="cell selectionToggle"
>
<span
class="MuiButtonBase-root-340 MuiIconButton-root-365 MuiPrivateSwitchBase-root-421 MuiRadio-root-416 MuiRadio-colorPrimary-419"
>
<span
class="MuiIconButton-label-370"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-318"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
<input
class="MuiPrivateSwitchBase-input-424"
type="radio"
value=""
/>
</span>
<span
class="MuiTouchRipple-root-409"
/>
</span>
</div>
<div
class="cell"
style="width: 25%;"
>
mock pipeline name
</div>
<div
class="cell"
style="width: 50%;"
/>
<div
class="cell"
style="width: 25%;"
>
-
</div>
</div>
</div>
</div>
<div
class="footer"
>
<span
class=""
>
Rows per page:
</span>
<div
class="MuiFormControl-root-259 verticalAlignInitial rowsPerPage"
>
<div
class="MuiInputBase-root-294 MuiInput-root-350 MuiInputBase-formControl-295 MuiInput-formControl-351"
>
<div
class="MuiSelect-root-343"
>
<div
aria-haspopup="true"
aria-pressed="false"
class="MuiSelect-select-344 MuiSelect-selectMenu-347 MuiInputBase-input-304 MuiInput-input-358"
role="button"
tabindex="0"
>
10
</div>
<input
type="hidden"
value="10"
/>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-318 MuiSelect-icon-349"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M7 10l5 5 5-5z"
/>
</svg>
</div>
</div>
</div>
<button
class="MuiButtonBase-root-340 MuiButtonBase-disabled-341 MuiIconButton-root-365 MuiIconButton-disabled-369"
disabled=""
tabindex="-1"
type="button"
>
<span
class="MuiIconButton-label-370"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-318"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</span>
</button>
<button
class="MuiButtonBase-root-340 MuiButtonBase-disabled-341 MuiIconButton-root-365 MuiIconButton-disabled-369"
disabled=""
tabindex="-1"
type="button"
>
<span
class="MuiIconButton-label-370"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-318"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</span>
</button>
</div>
</div>
</div>
</div>
<div
class="MuiDialogActions-root-371"
>
<button
class="MuiButtonBase-root-340 MuiButton-root-373 MuiButton-text-375 MuiButton-textSecondary-377 MuiButton-flat-378 MuiButton-flatSecondary-380 MuiDialogActions-action-372"
id="cancelPipelineSelectionBtn"
tabindex="0"
type="button"
>
<span
class="MuiButton-label-374"
>
Cancel
</span>
<span
class="MuiTouchRipple-root-409"
/>
</button>
<button
class="MuiButtonBase-root-340 MuiButtonBase-disabled-341 MuiButton-root-373 MuiButton-text-375 MuiButton-textSecondary-377 MuiButton-flat-378 MuiButton-flatSecondary-380 MuiButton-disabled-393 MuiDialogActions-action-372"
disabled=""
id="usePipelineBtn"
tabindex="-1"
type="button"
>
<span
class="MuiButton-label-374"
>
Use this pipeline
</span>
</button>
</div>
</div>
</div>
</div>
</body>,
"container": <div
aria-hidden="true"
/>,
"debug": [Function],
"findAllByAltText": [Function],
"findAllByDisplayValue": [Function],
"findAllByLabelText": [Function],
"findAllByPlaceholderText": [Function],
"findAllByRole": [Function],
"findAllByTestId": [Function],
"findAllByText": [Function],
"findAllByTitle": [Function],
"findByAltText": [Function],
"findByDisplayValue": [Function],
"findByLabelText": [Function],
"findByPlaceholderText": [Function],
"findByRole": [Function],
"findByTestId": [Function],
"findByText": [Function],
"findByTitle": [Function],
"getAllByAltText": [Function],
"getAllByDisplayValue": [Function],
"getAllByLabelText": [Function],
"getAllByPlaceholderText": [Function],
"getAllByRole": [Function],
"getAllByTestId": [Function],
"getAllByText": [Function],
"getAllByTitle": [Function],
"getByAltText": [Function],
"getByDisplayValue": [Function],
"getByLabelText": [Function],
"getByPlaceholderText": [Function],
"getByRole": [Function],
"getByTestId": [Function],
"getByText": [Function],
"getByTitle": [Function],
"queryAllByAltText": [Function],
"queryAllByDisplayValue": [Function],
"queryAllByLabelText": [Function],
"queryAllByPlaceholderText": [Function],
"queryAllByRole": [Function],
"queryAllByTestId": [Function],
"queryAllByText": [Function],
"queryAllByTitle": [Function],
"queryByAltText": [Function],
"queryByDisplayValue": [Function],
"queryByLabelText": [Function],
"queryByPlaceholderText": [Function],
"queryByRole": [Function],
"queryByTestId": [Function],
"queryByText": [Function],
"queryByTitle": [Function],
"rerender": [Function],
"unmount": [Function],
}
`;
| 323 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/ExperimentList.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ExperimentList loads multiple experiments 1`] = `
<div>
<CustomTable
columns={
Array [
Object {
"customRenderer": [Function],
"flex": 1,
"label": "Experiment name",
"sortKey": "name",
},
Object {
"flex": 2,
"label": "Description",
},
]
}
disableSelection={true}
emptyMessage="No archived experiments found."
filterLabel="Filter experiments"
getExpandComponent={[Function]}
initialSortColumn="created_at"
reload={[Function]}
rows={
Array [
Object {
"error": undefined,
"expandState": 0,
"id": "testexperiment1",
"otherFields": Array [
"experiment with id: testexperiment1",
undefined,
],
},
Object {
"error": undefined,
"expandState": 0,
"id": "testexperiment2",
"otherFields": Array [
"experiment with id: testexperiment2",
undefined,
],
},
Object {
"error": undefined,
"expandState": 0,
"id": "testexperiment3",
"otherFields": Array [
"experiment with id: testexperiment3",
undefined,
],
},
Object {
"error": undefined,
"expandState": 0,
"id": "testexperiment4",
"otherFields": Array [
"experiment with id: testexperiment4",
undefined,
],
},
Object {
"error": undefined,
"expandState": 0,
"id": "testexperiment5",
"otherFields": Array [
"experiment with id: testexperiment5",
undefined,
],
},
]
}
toggleExpansion={[Function]}
/>
</div>
`;
exports[`ExperimentList loads one experiment 1`] = `
<div>
<CustomTable
columns={
Array [
Object {
"customRenderer": [Function],
"flex": 1,
"label": "Experiment name",
"sortKey": "name",
},
Object {
"flex": 2,
"label": "Description",
},
]
}
disableSelection={true}
emptyMessage="No archived experiments found."
filterLabel="Filter experiments"
getExpandComponent={[Function]}
initialSortColumn="created_at"
reload={[Function]}
rows={
Array [
Object {
"error": undefined,
"expandState": 0,
"id": "testexperiment1",
"otherFields": Array [
"experiment with id: testexperiment1",
undefined,
],
},
]
}
toggleExpansion={[Function]}
/>
</div>
`;
exports[`ExperimentList reloads the experiment when refresh is called 1`] = `
<ExperimentList
history={Object {}}
location={
Object {
"search": "",
}
}
match=""
onError={[MockFunction]}
>
<div>
<CustomTable
columns={
Array [
Object {
"customRenderer": [Function],
"flex": 1,
"label": "Experiment name",
"sortKey": "name",
},
Object {
"flex": 2,
"label": "Description",
},
]
}
disableSelection={true}
emptyMessage="No archived experiments found."
filterLabel="Filter experiments"
getExpandComponent={[Function]}
initialSortColumn="created_at"
reload={[Function]}
rows={Array []}
toggleExpansion={[Function]}
>
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter experiments"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
>
<TextField
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
id="tableFilterBox"
label="Filter experiments"
onChange={[Function]}
required={false}
select={false}
spellCheck={false}
style={
Object {
"height": 48,
"maxWidth": "100%",
"width": "100%",
}
}
value=""
variant="outlined"
>
<WithStyles(FormControl)
className="filterBox"
required={false}
spellCheck={false}
style={
Object {
"height": 48,
"maxWidth": "100%",
"width": "100%",
}
}
variant="outlined"
>
<FormControl
className="filterBox"
classes={
Object {
"fullWidth": "MuiFormControl-fullWidth-4",
"marginDense": "MuiFormControl-marginDense-3",
"marginNormal": "MuiFormControl-marginNormal-2",
"root": "MuiFormControl-root-1",
}
}
component="div"
disabled={false}
error={false}
fullWidth={false}
margin="none"
required={false}
spellCheck={false}
style={
Object {
"height": 48,
"maxWidth": "100%",
"width": "100%",
}
}
variant="outlined"
>
<div
className="MuiFormControl-root-1 filterBox"
spellCheck={false}
style={
Object {
"height": 48,
"maxWidth": "100%",
"width": "100%",
}
}
>
<WithStyles(WithFormControlContext(InputLabel))
classes={
Object {
"root": "noMargin",
}
}
htmlFor="tableFilterBox"
>
<WithFormControlContext(InputLabel)
classes={
Object {
"animated": "MuiInputLabel-animated-13",
"disabled": "MuiInputLabel-disabled-7",
"error": "MuiInputLabel-error-8",
"filled": "MuiInputLabel-filled-14",
"focused": "MuiInputLabel-focused-6",
"formControl": "MuiInputLabel-formControl-10",
"marginDense": "MuiInputLabel-marginDense-11",
"outlined": "MuiInputLabel-outlined-15",
"required": "MuiInputLabel-required-9",
"root": "MuiInputLabel-root-5 noMargin",
"shrink": "MuiInputLabel-shrink-12",
}
}
htmlFor="tableFilterBox"
>
<InputLabel
classes={
Object {
"animated": "MuiInputLabel-animated-13",
"disabled": "MuiInputLabel-disabled-7",
"error": "MuiInputLabel-error-8",
"filled": "MuiInputLabel-filled-14",
"focused": "MuiInputLabel-focused-6",
"formControl": "MuiInputLabel-formControl-10",
"marginDense": "MuiInputLabel-marginDense-11",
"outlined": "MuiInputLabel-outlined-15",
"required": "MuiInputLabel-required-9",
"root": "MuiInputLabel-root-5 noMargin",
"shrink": "MuiInputLabel-shrink-12",
}
}
disableAnimation={false}
htmlFor="tableFilterBox"
muiFormControl={
Object {
"adornedStart": true,
"disabled": false,
"error": false,
"filled": false,
"focused": false,
"margin": "none",
"onBlur": [Function],
"onEmpty": [Function],
"onFilled": [Function],
"onFocus": [Function],
"required": false,
"variant": "outlined",
}
}
>
<WithStyles(WithFormControlContext(FormLabel))
className="MuiInputLabel-root-5 noMargin MuiInputLabel-formControl-10 MuiInputLabel-animated-13 MuiInputLabel-shrink-12 MuiInputLabel-outlined-15"
classes={
Object {
"disabled": "MuiInputLabel-disabled-7",
"error": "MuiInputLabel-error-8",
"focused": "MuiInputLabel-focused-6",
"required": "MuiInputLabel-required-9",
}
}
data-shrink={true}
htmlFor="tableFilterBox"
>
<WithFormControlContext(FormLabel)
className="MuiInputLabel-root-5 noMargin MuiInputLabel-formControl-10 MuiInputLabel-animated-13 MuiInputLabel-shrink-12 MuiInputLabel-outlined-15"
classes={
Object {
"asterisk": "MuiFormLabel-asterisk-22",
"disabled": "MuiFormLabel-disabled-18 MuiInputLabel-disabled-7",
"error": "MuiFormLabel-error-19 MuiInputLabel-error-8",
"filled": "MuiFormLabel-filled-20",
"focused": "MuiFormLabel-focused-17 MuiInputLabel-focused-6",
"required": "MuiFormLabel-required-21 MuiInputLabel-required-9",
"root": "MuiFormLabel-root-16",
}
}
data-shrink={true}
htmlFor="tableFilterBox"
>
<FormLabel
className="MuiInputLabel-root-5 noMargin MuiInputLabel-formControl-10 MuiInputLabel-animated-13 MuiInputLabel-shrink-12 MuiInputLabel-outlined-15"
classes={
Object {
"asterisk": "MuiFormLabel-asterisk-22",
"disabled": "MuiFormLabel-disabled-18 MuiInputLabel-disabled-7",
"error": "MuiFormLabel-error-19 MuiInputLabel-error-8",
"filled": "MuiFormLabel-filled-20",
"focused": "MuiFormLabel-focused-17 MuiInputLabel-focused-6",
"required": "MuiFormLabel-required-21 MuiInputLabel-required-9",
"root": "MuiFormLabel-root-16",
}
}
component="label"
data-shrink={true}
htmlFor="tableFilterBox"
muiFormControl={
Object {
"adornedStart": true,
"disabled": false,
"error": false,
"filled": false,
"focused": false,
"margin": "none",
"onBlur": [Function],
"onEmpty": [Function],
"onFilled": [Function],
"onFocus": [Function],
"required": false,
"variant": "outlined",
}
}
>
<label
className="MuiFormLabel-root-16 MuiInputLabel-root-5 noMargin MuiInputLabel-formControl-10 MuiInputLabel-animated-13 MuiInputLabel-shrink-12 MuiInputLabel-outlined-15"
data-shrink={true}
htmlFor="tableFilterBox"
>
Filter experiments
</label>
</FormLabel>
</WithFormControlContext(FormLabel)>
</WithStyles(WithFormControlContext(FormLabel))>
</InputLabel>
</WithFormControlContext(InputLabel)>
</WithStyles(WithFormControlContext(InputLabel))>
<WithStyles(OutlinedInput)
classes={
Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
}
}
id="tableFilterBox"
labelWidth={0}
onChange={[Function]}
startAdornment={
<WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>
}
value=""
>
<OutlinedInput
classes={
Object {
"adornedEnd": "MuiOutlinedInput-adornedEnd-27",
"adornedStart": "MuiOutlinedInput-adornedStart-26",
"disabled": "MuiOutlinedInput-disabled-25",
"error": "MuiOutlinedInput-error-28",
"focused": "MuiOutlinedInput-focused-24",
"input": "MuiOutlinedInput-input-31",
"inputAdornedEnd": "MuiOutlinedInput-inputAdornedEnd-35",
"inputAdornedStart": "MuiOutlinedInput-inputAdornedStart-34",
"inputMarginDense": "MuiOutlinedInput-inputMarginDense-32",
"inputMultiline": "MuiOutlinedInput-inputMultiline-33",
"multiline": "MuiOutlinedInput-multiline-29",
"notchedOutline": "MuiOutlinedInput-notchedOutline-30 filterBorderRadius",
"root": "MuiOutlinedInput-root-23 noLeftPadding",
}
}
id="tableFilterBox"
labelWidth={0}
onChange={[Function]}
startAdornment={
<WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>
}
value=""
>
<WithStyles(WithFormControlContext(InputBase))
classes={
Object {
"adornedEnd": "MuiOutlinedInput-adornedEnd-27",
"adornedStart": "MuiOutlinedInput-adornedStart-26",
"disabled": "MuiOutlinedInput-disabled-25",
"error": "MuiOutlinedInput-error-28",
"focused": "MuiOutlinedInput-focused-24",
"input": "MuiOutlinedInput-input-31",
"inputAdornedEnd": "MuiOutlinedInput-inputAdornedEnd-35",
"inputAdornedStart": "MuiOutlinedInput-inputAdornedStart-34",
"inputMarginDense": "MuiOutlinedInput-inputMarginDense-32",
"inputMultiline": "MuiOutlinedInput-inputMultiline-33",
"multiline": "MuiOutlinedInput-multiline-29",
"notchedOutline": null,
"root": "MuiOutlinedInput-root-23 noLeftPadding",
}
}
fullWidth={false}
id="tableFilterBox"
inputComponent="input"
multiline={false}
onChange={[Function]}
renderPrefix={[Function]}
startAdornment={
<WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>
}
type="text"
value=""
>
<WithFormControlContext(InputBase)
classes={
Object {
"adornedEnd": "MuiInputBase-adornedEnd-41 MuiOutlinedInput-adornedEnd-27",
"adornedStart": "MuiInputBase-adornedStart-40 MuiOutlinedInput-adornedStart-26",
"disabled": "MuiInputBase-disabled-39 MuiOutlinedInput-disabled-25",
"error": "MuiInputBase-error-42 MuiOutlinedInput-error-28",
"focused": "MuiInputBase-focused-38 MuiOutlinedInput-focused-24",
"formControl": "MuiInputBase-formControl-37",
"fullWidth": "MuiInputBase-fullWidth-45",
"input": "MuiInputBase-input-46 MuiOutlinedInput-input-31",
"inputAdornedEnd": "MuiInputBase-inputAdornedEnd-52 MuiOutlinedInput-inputAdornedEnd-35",
"inputAdornedStart": "MuiInputBase-inputAdornedStart-51 MuiOutlinedInput-inputAdornedStart-34",
"inputMarginDense": "MuiInputBase-inputMarginDense-47 MuiOutlinedInput-inputMarginDense-32",
"inputMultiline": "MuiInputBase-inputMultiline-48 MuiOutlinedInput-inputMultiline-33",
"inputType": "MuiInputBase-inputType-49",
"inputTypeSearch": "MuiInputBase-inputTypeSearch-50",
"marginDense": "MuiInputBase-marginDense-43",
"multiline": "MuiInputBase-multiline-44 MuiOutlinedInput-multiline-29",
"root": "MuiInputBase-root-36 MuiOutlinedInput-root-23 noLeftPadding",
}
}
fullWidth={false}
id="tableFilterBox"
inputComponent="input"
multiline={false}
onChange={[Function]}
renderPrefix={[Function]}
startAdornment={
<WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>
}
type="text"
value=""
>
<InputBase
classes={
Object {
"adornedEnd": "MuiInputBase-adornedEnd-41 MuiOutlinedInput-adornedEnd-27",
"adornedStart": "MuiInputBase-adornedStart-40 MuiOutlinedInput-adornedStart-26",
"disabled": "MuiInputBase-disabled-39 MuiOutlinedInput-disabled-25",
"error": "MuiInputBase-error-42 MuiOutlinedInput-error-28",
"focused": "MuiInputBase-focused-38 MuiOutlinedInput-focused-24",
"formControl": "MuiInputBase-formControl-37",
"fullWidth": "MuiInputBase-fullWidth-45",
"input": "MuiInputBase-input-46 MuiOutlinedInput-input-31",
"inputAdornedEnd": "MuiInputBase-inputAdornedEnd-52 MuiOutlinedInput-inputAdornedEnd-35",
"inputAdornedStart": "MuiInputBase-inputAdornedStart-51 MuiOutlinedInput-inputAdornedStart-34",
"inputMarginDense": "MuiInputBase-inputMarginDense-47 MuiOutlinedInput-inputMarginDense-32",
"inputMultiline": "MuiInputBase-inputMultiline-48 MuiOutlinedInput-inputMultiline-33",
"inputType": "MuiInputBase-inputType-49",
"inputTypeSearch": "MuiInputBase-inputTypeSearch-50",
"marginDense": "MuiInputBase-marginDense-43",
"multiline": "MuiInputBase-multiline-44 MuiOutlinedInput-multiline-29",
"root": "MuiInputBase-root-36 MuiOutlinedInput-root-23 noLeftPadding",
}
}
fullWidth={false}
id="tableFilterBox"
inputComponent="input"
muiFormControl={
Object {
"adornedStart": true,
"disabled": false,
"error": false,
"filled": false,
"focused": false,
"margin": "none",
"onBlur": [Function],
"onEmpty": [Function],
"onFilled": [Function],
"onFocus": [Function],
"required": false,
"variant": "outlined",
}
}
multiline={false}
onChange={[Function]}
renderPrefix={[Function]}
startAdornment={
<WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>
}
type="text"
value=""
>
<div
className="MuiInputBase-root-36 MuiOutlinedInput-root-23 noLeftPadding MuiInputBase-formControl-37 MuiInputBase-adornedStart-40 MuiOutlinedInput-adornedStart-26"
onClick={[Function]}
>
<WithStyles(NotchedOutline)
className="MuiOutlinedInput-notchedOutline-30 filterBorderRadius"
labelWidth={0}
notched={true}
>
<NotchedOutline
className="MuiOutlinedInput-notchedOutline-30 filterBorderRadius"
classes={
Object {
"legend": "MuiPrivateNotchedOutline-legend-54",
"root": "MuiPrivateNotchedOutline-root-53",
}
}
labelWidth={0}
notched={true}
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
>
<fieldset
aria-hidden={true}
className="MuiPrivateNotchedOutline-root-53 MuiOutlinedInput-notchedOutline-30 filterBorderRadius"
style={
Object {
"paddingLeft": 8,
}
}
>
<legend
className="MuiPrivateNotchedOutline-legend-54"
style={
Object {
"width": 0,
}
}
>
<span
dangerouslySetInnerHTML={
Object {
"__html": "​",
}
}
/>
</legend>
</fieldset>
</NotchedOutline>
</WithStyles(NotchedOutline)>
<WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<WithFormControlContext(InputAdornment)
classes={
Object {
"disablePointerEvents": "MuiInputAdornment-disablePointerEvents-59",
"filled": "MuiInputAdornment-filled-56",
"positionEnd": "MuiInputAdornment-positionEnd-58",
"positionStart": "MuiInputAdornment-positionStart-57",
"root": "MuiInputAdornment-root-55",
}
}
position="end"
>
<InputAdornment
classes={
Object {
"disablePointerEvents": "MuiInputAdornment-disablePointerEvents-59",
"filled": "MuiInputAdornment-filled-56",
"positionEnd": "MuiInputAdornment-positionEnd-58",
"positionStart": "MuiInputAdornment-positionStart-57",
"root": "MuiInputAdornment-root-55",
}
}
component="div"
disablePointerEvents={false}
disableTypography={false}
muiFormControl={
Object {
"adornedStart": true,
"disabled": false,
"error": false,
"filled": false,
"focused": false,
"margin": "none",
"onBlur": [Function],
"onEmpty": [Function],
"onFilled": [Function],
"onFocus": [Function],
"required": false,
"variant": "outlined",
}
}
position="end"
>
<div
className="MuiInputAdornment-root-55 MuiInputAdornment-positionEnd-58"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
>
<FilterListIcon
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
>
<WithStyles(SvgIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-63",
"colorDisabled": "MuiSvgIcon-colorDisabled-65",
"colorError": "MuiSvgIcon-colorError-64",
"colorPrimary": "MuiSvgIcon-colorPrimary-61",
"colorSecondary": "MuiSvgIcon-colorSecondary-62",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-66",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-68",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-67",
"root": "MuiSvgIcon-root-60",
}
}
color="inherit"
component="svg"
fontSize="default"
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-60"
focusable="false"
role="presentation"
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
viewBox="0 0 24 24"
>
<path
d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</FilterListIcon>
</pure(FilterListIcon)>
</div>
</InputAdornment>
</WithFormControlContext(InputAdornment)>
</WithStyles(WithFormControlContext(InputAdornment))>
<input
aria-invalid={false}
className="MuiInputBase-input-46 MuiOutlinedInput-input-31 MuiInputBase-inputAdornedStart-51 MuiOutlinedInput-inputAdornedStart-34"
disabled={false}
id="tableFilterBox"
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
required={false}
type="text"
value=""
/>
</div>
</InputBase>
</WithFormControlContext(InputBase)>
</WithStyles(WithFormControlContext(InputBase))>
</OutlinedInput>
</WithStyles(OutlinedInput)>
</div>
</FormControl>
</WithStyles(FormControl)>
</TextField>
</Input>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<Separator
orientation="horizontal"
units={40}
>
<span
style={
Object {
"display": "inline-block",
"minWidth": 40,
"width": 40,
}
}
/>
</Separator>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "33.33333333333333%",
}
}
title="Experiment name"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-69",
"popperInteractive": "MuiTooltip-popperInteractive-70",
"tooltip": "MuiTooltip-tooltip-71",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-76",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-73",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-74",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-75",
"touch": "MuiTooltip-touch-72",
}
}
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="bottom"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Sort"
>
<RootRef
rootRef={[Function]}
>
<WithStyles(TableSortLabel)
active={false}
aria-describedby={null}
className="ellipsis"
direction="desc"
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Sort"
>
<TableSortLabel
IconComponent={[Function]}
active={false}
aria-describedby={null}
className="ellipsis"
classes={
Object {
"active": "MuiTableSortLabel-active-78",
"icon": "MuiTableSortLabel-icon-79",
"iconDirectionAsc": "MuiTableSortLabel-iconDirectionAsc-81",
"iconDirectionDesc": "MuiTableSortLabel-iconDirectionDesc-80",
"root": "MuiTableSortLabel-root-77",
}
}
direction="desc"
hideSortIcon={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Sort"
>
<WithStyles(ButtonBase)
aria-describedby={null}
className="MuiTableSortLabel-root-77 ellipsis"
component="span"
disableRipple={true}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Sort"
>
<ButtonBase
aria-describedby={null}
centerRipple={false}
className="MuiTableSortLabel-root-77 ellipsis"
classes={
Object {
"disabled": "MuiButtonBase-disabled-83",
"focusVisible": "MuiButtonBase-focusVisible-84",
"root": "MuiButtonBase-root-82",
}
}
component="span"
disableRipple={true}
disableTouchRipple={false}
focusRipple={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
tabIndex="0"
title="Sort"
type="button"
>
<span
aria-describedby={null}
className="MuiButtonBase-root-82 MuiTableSortLabel-root-77 ellipsis"
onBlur={[Function]}
onClick={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
role="button"
tabIndex="0"
title="Sort"
>
Experiment name
<pure(ArrowDownward)
className="MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
>
<ArrowDownward
className="MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
>
<WithStyles(SvgIcon)
className="MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
>
<SvgIcon
className="MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-63",
"colorDisabled": "MuiSvgIcon-colorDisabled-65",
"colorError": "MuiSvgIcon-colorError-64",
"colorPrimary": "MuiSvgIcon-colorPrimary-61",
"colorSecondary": "MuiSvgIcon-colorSecondary-62",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-66",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-68",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-67",
"root": "MuiSvgIcon-root-60",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-60 MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</ArrowDownward>
</pure(ArrowDownward)>
</span>
</ButtonBase>
</WithStyles(ButtonBase)>
</TableSortLabel>
</WithStyles(TableSortLabel)>
</RootRef>
<Popper
anchorEl={
<span
class="MuiButtonBase-root-82 MuiTableSortLabel-root-77 ellipsis"
role="button"
tabindex="0"
title="Sort"
>
Experiment name
<svg
aria-hidden="true"
class="MuiSvgIcon-root-60 MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</span>
}
className="MuiTooltip-popper-69"
disablePortal={false}
id={null}
open={false}
placement="bottom"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "66.66666666666666%",
}
}
title="Description"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<Tooltip
TransitionComponent={[Function]}
classes={
Object {
"popper": "MuiTooltip-popper-69",
"popperInteractive": "MuiTooltip-popperInteractive-70",
"tooltip": "MuiTooltip-tooltip-71",
"tooltipPlacementBottom": "MuiTooltip-tooltipPlacementBottom-76",
"tooltipPlacementLeft": "MuiTooltip-tooltipPlacementLeft-73",
"tooltipPlacementRight": "MuiTooltip-tooltipPlacementRight-74",
"tooltipPlacementTop": "MuiTooltip-tooltipPlacementTop-75",
"touch": "MuiTooltip-touch-72",
}
}
disableFocusListener={false}
disableHoverListener={false}
disableTouchListener={false}
enterDelay={300}
enterTouchDelay={1000}
interactive={false}
leaveDelay={0}
leaveTouchDelay={1500}
placement="bottom"
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
title="Cannot sort by this column"
>
<RootRef
rootRef={[Function]}
>
<WithStyles(TableSortLabel)
active={false}
aria-describedby={null}
className="ellipsis"
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Cannot sort by this column"
>
<TableSortLabel
IconComponent={[Function]}
active={false}
aria-describedby={null}
className="ellipsis"
classes={
Object {
"active": "MuiTableSortLabel-active-78",
"icon": "MuiTableSortLabel-icon-79",
"iconDirectionAsc": "MuiTableSortLabel-iconDirectionAsc-81",
"iconDirectionDesc": "MuiTableSortLabel-iconDirectionDesc-80",
"root": "MuiTableSortLabel-root-77",
}
}
direction="desc"
hideSortIcon={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Cannot sort by this column"
>
<WithStyles(ButtonBase)
aria-describedby={null}
className="MuiTableSortLabel-root-77 ellipsis"
component="span"
disableRipple={true}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
title="Cannot sort by this column"
>
<ButtonBase
aria-describedby={null}
centerRipple={false}
className="MuiTableSortLabel-root-77 ellipsis"
classes={
Object {
"disabled": "MuiButtonBase-disabled-83",
"focusVisible": "MuiButtonBase-focusVisible-84",
"root": "MuiButtonBase-root-82",
}
}
component="span"
disableRipple={true}
disableTouchRipple={false}
focusRipple={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
tabIndex="0"
title="Cannot sort by this column"
type="button"
>
<span
aria-describedby={null}
className="MuiButtonBase-root-82 MuiTableSortLabel-root-77 ellipsis"
onBlur={[Function]}
onClick={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
role="button"
tabIndex="0"
title="Cannot sort by this column"
>
Description
<pure(ArrowDownward)
className="MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
>
<ArrowDownward
className="MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
>
<WithStyles(SvgIcon)
className="MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
>
<SvgIcon
className="MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-63",
"colorDisabled": "MuiSvgIcon-colorDisabled-65",
"colorError": "MuiSvgIcon-colorError-64",
"colorPrimary": "MuiSvgIcon-colorPrimary-61",
"colorSecondary": "MuiSvgIcon-colorSecondary-62",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-66",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-68",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-67",
"root": "MuiSvgIcon-root-60",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-60 MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</ArrowDownward>
</pure(ArrowDownward)>
</span>
</ButtonBase>
</WithStyles(ButtonBase)>
</TableSortLabel>
</WithStyles(TableSortLabel)>
</RootRef>
<Popper
anchorEl={
<span
class="MuiButtonBase-root-82 MuiTableSortLabel-root-77 ellipsis"
role="button"
tabindex="0"
title="Cannot sort by this column"
>
Description
<svg
aria-hidden="true"
class="MuiSvgIcon-root-60 MuiTableSortLabel-icon-79 MuiTableSortLabel-iconDirectionDesc-80"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
/>
</svg>
</span>
}
className="MuiTooltip-popper-69"
disablePortal={false}
id={null}
open={false}
placement="bottom"
transition={true}
/>
</Tooltip>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="emptyMessage"
>
No archived experiments found.
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(FormControl)
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
required={false}
variant="standard"
>
<FormControl
className="rowsPerPage"
classes={
Object {
"fullWidth": "MuiFormControl-fullWidth-4",
"marginDense": "MuiFormControl-marginDense-3",
"marginNormal": "MuiFormControl-marginNormal-2",
"root": "MuiFormControl-root-1 verticalAlignInitial",
}
}
component="div"
disabled={false}
error={false}
fullWidth={false}
margin="none"
required={false}
variant="standard"
>
<div
className="MuiFormControl-root-1 verticalAlignInitial rowsPerPage"
>
<WithStyles(WithFormControlContext(Select))
input={
<WithStyles(Input)
disableUnderline={true}
onChange={[Function]}
value={10}
/>
}
value={10}
>
<WithFormControlContext(Select)
classes={
Object {
"disabled": "MuiSelect-disabled-90",
"filled": "MuiSelect-filled-87",
"icon": "MuiSelect-icon-91",
"outlined": "MuiSelect-outlined-88",
"root": "MuiSelect-root-85",
"select": "MuiSelect-select-86",
"selectMenu": "MuiSelect-selectMenu-89",
}
}
input={
<WithStyles(Input)
disableUnderline={true}
onChange={[Function]}
value={10}
/>
}
value={10}
>
<Select
IconComponent={[Function]}
autoWidth={false}
classes={
Object {
"disabled": "MuiSelect-disabled-90",
"filled": "MuiSelect-filled-87",
"icon": "MuiSelect-icon-91",
"outlined": "MuiSelect-outlined-88",
"root": "MuiSelect-root-85",
"select": "MuiSelect-select-86",
"selectMenu": "MuiSelect-selectMenu-89",
}
}
displayEmpty={false}
input={
<WithStyles(Input)
disableUnderline={true}
onChange={[Function]}
value={10}
/>
}
muiFormControl={
Object {
"adornedStart": false,
"disabled": false,
"error": false,
"filled": true,
"focused": false,
"margin": "none",
"onBlur": [Function],
"onEmpty": [Function],
"onFilled": [Function],
"onFocus": [Function],
"required": false,
"variant": "standard",
}
}
multiple={false}
native={false}
value={10}
>
<WithStyles(Input)
disableUnderline={true}
inputComponent={[Function]}
inputProps={
Object {
"IconComponent": [Function],
"MenuProps": undefined,
"SelectDisplayProps": undefined,
"autoWidth": false,
"children": Array [
<WithStyles(MenuItem)
value={10}
>
10
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={20}
>
20
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={50}
>
50
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={100}
>
100
</WithStyles(MenuItem)>,
],
"classes": Object {
"disabled": "MuiSelect-disabled-90",
"filled": "MuiSelect-filled-87",
"icon": "MuiSelect-icon-91",
"outlined": "MuiSelect-outlined-88",
"root": "MuiSelect-root-85",
"select": "MuiSelect-select-86",
"selectMenu": "MuiSelect-selectMenu-89",
},
"displayEmpty": false,
"multiple": false,
"onClose": undefined,
"onOpen": undefined,
"open": undefined,
"renderValue": undefined,
"type": undefined,
"variant": "standard",
}
}
onChange={[Function]}
value={10}
>
<Input
classes={
Object {
"disabled": "MuiInput-disabled-95",
"error": "MuiInput-error-97",
"focused": "MuiInput-focused-94",
"formControl": "MuiInput-formControl-93",
"fullWidth": "MuiInput-fullWidth-99",
"input": "MuiInput-input-100",
"inputMarginDense": "MuiInput-inputMarginDense-101",
"inputMultiline": "MuiInput-inputMultiline-102",
"inputType": "MuiInput-inputType-103",
"inputTypeSearch": "MuiInput-inputTypeSearch-104",
"multiline": "MuiInput-multiline-98",
"root": "MuiInput-root-92",
"underline": "MuiInput-underline-96",
}
}
disableUnderline={true}
inputComponent={[Function]}
inputProps={
Object {
"IconComponent": [Function],
"MenuProps": undefined,
"SelectDisplayProps": undefined,
"autoWidth": false,
"children": Array [
<WithStyles(MenuItem)
value={10}
>
10
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={20}
>
20
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={50}
>
50
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={100}
>
100
</WithStyles(MenuItem)>,
],
"classes": Object {
"disabled": "MuiSelect-disabled-90",
"filled": "MuiSelect-filled-87",
"icon": "MuiSelect-icon-91",
"outlined": "MuiSelect-outlined-88",
"root": "MuiSelect-root-85",
"select": "MuiSelect-select-86",
"selectMenu": "MuiSelect-selectMenu-89",
},
"displayEmpty": false,
"multiple": false,
"onClose": undefined,
"onOpen": undefined,
"open": undefined,
"renderValue": undefined,
"type": undefined,
"variant": "standard",
}
}
onChange={[Function]}
value={10}
>
<WithStyles(WithFormControlContext(InputBase))
classes={
Object {
"disabled": "MuiInput-disabled-95",
"error": "MuiInput-error-97",
"focused": "MuiInput-focused-94",
"formControl": "MuiInput-formControl-93",
"fullWidth": "MuiInput-fullWidth-99",
"input": "MuiInput-input-100",
"inputMarginDense": "MuiInput-inputMarginDense-101",
"inputMultiline": "MuiInput-inputMultiline-102",
"inputType": "MuiInput-inputType-103",
"inputTypeSearch": "MuiInput-inputTypeSearch-104",
"multiline": "MuiInput-multiline-98",
"root": "MuiInput-root-92",
"underline": null,
}
}
fullWidth={false}
inputComponent={[Function]}
inputProps={
Object {
"IconComponent": [Function],
"MenuProps": undefined,
"SelectDisplayProps": undefined,
"autoWidth": false,
"children": Array [
<WithStyles(MenuItem)
value={10}
>
10
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={20}
>
20
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={50}
>
50
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={100}
>
100
</WithStyles(MenuItem)>,
],
"classes": Object {
"disabled": "MuiSelect-disabled-90",
"filled": "MuiSelect-filled-87",
"icon": "MuiSelect-icon-91",
"outlined": "MuiSelect-outlined-88",
"root": "MuiSelect-root-85",
"select": "MuiSelect-select-86",
"selectMenu": "MuiSelect-selectMenu-89",
},
"displayEmpty": false,
"multiple": false,
"onClose": undefined,
"onOpen": undefined,
"open": undefined,
"renderValue": undefined,
"type": undefined,
"variant": "standard",
}
}
multiline={false}
onChange={[Function]}
type="text"
value={10}
>
<WithFormControlContext(InputBase)
classes={
Object {
"adornedEnd": "MuiInputBase-adornedEnd-41",
"adornedStart": "MuiInputBase-adornedStart-40",
"disabled": "MuiInputBase-disabled-39 MuiInput-disabled-95",
"error": "MuiInputBase-error-42 MuiInput-error-97",
"focused": "MuiInputBase-focused-38 MuiInput-focused-94",
"formControl": "MuiInputBase-formControl-37 MuiInput-formControl-93",
"fullWidth": "MuiInputBase-fullWidth-45 MuiInput-fullWidth-99",
"input": "MuiInputBase-input-46 MuiInput-input-100",
"inputAdornedEnd": "MuiInputBase-inputAdornedEnd-52",
"inputAdornedStart": "MuiInputBase-inputAdornedStart-51",
"inputMarginDense": "MuiInputBase-inputMarginDense-47 MuiInput-inputMarginDense-101",
"inputMultiline": "MuiInputBase-inputMultiline-48 MuiInput-inputMultiline-102",
"inputType": "MuiInputBase-inputType-49 MuiInput-inputType-103",
"inputTypeSearch": "MuiInputBase-inputTypeSearch-50 MuiInput-inputTypeSearch-104",
"marginDense": "MuiInputBase-marginDense-43",
"multiline": "MuiInputBase-multiline-44 MuiInput-multiline-98",
"root": "MuiInputBase-root-36 MuiInput-root-92",
}
}
fullWidth={false}
inputComponent={[Function]}
inputProps={
Object {
"IconComponent": [Function],
"MenuProps": undefined,
"SelectDisplayProps": undefined,
"autoWidth": false,
"children": Array [
<WithStyles(MenuItem)
value={10}
>
10
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={20}
>
20
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={50}
>
50
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={100}
>
100
</WithStyles(MenuItem)>,
],
"classes": Object {
"disabled": "MuiSelect-disabled-90",
"filled": "MuiSelect-filled-87",
"icon": "MuiSelect-icon-91",
"outlined": "MuiSelect-outlined-88",
"root": "MuiSelect-root-85",
"select": "MuiSelect-select-86",
"selectMenu": "MuiSelect-selectMenu-89",
},
"displayEmpty": false,
"multiple": false,
"onClose": undefined,
"onOpen": undefined,
"open": undefined,
"renderValue": undefined,
"type": undefined,
"variant": "standard",
}
}
multiline={false}
onChange={[Function]}
type="text"
value={10}
>
<InputBase
classes={
Object {
"adornedEnd": "MuiInputBase-adornedEnd-41",
"adornedStart": "MuiInputBase-adornedStart-40",
"disabled": "MuiInputBase-disabled-39 MuiInput-disabled-95",
"error": "MuiInputBase-error-42 MuiInput-error-97",
"focused": "MuiInputBase-focused-38 MuiInput-focused-94",
"formControl": "MuiInputBase-formControl-37 MuiInput-formControl-93",
"fullWidth": "MuiInputBase-fullWidth-45 MuiInput-fullWidth-99",
"input": "MuiInputBase-input-46 MuiInput-input-100",
"inputAdornedEnd": "MuiInputBase-inputAdornedEnd-52",
"inputAdornedStart": "MuiInputBase-inputAdornedStart-51",
"inputMarginDense": "MuiInputBase-inputMarginDense-47 MuiInput-inputMarginDense-101",
"inputMultiline": "MuiInputBase-inputMultiline-48 MuiInput-inputMultiline-102",
"inputType": "MuiInputBase-inputType-49 MuiInput-inputType-103",
"inputTypeSearch": "MuiInputBase-inputTypeSearch-50 MuiInput-inputTypeSearch-104",
"marginDense": "MuiInputBase-marginDense-43",
"multiline": "MuiInputBase-multiline-44 MuiInput-multiline-98",
"root": "MuiInputBase-root-36 MuiInput-root-92",
}
}
fullWidth={false}
inputComponent={[Function]}
inputProps={
Object {
"IconComponent": [Function],
"MenuProps": undefined,
"SelectDisplayProps": undefined,
"autoWidth": false,
"children": Array [
<WithStyles(MenuItem)
value={10}
>
10
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={20}
>
20
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={50}
>
50
</WithStyles(MenuItem)>,
<WithStyles(MenuItem)
value={100}
>
100
</WithStyles(MenuItem)>,
],
"classes": Object {
"disabled": "MuiSelect-disabled-90",
"filled": "MuiSelect-filled-87",
"icon": "MuiSelect-icon-91",
"outlined": "MuiSelect-outlined-88",
"root": "MuiSelect-root-85",
"select": "MuiSelect-select-86",
"selectMenu": "MuiSelect-selectMenu-89",
},
"displayEmpty": false,
"multiple": false,
"onClose": undefined,
"onOpen": undefined,
"open": undefined,
"renderValue": undefined,
"type": undefined,
"variant": "standard",
}
}
muiFormControl={
Object {
"adornedStart": false,
"disabled": false,
"error": false,
"filled": true,
"focused": false,
"margin": "none",
"onBlur": [Function],
"onEmpty": [Function],
"onFilled": [Function],
"onFocus": [Function],
"required": false,
"variant": "standard",
}
}
multiline={false}
onChange={[Function]}
type="text"
value={10}
>
<div
className="MuiInputBase-root-36 MuiInput-root-92 MuiInputBase-formControl-37 MuiInput-formControl-93"
onClick={[Function]}
>
<SelectInput
IconComponent={[Function]}
aria-invalid={false}
autoWidth={false}
className="MuiInputBase-input-46 MuiInput-input-100"
classes={
Object {
"disabled": "MuiSelect-disabled-90",
"filled": "MuiSelect-filled-87",
"icon": "MuiSelect-icon-91",
"outlined": "MuiSelect-outlined-88",
"root": "MuiSelect-root-85",
"select": "MuiSelect-select-86",
"selectMenu": "MuiSelect-selectMenu-89",
}
}
disabled={false}
displayEmpty={false}
inputRef={[Function]}
multiple={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
required={false}
value={10}
variant="standard"
>
<div
className="MuiSelect-root-85"
>
<div
aria-haspopup="true"
aria-pressed="false"
className="MuiSelect-select-86 MuiSelect-selectMenu-89 MuiInputBase-input-46 MuiInput-input-100"
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
role="button"
tabIndex={0}
>
10
</div>
<input
type="hidden"
value={10}
/>
<pure(ArrowDropDown)
className="MuiSelect-icon-91"
>
<ArrowDropDown
className="MuiSelect-icon-91"
>
<WithStyles(SvgIcon)
className="MuiSelect-icon-91"
>
<SvgIcon
className="MuiSelect-icon-91"
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-63",
"colorDisabled": "MuiSvgIcon-colorDisabled-65",
"colorError": "MuiSvgIcon-colorError-64",
"colorPrimary": "MuiSvgIcon-colorPrimary-61",
"colorSecondary": "MuiSvgIcon-colorSecondary-62",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-66",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-68",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-67",
"root": "MuiSvgIcon-root-60",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-60 MuiSelect-icon-91"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M7 10l5 5 5-5z"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</ArrowDropDown>
</pure(ArrowDropDown)>
<WithStyles(Menu)
MenuListProps={
Object {
"disableListWrap": true,
"role": "listbox",
}
}
PaperProps={
Object {
"style": Object {
"minWidth": null,
},
}
}
anchorEl={
<div
aria-haspopup="true"
aria-pressed="false"
class="MuiSelect-select-86 MuiSelect-selectMenu-89 MuiInputBase-input-46 MuiInput-input-100"
role="button"
tabindex="0"
>
10
</div>
}
id="menu-"
onClose={[Function]}
open={false}
>
<Menu
MenuListProps={
Object {
"disableListWrap": true,
"role": "listbox",
}
}
PaperProps={
Object {
"style": Object {
"minWidth": null,
},
}
}
anchorEl={
<div
aria-haspopup="true"
aria-pressed="false"
class="MuiSelect-select-86 MuiSelect-selectMenu-89 MuiInputBase-input-46 MuiInput-input-100"
role="button"
tabindex="0"
>
10
</div>
}
classes={
Object {
"paper": "MuiMenu-paper-105",
}
}
disableAutoFocusItem={false}
id="menu-"
onClose={[Function]}
open={false}
theme={
Object {
"breakpoints": Object {
"between": [Function],
"down": [Function],
"keys": Array [
"xs",
"sm",
"md",
"lg",
"xl",
],
"only": [Function],
"up": [Function],
"values": Object {
"lg": 1280,
"md": 960,
"sm": 600,
"xl": 1920,
"xs": 0,
},
"width": [Function],
},
"direction": "ltr",
"mixins": Object {
"gutters": [Function],
"toolbar": Object {
"@media (min-width:0px) and (orientation: landscape)": Object {
"minHeight": 48,
},
"@media (min-width:600px)": Object {
"minHeight": 64,
},
"minHeight": 56,
},
},
"overrides": Object {},
"palette": Object {
"action": Object {
"active": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.26)",
"disabledBackground": "rgba(0, 0, 0, 0.12)",
"hover": "rgba(0, 0, 0, 0.08)",
"hoverOpacity": 0.08,
"selected": "rgba(0, 0, 0, 0.14)",
},
"augmentColor": [Function],
"background": Object {
"default": "#fafafa",
"paper": "#fff",
},
"common": Object {
"black": "#000",
"white": "#fff",
},
"contrastThreshold": 3,
"divider": "rgba(0, 0, 0, 0.12)",
"error": Object {
"contrastText": "#fff",
"dark": "#d32f2f",
"light": "#e57373",
"main": "#f44336",
},
"getContrastText": [Function],
"grey": Object {
"100": "#f5f5f5",
"200": "#eeeeee",
"300": "#e0e0e0",
"400": "#bdbdbd",
"50": "#fafafa",
"500": "#9e9e9e",
"600": "#757575",
"700": "#616161",
"800": "#424242",
"900": "#212121",
"A100": "#d5d5d5",
"A200": "#aaaaaa",
"A400": "#303030",
"A700": "#616161",
},
"primary": Object {
"contrastText": "#fff",
"dark": "#303f9f",
"light": "#7986cb",
"main": "#3f51b5",
},
"secondary": Object {
"contrastText": "#fff",
"dark": "#c51162",
"light": "#ff4081",
"main": "#f50057",
},
"text": Object {
"disabled": "rgba(0, 0, 0, 0.38)",
"hint": "rgba(0, 0, 0, 0.38)",
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
},
"tonalOffset": 0.2,
"type": "light",
},
"props": Object {},
"shadows": Array [
"none",
"0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12)",
"0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12)",
"0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)",
"0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)",
"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)",
"0px 4px 5px -2px rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px rgba(0,0,0,0.12)",
"0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)",
"0px 5px 6px -3px rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px rgba(0,0,0,0.12)",
"0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12)",
"0px 6px 7px -4px rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px rgba(0,0,0,0.12)",
"0px 7px 8px -4px rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px rgba(0,0,0,0.12)",
"0px 7px 9px -4px rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px rgba(0,0,0,0.12)",
"0px 8px 9px -5px rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px rgba(0,0,0,0.12)",
"0px 8px 10px -5px rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px rgba(0,0,0,0.12)",
"0px 8px 11px -5px rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6px 32px 5px rgba(0,0,0,0.12)",
"0px 9px 11px -5px rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px rgba(0,0,0,0.12)",
"0px 9px 12px -6px rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px rgba(0,0,0,0.12)",
"0px 10px 13px -6px rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px rgba(0,0,0,0.12)",
"0px 10px 14px -6px rgba(0,0,0,0.2),0px 22px 35px 3px rgba(0,0,0,0.14),0px 8px 42px 7px rgba(0,0,0,0.12)",
"0px 11px 14px -7px rgba(0,0,0,0.2),0px 23px 36px 3px rgba(0,0,0,0.14),0px 9px 44px 8px rgba(0,0,0,0.12)",
"0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12)",
],
"shape": Object {
"borderRadius": 4,
},
"spacing": Object {
"unit": 8,
},
"transitions": Object {
"create": [Function],
"duration": Object {
"complex": 375,
"enteringScreen": 225,
"leavingScreen": 195,
"short": 250,
"shorter": 200,
"shortest": 150,
"standard": 300,
},
"easing": Object {
"easeIn": "cubic-bezier(0.4, 0, 1, 1)",
"easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)",
"easeOut": "cubic-bezier(0.0, 0, 0.2, 1)",
"sharp": "cubic-bezier(0.4, 0, 0.6, 1)",
},
"getAutoHeightDuration": [Function],
},
"typography": Object {
"body1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": "1.46429em",
},
"body1Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.5,
},
"body2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"lineHeight": "1.71429em",
},
"body2Next": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 400,
"letterSpacing": "0.01071em",
"lineHeight": 1.5,
},
"button": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"textTransform": "uppercase",
},
"buttonNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.02857em",
"lineHeight": 1.75,
"textTransform": "uppercase",
},
"caption": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": "1.375em",
},
"captionNext": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.03333em",
"lineHeight": 1.66,
},
"display1": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"lineHeight": "1.20588em",
},
"display2": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.8125rem",
"fontWeight": 400,
"lineHeight": "1.13333em",
"marginLeft": "-.02em",
},
"display3": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.5rem",
"fontWeight": 400,
"letterSpacing": "-.02em",
"lineHeight": "1.30357em",
"marginLeft": "-.02em",
},
"display4": Object {
"color": "rgba(0, 0, 0, 0.54)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "7rem",
"fontWeight": 300,
"letterSpacing": "-.04em",
"lineHeight": "1.14286em",
"marginLeft": "-.04em",
},
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": 14,
"fontWeightLight": 300,
"fontWeightMedium": 500,
"fontWeightRegular": 400,
"h1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "6rem",
"fontWeight": 300,
"letterSpacing": "-0.01562em",
"lineHeight": 1,
},
"h2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3.75rem",
"fontWeight": 300,
"letterSpacing": "-0.00833em",
"lineHeight": 1,
},
"h3": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "3rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.04,
},
"h4": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "2.125rem",
"fontWeight": 400,
"letterSpacing": "0.00735em",
"lineHeight": 1.17,
},
"h5": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"letterSpacing": "0em",
"lineHeight": 1.33,
},
"h6": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.25rem",
"fontWeight": 500,
"letterSpacing": "0.0075em",
"lineHeight": 1.6,
},
"headline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.5rem",
"fontWeight": 400,
"lineHeight": "1.35417em",
},
"overline": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.75rem",
"fontWeight": 400,
"letterSpacing": "0.08333em",
"lineHeight": 2.66,
"textTransform": "uppercase",
},
"pxToRem": [Function],
"round": [Function],
"subheading": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"lineHeight": "1.5em",
},
"subtitle1": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1rem",
"fontWeight": 400,
"letterSpacing": "0.00938em",
"lineHeight": 1.75,
},
"subtitle2": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "0.875rem",
"fontWeight": 500,
"letterSpacing": "0.00714em",
"lineHeight": 1.57,
},
"title": Object {
"color": "rgba(0, 0, 0, 0.87)",
"fontFamily": "\\"Roboto\\", \\"Helvetica\\", \\"Arial\\", sans-serif",
"fontSize": "1.3125rem",
"fontWeight": 500,
"lineHeight": "1.16667em",
},
"useNextVariants": false,
},
"zIndex": Object {
"appBar": 1100,
"drawer": 1200,
"mobileStepper": 1000,
"modal": 1300,
"snackbar": 1400,
"tooltip": 1500,
},
}
}
transitionDuration="auto"
>
<WithStyles(Popover)
PaperProps={
Object {
"classes": Object {
"root": "MuiMenu-paper-105",
},
"style": Object {
"minWidth": null,
},
}
}
anchorEl={
<div
aria-haspopup="true"
aria-pressed="false"
class="MuiSelect-select-86 MuiSelect-selectMenu-89 MuiInputBase-input-46 MuiInput-input-100"
role="button"
tabindex="0"
>
10
</div>
}
anchorOrigin={
Object {
"horizontal": "left",
"vertical": "top",
}
}
getContentAnchorEl={[Function]}
id="menu-"
onClose={[Function]}
onEntering={[Function]}
open={false}
transformOrigin={
Object {
"horizontal": "left",
"vertical": "top",
}
}
transitionDuration="auto"
>
<Popover
PaperProps={
Object {
"classes": Object {
"root": "MuiMenu-paper-105",
},
"style": Object {
"minWidth": null,
},
}
}
TransitionComponent={[Function]}
anchorEl={
<div
aria-haspopup="true"
aria-pressed="false"
class="MuiSelect-select-86 MuiSelect-selectMenu-89 MuiInputBase-input-46 MuiInput-input-100"
role="button"
tabindex="0"
>
10
</div>
}
anchorOrigin={
Object {
"horizontal": "left",
"vertical": "top",
}
}
anchorReference="anchorEl"
classes={
Object {
"paper": "MuiPopover-paper-106",
}
}
elevation={8}
getContentAnchorEl={[Function]}
id="menu-"
marginThreshold={16}
onClose={[Function]}
onEntering={[Function]}
open={false}
transformOrigin={
Object {
"horizontal": "left",
"vertical": "top",
}
}
transitionDuration="auto"
>
<WithStyles(Modal)
BackdropProps={
Object {
"invisible": true,
}
}
container={<body />}
id="menu-"
onClose={[Function]}
open={false}
>
<Modal
BackdropComponent={[Function]}
BackdropProps={
Object {
"invisible": true,
}
}
classes={
Object {
"hidden": "MuiModal-hidden-108",
"root": "MuiModal-root-107",
}
}
closeAfterTransition={false}
container={<body />}
disableAutoFocus={false}
disableBackdropClick={false}
disableEnforceFocus={false}
disableEscapeKeyDown={false}
disablePortal={false}
disableRestoreFocus={false}
hideBackdrop={false}
id="menu-"
keepMounted={false}
manager={
ModalManager {
"data": Array [],
"handleContainerOverflow": true,
"hideSiblingNodes": true,
"modals": Array [],
}
}
onClose={[Function]}
open={false}
/>
</WithStyles(Modal)>
</Popover>
</WithStyles(Popover)>
</Menu>
</WithStyles(Menu)>
</div>
</SelectInput>
</div>
</InputBase>
</WithFormControlContext(InputBase)>
</WithStyles(WithFormControlContext(InputBase))>
</Input>
</WithStyles(Input)>
</Select>
</WithFormControlContext(Select)>
</WithStyles(WithFormControlContext(Select))>
</div>
</FormControl>
</WithStyles(FormControl)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<IconButton
classes={
Object {
"colorInherit": "MuiIconButton-colorInherit-110",
"colorPrimary": "MuiIconButton-colorPrimary-111",
"colorSecondary": "MuiIconButton-colorSecondary-112",
"disabled": "MuiIconButton-disabled-113",
"label": "MuiIconButton-label-114",
"root": "MuiIconButton-root-109",
}
}
color="default"
disabled={true}
onClick={[Function]}
>
<WithStyles(ButtonBase)
centerRipple={true}
className="MuiIconButton-root-109 MuiIconButton-disabled-113"
disabled={true}
focusRipple={true}
onClick={[Function]}
>
<ButtonBase
centerRipple={true}
className="MuiIconButton-root-109 MuiIconButton-disabled-113"
classes={
Object {
"disabled": "MuiButtonBase-disabled-83",
"focusVisible": "MuiButtonBase-focusVisible-84",
"root": "MuiButtonBase-root-82",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={true}
focusRipple={true}
onClick={[Function]}
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-82 MuiButtonBase-disabled-83 MuiIconButton-root-109 MuiIconButton-disabled-113"
disabled={true}
onBlur={[Function]}
onClick={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="-1"
type="button"
>
<span
className="MuiIconButton-label-114"
>
<pure(ChevronLeftIcon)>
<ChevronLeftIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-63",
"colorDisabled": "MuiSvgIcon-colorDisabled-65",
"colorError": "MuiSvgIcon-colorError-64",
"colorPrimary": "MuiSvgIcon-colorPrimary-61",
"colorSecondary": "MuiSvgIcon-colorSecondary-62",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-66",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-68",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-67",
"root": "MuiSvgIcon-root-60",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-60"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</ChevronLeftIcon>
</pure(ChevronLeftIcon)>
</span>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</IconButton>
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<IconButton
classes={
Object {
"colorInherit": "MuiIconButton-colorInherit-110",
"colorPrimary": "MuiIconButton-colorPrimary-111",
"colorSecondary": "MuiIconButton-colorSecondary-112",
"disabled": "MuiIconButton-disabled-113",
"label": "MuiIconButton-label-114",
"root": "MuiIconButton-root-109",
}
}
color="default"
disabled={true}
onClick={[Function]}
>
<WithStyles(ButtonBase)
centerRipple={true}
className="MuiIconButton-root-109 MuiIconButton-disabled-113"
disabled={true}
focusRipple={true}
onClick={[Function]}
>
<ButtonBase
centerRipple={true}
className="MuiIconButton-root-109 MuiIconButton-disabled-113"
classes={
Object {
"disabled": "MuiButtonBase-disabled-83",
"focusVisible": "MuiButtonBase-focusVisible-84",
"root": "MuiButtonBase-root-82",
}
}
component="button"
disableRipple={false}
disableTouchRipple={false}
disabled={true}
focusRipple={true}
onClick={[Function]}
tabIndex="0"
type="button"
>
<button
className="MuiButtonBase-root-82 MuiButtonBase-disabled-83 MuiIconButton-root-109 MuiIconButton-disabled-113"
disabled={true}
onBlur={[Function]}
onClick={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
onMouseDown={[Function]}
onMouseLeave={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchMove={[Function]}
onTouchStart={[Function]}
tabIndex="-1"
type="button"
>
<span
className="MuiIconButton-label-114"
>
<pure(ChevronRightIcon)>
<ChevronRightIcon>
<WithStyles(SvgIcon)>
<SvgIcon
classes={
Object {
"colorAction": "MuiSvgIcon-colorAction-63",
"colorDisabled": "MuiSvgIcon-colorDisabled-65",
"colorError": "MuiSvgIcon-colorError-64",
"colorPrimary": "MuiSvgIcon-colorPrimary-61",
"colorSecondary": "MuiSvgIcon-colorSecondary-62",
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit-66",
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge-68",
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall-67",
"root": "MuiSvgIcon-root-60",
}
}
color="inherit"
component="svg"
fontSize="default"
viewBox="0 0 24 24"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-60"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
</svg>
</SvgIcon>
</WithStyles(SvgIcon)>
</ChevronRightIcon>
</pure(ChevronRightIcon)>
</span>
</button>
</ButtonBase>
</WithStyles(ButtonBase)>
</IconButton>
</WithStyles(IconButton)>
</div>
</div>
</CustomTable>
</div>
</ExperimentList>
`;
exports[`ExperimentList renders the empty experience 1`] = `
<div>
<CustomTable
columns={
Array [
Object {
"customRenderer": [Function],
"flex": 1,
"label": "Experiment name",
"sortKey": "name",
},
Object {
"flex": 2,
"label": "Description",
},
]
}
disableSelection={true}
emptyMessage="No archived experiments found."
filterLabel="Filter experiments"
getExpandComponent={[Function]}
initialSortColumn="created_at"
reload={[Function]}
rows={Array []}
toggleExpansion={[Function]}
/>
</div>
`;
exports[`ExperimentList renders the empty experience in ARCHIVED state 1`] = `
<div>
<CustomTable
columns={
Array [
Object {
"customRenderer": [Function],
"flex": 1,
"label": "Experiment name",
"sortKey": "name",
},
Object {
"flex": 2,
"label": "Description",
},
]
}
disableSelection={true}
emptyMessage="No archived experiments found."
filterLabel="Filter experiments"
getExpandComponent={[Function]}
initialSortColumn="created_at"
reload={[Function]}
rows={Array []}
toggleExpansion={[Function]}
/>
</div>
`;
| 324 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/Toolbar.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Toolbar disables the back button when there is no browser history 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
>
<span
className="flex"
key="0"
title="test display name"
>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path"
>
test display name
</Link>
</span>
<span
className="flex"
key="1"
title="test display name2"
>
<pure(ChevronRightIcon)
className="chevron"
/>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path2"
>
test display name2
</Link>
</span>
</div>
<div
className="flex"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Back"
>
<div>
<WithStyles(IconButton)
className="backLink"
disabled={true}
onClick={[Function]}
>
<pure(ArrowBackIcon)
className="backIcon disabled"
/>
</WithStyles(IconButton)>
</div>
</WithStyles(Tooltip)>
<span
className="pageName ellipsis"
data-testid="page-title"
/>
</div>
</div>
<div
className="actions"
>
<WithStyles(Tooltip)
enterDelay={300}
key="0"
title="test tooltip"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
icon={[Function]}
id="test id"
onClick={[MockFunction]}
outlined={false}
title="test title"
/>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
key="1"
title="test disabled title2"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
disabled={true}
icon={[Function]}
id="test id2"
onClick={[MockFunction]}
outlined={false}
title="test title2"
/>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`Toolbar renders nothing when there are no breadcrumbs or actions 1`] = `""`;
exports[`Toolbar renders outlined action buttons 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
>
<span
className="flex"
key="0"
title="test display name"
>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path"
>
test display name
</Link>
</span>
<span
className="flex"
key="1"
title="test display name2"
>
<pure(ChevronRightIcon)
className="chevron"
/>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path2"
>
test display name2
</Link>
</span>
</div>
<div
className="flex"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Back"
>
<div>
<WithStyles(IconButton)
className="backLink"
disabled={false}
onClick={[Function]}
>
<pure(ArrowBackIcon)
className="backIcon enabled"
/>
</WithStyles(IconButton)>
</div>
</WithStyles(Tooltip)>
<span
className="pageName ellipsis"
data-testid="page-title"
/>
</div>
</div>
<div
className="actions"
>
<WithStyles(Tooltip)
enterDelay={300}
key="0"
title="test outlined tooltip"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
id="test outlined id"
onClick={[MockFunction]}
outlined={true}
title="test outlined title"
/>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`Toolbar renders primary action buttons 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
>
<span
className="flex"
key="0"
title="test display name"
>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path"
>
test display name
</Link>
</span>
<span
className="flex"
key="1"
title="test display name2"
>
<pure(ChevronRightIcon)
className="chevron"
/>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path2"
>
test display name2
</Link>
</span>
</div>
<div
className="flex"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Back"
>
<div>
<WithStyles(IconButton)
className="backLink"
disabled={false}
onClick={[Function]}
>
<pure(ArrowBackIcon)
className="backIcon enabled"
/>
</WithStyles(IconButton)>
</div>
</WithStyles(Tooltip)>
<span
className="pageName ellipsis"
data-testid="page-title"
/>
</div>
</div>
<div
className="actions"
>
<WithStyles(Tooltip)
enterDelay={300}
key="0"
title="test primary tooltip"
>
<div>
<BusyButton
busy={false}
className="buttonAction"
color="secondary"
id="test primary id"
onClick={[MockFunction]}
outlined={false}
title="test primary title"
/>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`Toolbar renders primary action buttons without outline, even if outline is true 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
>
<span
className="flex"
key="0"
title="test display name"
>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path"
>
test display name
</Link>
</span>
<span
className="flex"
key="1"
title="test display name2"
>
<pure(ChevronRightIcon)
className="chevron"
/>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path2"
>
test display name2
</Link>
</span>
</div>
<div
className="flex"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Back"
>
<div>
<WithStyles(IconButton)
className="backLink"
disabled={false}
onClick={[Function]}
>
<pure(ArrowBackIcon)
className="backIcon enabled"
/>
</WithStyles(IconButton)>
</div>
</WithStyles(Tooltip)>
<span
className="pageName ellipsis"
data-testid="page-title"
/>
</div>
</div>
<div
className="actions"
>
<WithStyles(Tooltip)
enterDelay={300}
key="0"
title="test tooltip"
>
<div>
<BusyButton
busy={false}
className="buttonAction"
color="secondary"
id="test id"
onClick={[MockFunction]}
outlined={false}
title="test title"
/>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`Toolbar renders with two breadcrumbs and two actions 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
>
<span
className="flex"
key="0"
title="test display name"
>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path"
>
test display name
</Link>
</span>
<span
className="flex"
key="1"
title="test display name2"
>
<pure(ChevronRightIcon)
className="chevron"
/>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path2"
>
test display name2
</Link>
</span>
</div>
<div
className="flex"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Back"
>
<div>
<WithStyles(IconButton)
className="backLink"
disabled={false}
onClick={[Function]}
>
<pure(ArrowBackIcon)
className="backIcon enabled"
/>
</WithStyles(IconButton)>
</div>
</WithStyles(Tooltip)>
<span
className="pageName ellipsis"
data-testid="page-title"
/>
</div>
</div>
<div
className="actions"
>
<WithStyles(Tooltip)
enterDelay={300}
key="0"
title="test tooltip"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
icon={[Function]}
id="test id"
onClick={[MockFunction]}
outlined={false}
title="test title"
/>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
key="1"
title="test disabled title2"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
disabled={true}
icon={[Function]}
id="test id2"
onClick={[MockFunction]}
outlined={false}
title="test title2"
/>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`Toolbar renders without actions and one breadcrumb 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
>
<span
className="flex"
key="0"
title="test display name"
>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path"
>
test display name
</Link>
</span>
</div>
<div
className="flex"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Back"
>
<div>
<WithStyles(IconButton)
className="backLink"
disabled={false}
onClick={[Function]}
>
<pure(ArrowBackIcon)
className="backIcon enabled"
/>
</WithStyles(IconButton)>
</div>
</WithStyles(Tooltip)>
<span
className="pageName ellipsis"
data-testid="page-title"
>
test page title
</span>
</div>
</div>
<div
className="actions"
/>
</div>
`;
exports[`Toolbar renders without actions, one breadcrumb, and a page name 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
>
<span
className="flex"
key="0"
title="test display name"
>
<Link
className="unstyled ellipsis link"
replace={false}
to="/some/test/path"
>
test display name
</Link>
</span>
</div>
<div
className="flex"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Back"
>
<div>
<WithStyles(IconButton)
className="backLink"
disabled={false}
onClick={[Function]}
>
<pure(ArrowBackIcon)
className="backIcon enabled"
/>
</WithStyles(IconButton)>
</div>
</WithStyles(Tooltip)>
<span
className="pageName ellipsis"
data-testid="page-title"
>
test page title
</span>
</div>
</div>
<div
className="actions"
/>
</div>
`;
exports[`Toolbar renders without breadcrumbs and a component page title 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
/>
<div
className="flex"
>
<span
className="pageName ellipsis"
data-testid="page-title"
>
<div
id="myComponent"
>
test page title
</div>
</span>
</div>
</div>
<div
className="actions"
>
<WithStyles(Tooltip)
enterDelay={300}
key="0"
title="test tooltip"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
icon={[Function]}
id="test id"
onClick={[MockFunction]}
outlined={false}
title="test title"
/>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
key="1"
title="test disabled title2"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
disabled={true}
icon={[Function]}
id="test id2"
onClick={[MockFunction]}
outlined={false}
title="test title2"
/>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`Toolbar renders without breadcrumbs and a string page title 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
/>
<div
className="flex"
>
<span
className="pageName ellipsis"
data-testid="page-title"
>
test page title
</span>
</div>
</div>
<div
className="actions"
>
<WithStyles(Tooltip)
enterDelay={300}
key="0"
title="test tooltip"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
icon={[Function]}
id="test id"
onClick={[MockFunction]}
outlined={false}
title="test title"
/>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
key="1"
title="test disabled title2"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
disabled={true}
icon={[Function]}
id="test id2"
onClick={[MockFunction]}
outlined={false}
title="test title2"
/>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`Toolbar renders without breadcrumbs and one action 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
/>
<div
className="flex"
>
<span
className="pageName ellipsis"
data-testid="page-title"
>
test page title
</span>
</div>
</div>
<div
className="actions"
>
<WithStyles(Tooltip)
enterDelay={300}
key="0"
title="test tooltip"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
icon={[Function]}
id="test id"
onClick={[MockFunction]}
outlined={false}
title="test title"
/>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
exports[`Toolbar renders without breadcrumbs and two actions 1`] = `
<div
className="root topLevelToolbar"
>
<div
style={
Object {
"minWidth": 100,
}
}
>
<div
className="breadcrumbs flex"
/>
<div
className="flex"
>
<span
className="pageName ellipsis"
data-testid="page-title"
>
test page title
</span>
</div>
</div>
<div
className="actions"
>
<WithStyles(Tooltip)
enterDelay={300}
key="0"
title="test tooltip"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
icon={[Function]}
id="test id"
onClick={[MockFunction]}
outlined={false}
title="test title"
/>
</div>
</WithStyles(Tooltip)>
<WithStyles(Tooltip)
enterDelay={300}
key="1"
title="test disabled title2"
>
<div>
<BusyButton
busy={false}
className=""
color="secondary"
disabled={true}
icon={[Function]}
id="test id2"
onClick={[MockFunction]}
outlined={false}
title="test title2"
/>
</div>
</WithStyles(Tooltip)>
</div>
</div>
`;
| 325 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/NewRunParameters.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`NewRunParameters clicking the open editor button for json parameters displays an editor 1`] = `
<Editor
cursorStart={1}
editorProps={Object {}}
enableBasicAutocompletion={false}
enableLiveAutocompletion={false}
enableSnippets={false}
focus={false}
fontSize={12}
height="500px"
highlightActiveLine={true}
maxLines={20}
minLines={3}
mode="json"
name="brace-editor"
navigateToFileEnd={true}
onChange={[Function]}
onLoad={null}
onPaste={null}
onScroll={null}
placeholder={null}
readOnly={false}
scrollMargin={
Array [
0,
0,
0,
0,
]
}
setOptions={Object {}}
showGutter={true}
showPrintMargin={true}
style={Object {}}
tabSize={4}
theme="github"
value="{\\"test\\":\\"value\\"}"
width="100%"
wrapEnabled={false}
>
<div
id="brace-editor"
style={
Object {
"height": "500px",
"width": "100%",
}
}
/>
</Editor>
`;
exports[`NewRunParameters does not display any text fields if there are no parameters 1`] = `
<div>
<div
className="header"
>
Run parameters
</div>
<div>
This pipeline has no parameters
</div>
</div>
`;
exports[`NewRunParameters shows parameters 1`] = `
<div>
<div
className="header"
>
Run parameters
</div>
<div>
Specify parameters required by the pipeline
</div>
<div>
<ParamEditor
id="newRunPipelineParam0"
key="0"
onChange={[Function]}
param={
Object {
"name": "testParam",
"value": "testVal",
}
}
/>
</div>
</div>
`;
| 326 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/Banner.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Banner defaults to error mode 1`] = `
<div
className="flex banner mode"
>
<div
className="message"
>
<pure(ErrorIcon)
className="icon"
/>
Some message
</div>
<div
className="flex"
/>
</div>
`;
exports[`Banner shows "Details" button and has dialog when there is additional info 1`] = `
<div
className="flex banner mode"
>
<div
className="message"
>
<pure(ErrorIcon)
className="icon"
/>
Some message
</div>
<div
className="flex"
>
<WithStyles(Button)
className="button detailsButton"
onClick={[Function]}
>
Details
</WithStyles(Button)>
</div>
<WithStyles(Dialog)
onClose={[Function]}
open={false}
>
<WithStyles(DialogTitle)>
An error occurred
</WithStyles(DialogTitle)>
<WithStyles(DialogContent)
className="prewrap"
>
More info
</WithStyles(DialogContent)>
<WithStyles(DialogActions)>
<WithStyles(Button)
id="dismissDialogBtn"
onClick={[Function]}
>
Dismiss
</WithStyles(Button)>
</WithStyles(DialogActions)>
</WithStyles(Dialog)>
</div>
`;
exports[`Banner shows "Refresh" button when passed a refresh function 1`] = `
<div
className="flex banner mode"
>
<div
className="message"
>
<pure(ErrorIcon)
className="icon"
/>
Some message
</div>
<div
className="flex"
>
<WithStyles(Button)
className="button refreshButton"
onClick={[Function]}
>
Refresh
</WithStyles(Button)>
</div>
</div>
`;
exports[`Banner uses error mode when instructed 1`] = `
<div
className="flex banner mode"
>
<div
className="message"
>
<pure(ErrorIcon)
className="icon"
/>
Some message
</div>
<div
className="flex"
/>
</div>
`;
exports[`Banner uses info mode when instructed 1`] = `
<div
className="flex banner mode"
>
<div
className="message"
>
<pure(InfoIcon)
className="icon"
/>
Some message
</div>
<div
className="flex"
/>
</div>
`;
exports[`Banner uses warning mode when instructed 1`] = `
<div
className="flex banner mode"
>
<div
className="message"
>
<pure(WarningIcon)
className="icon"
/>
Some message
</div>
<div
className="flex"
/>
</div>
`;
| 327 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/PlotCard.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PlotCard clicking outside full screen dialog closes it 1`] = `
<div>
<WithStyles(Paper)
className="plotCard plotCard"
>
<div
className="plotHeader"
>
<div
className="plotTitle"
title=""
/>
<div>
<WithStyles(Button)
className="popOutButton"
onClick={[Function]}
style={
Object {
"minHeight": 0,
"minWidth": 0,
"padding": 4,
}
}
>
<WithStyles(Tooltip)
title="Pop out"
>
<pure(LaunchIcon)
classes={
Object {
"root": "popoutIcon",
}
}
/>
</WithStyles(Tooltip)>
</WithStyles(Button)>
</div>
</div>
<ViewerContainer
configs={
Array [
Object {
"type": "confusion_matrix",
},
]
}
maxDimension={100}
/>
</WithStyles(Paper)>
<WithStyles(Dialog)
classes={
Object {
"paper": "fullscreenDialog",
}
}
onClose={[Function]}
open={false}
>
<div
className="dialogTitle"
>
<WithStyles(Button)
className="fullscreenCloseBtn fullscreenCloseButton"
onClick={[Function]}
>
<pure(CloseIcon) />
</WithStyles(Button)>
Confusion matrix
<Separator />
<span
style={
Object {
"color": "#5f6368",
}
}
>
(
)
</span>
</div>
<div
className="fullscreenViewerContainer"
>
<ViewerContainer
configs={
Array [
Object {
"type": "confusion_matrix",
},
]
}
/>
</div>
</WithStyles(Dialog)>
</div>
`;
exports[`PlotCard close button closes full screen dialog 1`] = `
<div>
<WithStyles(Paper)
className="plotCard plotCard"
>
<div
className="plotHeader"
>
<div
className="plotTitle"
title=""
/>
<div>
<WithStyles(Button)
className="popOutButton"
onClick={[Function]}
style={
Object {
"minHeight": 0,
"minWidth": 0,
"padding": 4,
}
}
>
<WithStyles(Tooltip)
title="Pop out"
>
<pure(LaunchIcon)
classes={
Object {
"root": "popoutIcon",
}
}
/>
</WithStyles(Tooltip)>
</WithStyles(Button)>
</div>
</div>
<ViewerContainer
configs={
Array [
Object {
"type": "confusion_matrix",
},
]
}
maxDimension={100}
/>
</WithStyles(Paper)>
<WithStyles(Dialog)
classes={
Object {
"paper": "fullscreenDialog",
}
}
onClose={[Function]}
open={false}
>
<div
className="dialogTitle"
>
<WithStyles(Button)
className="fullscreenCloseBtn fullscreenCloseButton"
onClick={[Function]}
>
<pure(CloseIcon) />
</WithStyles(Button)>
Confusion matrix
<Separator />
<span
style={
Object {
"color": "#5f6368",
}
}
>
(
)
</span>
</div>
<div
className="fullscreenViewerContainer"
>
<ViewerContainer
configs={
Array [
Object {
"type": "confusion_matrix",
},
]
}
/>
</div>
</WithStyles(Dialog)>
</div>
`;
exports[`PlotCard handles no configs 1`] = `""`;
exports[`PlotCard pops out a full screen view of the viewer 1`] = `
<div>
<WithStyles(Paper)
className="plotCard plotCard"
>
<div
className="plotHeader"
>
<div
className="plotTitle"
title=""
/>
<div>
<WithStyles(Button)
className="popOutButton"
onClick={[Function]}
style={
Object {
"minHeight": 0,
"minWidth": 0,
"padding": 4,
}
}
>
<WithStyles(Tooltip)
title="Pop out"
>
<pure(LaunchIcon)
classes={
Object {
"root": "popoutIcon",
}
}
/>
</WithStyles(Tooltip)>
</WithStyles(Button)>
</div>
</div>
<ViewerContainer
configs={
Array [
Object {
"type": "confusion_matrix",
},
]
}
maxDimension={100}
/>
</WithStyles(Paper)>
<WithStyles(Dialog)
classes={
Object {
"paper": "fullscreenDialog",
}
}
onClose={[Function]}
open={true}
>
<div
className="dialogTitle"
>
<WithStyles(Button)
className="fullscreenCloseBtn fullscreenCloseButton"
onClick={[Function]}
>
<pure(CloseIcon) />
</WithStyles(Button)>
Confusion matrix
<Separator />
<span
style={
Object {
"color": "#5f6368",
}
}
>
(
)
</span>
</div>
<div
className="fullscreenViewerContainer"
>
<ViewerContainer
configs={
Array [
Object {
"type": "confusion_matrix",
},
]
}
/>
</div>
</WithStyles(Dialog)>
</div>
`;
exports[`PlotCard renders on confusion matrix viewer card 1`] = `
<div>
<WithStyles(Paper)
className="plotCard plotCard"
>
<div
className="plotHeader"
>
<div
className="plotTitle"
title="test title"
>
test title
</div>
<div>
<WithStyles(Button)
className="popOutButton"
onClick={[Function]}
style={
Object {
"minHeight": 0,
"minWidth": 0,
"padding": 4,
}
}
>
<WithStyles(Tooltip)
title="Pop out"
>
<pure(LaunchIcon)
classes={
Object {
"root": "popoutIcon",
}
}
/>
</WithStyles(Tooltip)>
</WithStyles(Button)>
</div>
</div>
<ViewerContainer
configs={
Array [
Object {
"type": "confusion_matrix",
},
]
}
maxDimension={100}
/>
</WithStyles(Paper)>
<WithStyles(Dialog)
classes={
Object {
"paper": "fullscreenDialog",
}
}
onClose={[Function]}
open={false}
>
<div
className="dialogTitle"
>
<WithStyles(Button)
className="fullscreenCloseBtn fullscreenCloseButton"
onClick={[Function]}
>
<pure(CloseIcon) />
</WithStyles(Button)>
Confusion matrix
<Separator />
<span
style={
Object {
"color": "#5f6368",
}
}
>
(
test title
)
</span>
</div>
<div
className="fullscreenViewerContainer"
>
<ViewerContainer
configs={
Array [
Object {
"type": "confusion_matrix",
},
]
}
/>
</div>
</WithStyles(Dialog)>
</div>
`;
| 328 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/Graph.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Graph gracefully renders a graph with a selected node id that does not exist 1`] = `
<div
className="root"
>
<div
className="node graphNode"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node1"
>
<div
className="label"
>
node1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="1"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 65,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node2"
>
<div
className="label"
>
node2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
key="0"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -15.87487218800544,
"top": 65,
"transform": "rotate(-166.75948008481282deg)",
"transition": "left 0.5s, top 0.5s",
"width": 122.74974437601087,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -14.292526819072776,
"top": 76.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -19,
"top": 78.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": -20,
"top": 67,
"transform": "rotate(360deg)",
}
}
/>
</div>
</div>
`;
exports[`Graph handles an empty graph 1`] = `""`;
exports[`Graph renders a complex graph with six nodes and seven edges 1`] = `
<div
className="root"
>
<div
className="node graphNode"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 75,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="flipcoin1"
>
<div
className="label"
>
flipcoin1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="1"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 45,
"maxHeight": 10,
"minHeight": 10,
"top": 65,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="tails1"
>
<div
className="label"
>
tails1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="2"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 105,
"maxHeight": 10,
"minHeight": 10,
"top": 65,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="heads1"
>
<div
className="label"
>
heads1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="3"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 45,
"maxHeight": 10,
"minHeight": 10,
"top": 125,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="flipcoin2"
>
<div
className="label"
>
flipcoin2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="4"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 185,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="heads2"
>
<div
className="label"
>
heads2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="5"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 85,
"maxHeight": 10,
"minHeight": 10,
"top": 185,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="tails2"
>
<div
className="label"
>
tails2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
key="0"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 53.599705252806814,
"top": 65,
"transform": "rotate(-162.53607310815718deg)",
"transition": "left 0.5s, top 0.5s",
"width": 93.80058949438637,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 25.707473180927224,
"top": 76.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 21,
"top": 78.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": 20,
"top": 67,
"transform": "rotate(360deg)",
}
}
/>
</div>
<div
key="1"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 54.44597636009023,
"top": 65,
"transform": "rotate(-169.35712925529643deg)",
"transition": "left 0.5s, top 0.5s",
"width": 152.10804727981954,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 85.70747318092722,
"top": 76.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 81,
"top": 78.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": 80,
"top": 67,
"transform": "rotate(360deg)",
}
}
/>
</div>
<div
key="2"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 24.12512781199456,
"top": 125,
"transform": "rotate(-166.75948008481282deg)",
"transition": "left 0.5s, top 0.5s",
"width": 122.74974437601087,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 25.707473180927224,
"top": 136.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 21,
"top": 138.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": 20,
"top": 127,
"transform": "rotate(360deg)",
}
}
/>
</div>
<div
key="3"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 23.342363464399483,
"top": 125,
"transform": "rotate(-160.48412699041728deg)",
"transition": "left 0.5s, top 0.5s",
"width": 84.31527307120105,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 89.75,
"top": 154,
"transform": "rotate(-90deg)",
"transition": "left 0.5s, top 0.5s",
"width": 30.5,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 89.75,
"top": 184,
"transform": "rotate(-90deg)",
"transition": "left 0.5s, top 0.5s",
"width": 30.5,
}
}
/>
<div
className="line"
key="3"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -14.292526819072776,
"top": 196.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="4"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -19,
"top": 198.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": -20,
"top": 187,
"transform": "rotate(360deg)",
}
}
/>
</div>
<div
key="4"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 24.52670720293925,
"top": 125,
"transform": "rotate(-170.01257842498643deg)",
"transition": "left 0.5s, top 0.5s",
"width": 161.9465855941215,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 169.75,
"top": 154,
"transform": "rotate(-90deg)",
"transition": "left 0.5s, top 0.5s",
"width": 30.5,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 169.75,
"top": 184,
"transform": "rotate(-90deg)",
"transition": "left 0.5s, top 0.5s",
"width": 30.5,
}
}
/>
<div
className="line"
key="3"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 65.70747318092722,
"top": 196.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="4"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 61,
"top": 198.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": 60,
"top": 187,
"transform": "rotate(360deg)",
}
}
/>
</div>
<div
key="5"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 24.12512781199456,
"top": 185,
"transform": "rotate(-166.75948008481282deg)",
"transition": "left 0.5s, top 0.5s",
"width": 122.74974437601087,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -14.281833249334824,
"top": 196.75,
"transform": "rotate(1.6211459136534117deg)",
"transition": "left 0.5s, top 0.5s",
"width": 159.56366649866965,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -19,
"top": 198.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": -20,
"top": 187,
"transform": "rotate(360deg)",
}
}
/>
</div>
<div
key="6"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 24.661645340032806,
"top": 185,
"transform": "rotate(-171.10957674263614deg)",
"transition": "left 0.5s, top 0.5s",
"width": 181.6767093199344,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 65.71358867470941,
"top": 196.75,
"transform": "rotate(1.8542517148477853deg)",
"transition": "left 0.5s, top 0.5s",
"width": 139.57282265058117,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": 61,
"top": 198.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": 60,
"top": 187,
"transform": "rotate(360deg)",
}
}
/>
</div>
</div>
`;
exports[`Graph renders a graph with a placeholder node and edge 1`] = `
<div
className="root"
>
<div
className="node graphNode"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node1"
>
<div
className="label"
>
node1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="placeholderNode graphNode"
key="1"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 65,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
key="0"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#9aa0a6",
"height": 2,
"left": -15.87487218800544,
"top": 65,
"transform": "rotate(-166.75948008481282deg)",
"transition": "left 0.5s, top 0.5s",
"width": 122.74974437601087,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#9aa0a6",
"height": 2,
"left": 92.25,
"top": 91.5,
"transform": "rotate(-90deg)",
"transition": "left 0.5s, top 0.5s",
"width": 25.5,
}
}
/>
</div>
</div>
`;
exports[`Graph renders a graph with a selected node 1`] = `
<div
className="root"
>
<div
className="node graphNode nodeSelected"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node1"
>
<div
className="label"
>
node1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="1"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 65,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node2"
>
<div
className="label"
>
node2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
key="0"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#1a73e8",
"height": 2,
"left": -15.87487218800544,
"top": 65,
"transform": "rotate(-166.75948008481282deg)",
"transition": "left 0.5s, top 0.5s",
"width": 122.74974437601087,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#1a73e8",
"height": 2,
"left": -14.292526819072776,
"top": 76.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#1a73e8",
"height": 2,
"left": -19,
"top": 78.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#1a73e8",
"left": -20,
"top": 67,
"transform": "rotate(360deg)",
}
}
/>
</div>
</div>
`;
exports[`Graph renders a graph with colored edges 1`] = `
<div
className="root"
>
<div
className="node graphNode"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node1"
>
<div
className="label"
>
node1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="1"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 65,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node2"
>
<div
className="label"
>
node2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
key="0"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -15.87487218800544,
"top": 65,
"transform": "rotate(-166.75948008481282deg)",
"transition": "left 0.5s, top 0.5s",
"width": 122.74974437601087,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -14.292526819072776,
"top": 76.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -19,
"top": 78.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": -20,
"top": 67,
"transform": "rotate(360deg)",
}
}
/>
</div>
</div>
`;
exports[`Graph renders a graph with colored nodes 1`] = `
<div
className="root"
>
<div
className="node graphNode"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": "red",
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node1"
>
<div
className="label"
>
node1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="1"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": "green",
"left": 65,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node2"
>
<div
className="label"
>
node2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
</div>
`;
exports[`Graph renders a graph with one node 1`] = `
<div
className="root"
>
<div
className="node graphNode"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node1"
>
<div
className="label"
>
node1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
</div>
`;
exports[`Graph renders a graph with two connectd nodes 1`] = `
<div
className="root"
>
<div
className="node graphNode"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node1"
>
<div
className="label"
>
node1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="1"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 65,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node2"
>
<div
className="label"
>
node2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
key="0"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -15.87487218800544,
"top": 65,
"transform": "rotate(-166.75948008481282deg)",
"transition": "left 0.5s, top 0.5s",
"width": 122.74974437601087,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -14.292526819072776,
"top": 76.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -19,
"top": 78.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": -20,
"top": 67,
"transform": "rotate(360deg)",
}
}
/>
</div>
</div>
`;
exports[`Graph renders a graph with two connectd nodes in reverse order 1`] = `
<div
className="root"
>
<div
className="node graphNode"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 65,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node1"
>
<div
className="label"
>
node1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="1"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node2"
>
<div
className="label"
>
node2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
key="0"
>
<div
className="line"
key="0"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -15.87487218800544,
"top": 65,
"transform": "rotate(-166.75948008481282deg)",
"transition": "left 0.5s, top 0.5s",
"width": 122.74974437601087,
}
}
/>
<div
className="line"
key="1"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -14.292526819072776,
"top": 76.75,
"transform": "rotate(2.165615252902859deg)",
"transition": "left 0.5s, top 0.5s",
"width": 119.58505363814554,
}
}
/>
<div
className="line"
key="2"
style={
Object {
"backgroundColor": "#5f6368",
"height": 2,
"left": -19,
"top": 78.5,
"transform": "rotate(270deg)",
"transition": "left 0.5s, top 0.5s",
"width": -4.5,
}
}
/>
<div
className="arrowHead"
style={
Object {
"borderTopColor": "#5f6368",
"left": -20,
"top": 67,
"transform": "rotate(360deg)",
}
}
/>
</div>
</div>
`;
exports[`Graph renders a graph with two disparate nodes 1`] = `
<div
className="root"
>
<div
className="node graphNode"
key="0"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 5,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node1"
>
<div
className="label"
>
node1
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
<div
className="node graphNode"
key="1"
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
style={
Object {
"backgroundColor": undefined,
"left": 65,
"maxHeight": 10,
"minHeight": 10,
"top": 5,
"transition": "left 0.5s, top 0.5s",
"width": 10,
}
}
>
<WithStyles(Tooltip)
enterDelay={300}
title="node2"
>
<div
className="label"
>
node2
</div>
</WithStyles(Tooltip)>
<div
className="icon"
style={
Object {
"background": undefined,
}
}
>
<WithStyles(Tooltip)
title="Test icon tooltip"
>
<pure(CheckCircleIcon) />
</WithStyles(Tooltip)>
</div>
</div>
</div>
`;
exports[`Graph shows an error message when the graph is invalid 1`] = `"<div class=\\"root\\"></div>"`;
| 329 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/CollapseButton.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CollapseButton initial render 1`] = `
<div>
<WithStyles(Button)
className="collapseBtn"
onClick={[Function]}
title="Expand/Collapse this section"
>
<pure(ArrowDropUpIcon)
className="icon"
/>
testSection
</WithStyles(Button)>
</div>
`;
exports[`CollapseButton renders the button collapsed if in collapsedSections 1`] = `
<div>
<WithStyles(Button)
className="collapseBtn"
onClick={[Function]}
title="Expand/Collapse this section"
>
<pure(ArrowDropUpIcon)
className="icon collapsed"
/>
testSection
</WithStyles(Button)>
</div>
`;
| 330 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/CustomTable.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CustomTable renders a collapsed row 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
<Separator
orientation="horizontal"
units={40}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
<WithStyles(IconButton)
aria-label="Expand"
className="expandButton"
onClick={[Function]}
>
<pure(ArrowRightIcon) />
</WithStyles(IconButton)>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"expandState": 0,
"id": "row1",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders a collapsed row when selection is disabled 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<Separator
orientation="horizontal"
units={40}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(IconButton)
aria-label="Expand"
className="expandButton"
onClick={[Function]}
>
<pure(ArrowRightIcon) />
</WithStyles(IconButton)>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"expandState": 0,
"id": "row1",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders a table with sorting disabled 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
col1
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
col2
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row1",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
<div
className="expandableContainer"
key="1"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row2",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders an expanded row 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer expandedContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row expandedRow"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"expandState": 1,
"id": "row1",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders an expanded row with expanded component below it 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
<Separator
orientation="horizontal"
units={40}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer expandedContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row expandedRow"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
<WithStyles(IconButton)
aria-label="Expand"
className="expandButton expandButtonExpanded"
onClick={[Function]}
>
<pure(ArrowRightIcon) />
</WithStyles(IconButton)>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"expandState": 1,
"id": "row1",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
<div>
<span>
Hello World
</span>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders columns with specified widths 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "75%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "25%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
/>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders empty message on no rows 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="emptyMessage"
>
test empty message
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders new rows after clicking next page, and enables previous page button 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row2",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={false}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={false}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders new rows after clicking previous page, and enables next page button 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row1",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
<div
className="expandableContainer"
key="1"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row2",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={false}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders some columns with descending sort order on first column 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Sort"
>
<WithStyles(TableSortLabel)
active={true}
className="ellipsis"
direction="desc"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
/>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders some columns with equal widths without rows 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
/>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders some rows 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row1",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
<div
className="expandableContainer"
key="1"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row2",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders with default filter label 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
/>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders with provided filter label 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="test filter label"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
/>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders without filter box 1`] = `
<div
className="pageOverflowHidden"
>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
/>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders without rows or columns 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
/>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable renders without the checkboxes if disableSelection is true 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value=""
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row1",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
<div
className="expandableContainer"
key="1"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row2",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
exports[`CustomTable updates the filter string in state when the filter box input changes 1`] = `
<div
className="pageOverflowHidden"
>
<div>
<Input
InputLabelProps={
Object {
"classes": Object {
"root": "noMargin",
},
}
}
InputProps={
Object {
"classes": Object {
"notchedOutline": "filterBorderRadius",
"root": "noLeftPadding",
},
"startAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<pure(FilterListIcon)
style={
Object {
"color": "#80868b",
"paddingRight": 16,
}
}
/>
</WithStyles(WithFormControlContext(InputAdornment))>,
}
}
className="filterBox"
height={48}
id="tableFilterBox"
label="Filter"
maxWidth="100%"
onChange={[Function]}
value="test filter"
variant="outlined"
/>
</div>
<div
className="header"
>
<div
className="columnName cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
disabled={false}
indeterminate={false}
onChange={[Function]}
/>
</div>
<div
className="columnName"
key="0"
style={
Object {
"width": "50%",
}
}
title="col1"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col1
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
<div
className="columnName"
key="1"
style={
Object {
"width": "50%",
}
}
title="col2"
>
<WithStyles(Tooltip)
enterDelay={300}
title="Cannot sort by this column"
>
<WithStyles(TableSortLabel)
active={false}
className="ellipsis"
onClick={[Function]}
>
col2
</WithStyles(TableSortLabel)>
</WithStyles(Tooltip)>
</div>
</div>
<div
className="scrollContainer"
style={
Object {
"minHeight": 60,
}
}
>
<div
className="expandableContainer"
key="0"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row1",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
<div
className="expandableContainer"
key="1"
>
<div
aria-checked={false}
className="tableRow row"
onClick={[Function]}
role="checkbox"
tabIndex={-1}
>
<div
className="cell selectionToggle"
>
<WithStyles(Checkbox)
checked={false}
color="primary"
/>
</div>
<CustomTableRow
columns={
Array [
Object {
"customRenderer": undefined,
"label": "col1",
},
Object {
"customRenderer": undefined,
"label": "col2",
},
]
}
row={
Object {
"id": "row2",
"otherFields": Array [
"cell1",
"cell2",
],
}
}
/>
</div>
</div>
</div>
<div
className="footer"
>
<span
className=""
>
Rows per page:
</span>
<TextField
InputProps={
Object {
"disableUnderline": true,
}
}
className="rowsPerPage"
classes={
Object {
"root": "verticalAlignInitial",
}
}
onChange={[Function]}
required={false}
select={true}
value={10}
variant="standard"
>
<WithStyles(MenuItem)
key="0"
value={10}
>
10
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={20}
>
20
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value={50}
>
50
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value={100}
>
100
</WithStyles(MenuItem)>
</TextField>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronLeftIcon) />
</WithStyles(IconButton)>
<WithStyles(IconButton)
disabled={true}
onClick={[Function]}
>
<pure(ChevronRightIcon) />
</WithStyles(IconButton)>
</div>
</div>
`;
| 331 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/LogViewer.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`LogViewer does not linkify non http/https urls 1`] = `
<div
class="line"
>
<span
class="number"
>
1
</span>
<span
class="line"
>
<span>
<span>
this string: gs://path is a GCS path
</span>
</span>
</span>
</div>
`;
exports[`LogViewer linkifies standalone https urls 1`] = `
<div
class="line"
>
<span
class="number"
>
1
</span>
<span
class="line"
>
<span>
<span>
this string:
</span>
</span>
<span>
<a
class="a"
href="https://path.com"
rel="noopener noreferrer"
target="_blank"
>
https://path.com
</a>
</span>
<span>
<span>
is a url
</span>
</span>
</span>
</div>
`;
exports[`LogViewer linkifies standalone urls 1`] = `
<div
class="line"
>
<span
class="number"
>
1
</span>
<span
class="line"
>
<span>
<span>
this string:
</span>
</span>
<span>
<a
class="a"
href="http://path.com"
rel="noopener noreferrer"
target="_blank"
>
http://path.com
</a>
</span>
<span>
<span>
is a url
</span>
</span>
</span>
</div>
`;
exports[`LogViewer linkifies substring urls 1`] = `
<div
class="line"
>
<span
class="number"
>
1
</span>
<span
class="line"
>
<span>
<span>
this string:
</span>
</span>
<span>
<a
class="a"
href="http://path.com"
rel="noopener noreferrer"
target="_blank"
>
http://path.com
</a>
</span>
<span>
<span>
is a url
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders a multi-line log 1`] = `
<div
class="line"
>
<span
class="number"
>
1
</span>
<span
class="line"
>
<span>
<span>
Lorem Ipsum is simply dummy text of the printing and typesetting
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders a row with error 1`] = `
<div
class="line"
>
<span
class="number"
style="background-color: rgb(112, 0, 0); color: white;"
>
1
</span>
<span
class="line"
style="background-color: rgb(112, 0, 0); color: white;"
>
<span>
<span>
line1 with error
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders a row with error word as substring 1`] = `
<div
class="line"
>
<span
class="number"
style="background-color: rgb(112, 0, 0); color: white;"
>
1
</span>
<span
class="line"
style="background-color: rgb(112, 0, 0); color: white;"
>
<span>
<span>
line1 with errorWord
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders a row with given index as line number 1`] = `
<div
class="line"
>
<span
class="number"
>
1
</span>
<span
class="line"
>
<span>
<span>
line1
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders a row with upper case error 1`] = `
<div
class="line"
>
<span
class="number"
style="background-color: rgb(112, 0, 0); color: white;"
>
1
</span>
<span
class="line"
style="background-color: rgb(112, 0, 0); color: white;"
>
<span>
<span>
line1 with ERROR
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders a row with upper case warning 1`] = `
<div
class="line"
>
<span
class="number"
style="background-color: rgb(84, 84, 0); color: white;"
>
1
</span>
<span
class="line"
style="background-color: rgb(84, 84, 0); color: white;"
>
<span>
<span>
line1 with WARNING
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders a row with warn 1`] = `
<div
class="line"
>
<span
class="number"
style="background-color: rgb(84, 84, 0); color: white;"
>
1
</span>
<span
class="line"
style="background-color: rgb(84, 84, 0); color: white;"
>
<span>
<span>
line1 with warn
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders a row with warning 1`] = `
<div
class="line"
>
<span
class="number"
style="background-color: rgb(84, 84, 0); color: white;"
>
1
</span>
<span
class="line"
style="background-color: rgb(84, 84, 0); color: white;"
>
<span>
<span>
line1 with warning
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders a row with warning word as substring 1`] = `
<div
class="line"
>
<span
class="number"
style="background-color: rgb(84, 84, 0); color: white;"
>
1
</span>
<span
class="line"
style="background-color: rgb(84, 84, 0); color: white;"
>
<span>
<span>
line1 with warning:something
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders an empty container when no logs passed 1`] = `
<AutoSizer
disableHeight={false}
disableWidth={false}
onResize={[Function]}
style={Object {}}
>
<Component />
</AutoSizer>
`;
exports[`LogViewer renders one log line 1`] = `
<div
class="line"
>
<span
class="number"
>
1
</span>
<span
class="line"
>
<span>
<span>
first line
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders one long line without breaking 1`] = `
<div
class="line"
>
<span
class="number"
>
1
</span>
<span
class="line"
>
<span>
<span>
Lorem Ipsum is simply dummy text of the printing and typesettingindustry. Lorem Ipsum has been the industry's standard dummy text eversince the 1500s, when an unknown printer took a galley of type andscrambled it to make a type specimen book. It has survived not only fivecenturies, but also the leap into electronic typesetting, remainingessentially unchanged. It was popularised in the 1960s with the releaseof Letraset sheets containing Lorem Ipsum passages, and more recentlywith desktop publishing software like Aldus PageMaker including versionsof Lorem Ipsum.
</span>
</span>
</span>
</div>
`;
exports[`LogViewer renders two log lines 1`] = `
<div
class="line"
>
<span
class="number"
>
1
</span>
<span
class="line"
>
<span>
<span>
first line
</span>
</span>
</span>
</div>
`;
| 332 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/UploadPipelineDialog.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`UploadPipelineDialog renders alternate UI for uploading via URL 1`] = `
<WithStyles(Dialog)
classes={
Object {
"paper": "root",
}
}
id="uploadDialog"
onClose={[Function]}
open={false}
>
<WithStyles(DialogTitle)>
Upload and name your pipeline
</WithStyles(DialogTitle)>
<div
className=""
>
<div>
Upload a pipeline package file from your computer or import one using a URL.
</div>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={false}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadLocalFileBtn"
label="Upload a file"
onChange={[Function]}
/>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={true}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadFromUrlBtn"
label="Import by URL"
onChange={[Function]}
/>
</div>
<div
className=""
>
URL must be publicly accessible.
</div>
<DocumentationCompilePipeline />
<Input
label="URL"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
<Input
id="uploadFileName"
label="Pipeline name"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
</div>
<WithStyles(DialogActions)>
<WithStyles(Button)
id="cancelUploadBtn"
onClick={[Function]}
>
Cancel
</WithStyles(Button)>
<BusyButton
busy={false}
disabled={true}
id="confirmUploadBtn"
onClick={[Function]}
title="Upload"
/>
</WithStyles(DialogActions)>
</WithStyles(Dialog)>
`;
exports[`UploadPipelineDialog renders an active dropzone 1`] = `
<WithStyles(Dialog)
classes={
Object {
"paper": "root",
}
}
id="uploadDialog"
onClose={[Function]}
open={false}
>
<WithStyles(DialogTitle)>
Upload and name your pipeline
</WithStyles(DialogTitle)>
<div
className=""
>
<div>
Upload a pipeline package file from your computer or import one using a URL.
</div>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={true}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadLocalFileBtn"
label="Upload a file"
onChange={[Function]}
/>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={false}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadFromUrlBtn"
label="Import by URL"
onChange={[Function]}
/>
</div>
<n
disableClick={true}
disablePreview={false}
disabled={false}
getDataTransferItems={[Function]}
id="dropZone"
inputProps={
Object {
"tabIndex": -1,
}
}
maxSize={Infinity}
minSize={0}
multiple={true}
onDragEnter={[Function]}
onDragLeave={[Function]}
onDrop={[Function]}
preventDropOnDocument={true}
style={
Object {
"position": "relative",
}
}
>
<div
className="dropOverlay"
>
Drop files..
</div>
<div
className=""
>
You can also drag and drop the file here.
</div>
<DocumentationCompilePipeline />
<Input
InputProps={
Object {
"endAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<WithStyles(Button)
color="secondary"
onClick={[Function]}
style={
Object {
"margin": 0,
"padding": "3px 5px",
"whiteSpace": "nowrap",
}
}
>
Choose file
</WithStyles(Button)>
</WithStyles(WithFormControlContext(InputAdornment))>,
"readOnly": true,
}
}
label="File"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
</n>
<Input
id="uploadFileName"
label="Pipeline name"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
</div>
<WithStyles(DialogActions)>
<WithStyles(Button)
id="cancelUploadBtn"
onClick={[Function]}
>
Cancel
</WithStyles(Button)>
<BusyButton
busy={false}
disabled={true}
id="confirmUploadBtn"
onClick={[Function]}
title="Upload"
/>
</WithStyles(DialogActions)>
</WithStyles(Dialog)>
`;
exports[`UploadPipelineDialog renders closed 1`] = `
<WithStyles(Dialog)
classes={
Object {
"paper": "root",
}
}
id="uploadDialog"
onClose={[Function]}
open={false}
>
<WithStyles(DialogTitle)>
Upload and name your pipeline
</WithStyles(DialogTitle)>
<div
className=""
>
<div>
Upload a pipeline package file from your computer or import one using a URL.
</div>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={true}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadLocalFileBtn"
label="Upload a file"
onChange={[Function]}
/>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={false}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadFromUrlBtn"
label="Import by URL"
onChange={[Function]}
/>
</div>
<n
disableClick={true}
disablePreview={false}
disabled={false}
getDataTransferItems={[Function]}
id="dropZone"
inputProps={
Object {
"tabIndex": -1,
}
}
maxSize={Infinity}
minSize={0}
multiple={true}
onDragEnter={[Function]}
onDragLeave={[Function]}
onDrop={[Function]}
preventDropOnDocument={true}
style={
Object {
"position": "relative",
}
}
>
<div
className=""
>
You can also drag and drop the file here.
</div>
<DocumentationCompilePipeline />
<Input
InputProps={
Object {
"endAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<WithStyles(Button)
color="secondary"
onClick={[Function]}
style={
Object {
"margin": 0,
"padding": "3px 5px",
"whiteSpace": "nowrap",
}
}
>
Choose file
</WithStyles(Button)>
</WithStyles(WithFormControlContext(InputAdornment))>,
"readOnly": true,
}
}
label="File"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
</n>
<Input
id="uploadFileName"
label="Pipeline name"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
</div>
<WithStyles(DialogActions)>
<WithStyles(Button)
id="cancelUploadBtn"
onClick={[Function]}
>
Cancel
</WithStyles(Button)>
<BusyButton
busy={false}
disabled={true}
id="confirmUploadBtn"
onClick={[Function]}
title="Upload"
/>
</WithStyles(DialogActions)>
</WithStyles(Dialog)>
`;
exports[`UploadPipelineDialog renders open 1`] = `
<WithStyles(Dialog)
classes={
Object {
"paper": "root",
}
}
id="uploadDialog"
onClose={[Function]}
open={false}
>
<WithStyles(DialogTitle)>
Upload and name your pipeline
</WithStyles(DialogTitle)>
<div
className=""
>
<div>
Upload a pipeline package file from your computer or import one using a URL.
</div>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={true}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadLocalFileBtn"
label="Upload a file"
onChange={[Function]}
/>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={false}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadFromUrlBtn"
label="Import by URL"
onChange={[Function]}
/>
</div>
<n
disableClick={true}
disablePreview={false}
disabled={false}
getDataTransferItems={[Function]}
id="dropZone"
inputProps={
Object {
"tabIndex": -1,
}
}
maxSize={Infinity}
minSize={0}
multiple={true}
onDragEnter={[Function]}
onDragLeave={[Function]}
onDrop={[Function]}
preventDropOnDocument={true}
style={
Object {
"position": "relative",
}
}
>
<div
className=""
>
You can also drag and drop the file here.
</div>
<DocumentationCompilePipeline />
<Input
InputProps={
Object {
"endAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<WithStyles(Button)
color="secondary"
onClick={[Function]}
style={
Object {
"margin": 0,
"padding": "3px 5px",
"whiteSpace": "nowrap",
}
}
>
Choose file
</WithStyles(Button)>
</WithStyles(WithFormControlContext(InputAdornment))>,
"readOnly": true,
}
}
label="File"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
</n>
<Input
id="uploadFileName"
label="Pipeline name"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
</div>
<WithStyles(DialogActions)>
<WithStyles(Button)
id="cancelUploadBtn"
onClick={[Function]}
>
Cancel
</WithStyles(Button)>
<BusyButton
busy={false}
disabled={true}
id="confirmUploadBtn"
onClick={[Function]}
title="Upload"
/>
</WithStyles(DialogActions)>
</WithStyles(Dialog)>
`;
exports[`UploadPipelineDialog renders with a selected file to upload 1`] = `
<WithStyles(Dialog)
classes={
Object {
"paper": "root",
}
}
id="uploadDialog"
onClose={[Function]}
open={false}
>
<WithStyles(DialogTitle)>
Upload and name your pipeline
</WithStyles(DialogTitle)>
<div
className=""
>
<div>
Upload a pipeline package file from your computer or import one using a URL.
</div>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={true}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadLocalFileBtn"
label="Upload a file"
onChange={[Function]}
/>
<WithStyles(WithFormControlContext(FormControlLabel))
checked={false}
control={
<WithStyles(Radio)
color="primary"
/>
}
id="uploadFromUrlBtn"
label="Import by URL"
onChange={[Function]}
/>
</div>
<n
disableClick={true}
disablePreview={false}
disabled={false}
getDataTransferItems={[Function]}
id="dropZone"
inputProps={
Object {
"tabIndex": -1,
}
}
maxSize={Infinity}
minSize={0}
multiple={true}
onDragEnter={[Function]}
onDragLeave={[Function]}
onDrop={[Function]}
preventDropOnDocument={true}
style={
Object {
"position": "relative",
}
}
>
<div
className=""
>
You can also drag and drop the file here.
</div>
<DocumentationCompilePipeline />
<Input
InputProps={
Object {
"endAdornment": <WithStyles(WithFormControlContext(InputAdornment))
position="end"
>
<WithStyles(Button)
color="secondary"
onClick={[Function]}
style={
Object {
"margin": 0,
"padding": "3px 5px",
"whiteSpace": "nowrap",
}
}
>
Choose file
</WithStyles(Button)>
</WithStyles(WithFormControlContext(InputAdornment))>,
"readOnly": true,
}
}
label="File"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
</n>
<Input
id="uploadFileName"
label="Pipeline name"
onChange={[Function]}
required={true}
value=""
variant="outlined"
/>
</div>
<WithStyles(DialogActions)>
<WithStyles(Button)
id="cancelUploadBtn"
onClick={[Function]}
>
Cancel
</WithStyles(Button)>
<BusyButton
busy={false}
disabled={true}
id="confirmUploadBtn"
onClick={[Function]}
title="Upload"
/>
</WithStyles(DialogActions)>
</WithStyles(Dialog)>
`;
| 333 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/CompareTable.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CompareTable renders no data 1`] = `""`;
exports[`CompareTable renders one row with three columns 1`] = `
<table
className="root"
>
<tbody>
<tr
className="row"
>
<td
className="labelCell"
/>
<td
className="cell labelCell"
key="0"
title="col1"
>
col1
</td>
<td
className="cell labelCell"
key="1"
title="col2"
>
col2
</td>
<td
className="cell labelCell"
key="2"
title="col3"
>
col3
</td>
</tr>
<tr
className="row"
key="0"
>
<td
className="cell labelCell"
title="row1"
>
row1
</td>
<td
className="cell"
key="0"
title="1"
>
1
</td>
<td
className="cell"
key="1"
title="2"
>
2
</td>
<td
className="cell"
key="2"
title="3"
>
3
</td>
</tr>
<tr
className="row"
key="1"
>
<td
className="cell labelCell"
title="row2"
>
row2
</td>
<td
className="cell"
key="0"
title="4"
>
4
</td>
<td
className="cell"
key="1"
title="5"
>
5
</td>
<td
className="cell"
key="2"
title="6"
>
6
</td>
</tr>
<tr
className="row"
key="2"
>
<td
className="cell labelCell"
title="row3"
>
row3
</td>
<td
className="cell"
key="0"
title="cell7"
>
cell7
</td>
<td
className="cell"
key="1"
title="cell8"
>
cell8
</td>
<td
className="cell"
key="2"
title="cell9"
>
cell9
</td>
</tr>
</tbody>
</table>
`;
| 334 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/Editor.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Editor renders a placeholder that contains HTML 1`] = `"<div id=\\"brace-editor\\" style=\\"width: 500px; height: 500px;\\" class=\\" ace_editor ace-tm\\"><textarea class=\\"ace_text-input\\" wrap=\\"off\\" autocorrect=\\"off\\" autocapitalize=\\"off\\" spellcheck=\\"false\\" style=\\"opacity: 0;\\"></textarea><div class=\\"ace_gutter\\" aria-hidden=\\"true\\"><div class=\\"ace_layer ace_gutter-layer ace_folding-enabled\\"></div><div class=\\"ace_gutter-active-line\\"></div></div><div class=\\"ace_scroller\\"><div class=\\"ace_content\\"><div class=\\"ace_layer ace_print-margin-layer\\"><div class=\\"ace_print-margin\\" style=\\"left: 4px; visibility: visible;\\"></div></div><div class=\\"ace_layer ace_marker-layer\\"></div><div class=\\"ace_layer ace_text-layer\\" style=\\"padding: 0px 4px;\\"></div><div class=\\"ace_layer ace_marker-layer\\"></div><div class=\\"ace_layer ace_cursor-layer ace_hidden-cursors\\"><div class=\\"ace_cursor\\"></div></div></div><div class=\\"ace_comment ace_placeholder\\" style=\\"padding: 0px 9px; position: absolute; z-index: 3;\\">I am a placeholder with <strong>HTML</strong>.</div></div><div class=\\"ace_scrollbar ace_scrollbar-v\\" style=\\"display: none; width: 20px;\\"><div class=\\"ace_scrollbar-inner\\" style=\\"width: 20px;\\"></div></div><div class=\\"ace_scrollbar ace_scrollbar-h\\" style=\\"display: none; height: 20px;\\"><div class=\\"ace_scrollbar-inner\\" style=\\"height: 20px;\\"></div></div><div style=\\"height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; overflow: hidden;\\"><div style=\\"height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; overflow: visible;\\"></div><div style=\\"height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; overflow: visible;\\">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div></div></div>"`;
exports[`Editor renders with a placeholder 1`] = `"<div id=\\"brace-editor\\" style=\\"width: 500px; height: 500px;\\" class=\\" ace_editor ace-tm\\"><textarea class=\\"ace_text-input\\" wrap=\\"off\\" autocorrect=\\"off\\" autocapitalize=\\"off\\" spellcheck=\\"false\\" style=\\"opacity: 0;\\"></textarea><div class=\\"ace_gutter\\" aria-hidden=\\"true\\"><div class=\\"ace_layer ace_gutter-layer ace_folding-enabled\\"></div><div class=\\"ace_gutter-active-line\\"></div></div><div class=\\"ace_scroller\\"><div class=\\"ace_content\\"><div class=\\"ace_layer ace_print-margin-layer\\"><div class=\\"ace_print-margin\\" style=\\"left: 4px; visibility: visible;\\"></div></div><div class=\\"ace_layer ace_marker-layer\\"></div><div class=\\"ace_layer ace_text-layer\\" style=\\"padding: 0px 4px;\\"></div><div class=\\"ace_layer ace_marker-layer\\"></div><div class=\\"ace_layer ace_cursor-layer ace_hidden-cursors\\"><div class=\\"ace_cursor\\"></div></div></div><div class=\\"ace_comment ace_placeholder\\" style=\\"padding: 0px 9px; position: absolute; z-index: 3;\\">I am a placeholder.</div></div><div class=\\"ace_scrollbar ace_scrollbar-v\\" style=\\"display: none; width: 20px;\\"><div class=\\"ace_scrollbar-inner\\" style=\\"width: 20px;\\"></div></div><div class=\\"ace_scrollbar ace_scrollbar-h\\" style=\\"display: none; height: 20px;\\"><div class=\\"ace_scrollbar-inner\\" style=\\"height: 20px;\\"></div></div><div style=\\"height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; overflow: hidden;\\"><div style=\\"height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; overflow: visible;\\"></div><div style=\\"height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; overflow: visible;\\">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div></div></div>"`;
exports[`Editor renders without a placeholder and value 1`] = `"<div id=\\"brace-editor\\" style=\\"width: 500px; height: 500px;\\" class=\\" ace_editor ace-tm\\"><textarea class=\\"ace_text-input\\" wrap=\\"off\\" autocorrect=\\"off\\" autocapitalize=\\"off\\" spellcheck=\\"false\\" style=\\"opacity: 0;\\"></textarea><div class=\\"ace_gutter\\" aria-hidden=\\"true\\"><div class=\\"ace_layer ace_gutter-layer ace_folding-enabled\\"></div><div class=\\"ace_gutter-active-line\\"></div></div><div class=\\"ace_scroller\\"><div class=\\"ace_content\\"><div class=\\"ace_layer ace_print-margin-layer\\"><div class=\\"ace_print-margin\\" style=\\"left: 4px; visibility: visible;\\"></div></div><div class=\\"ace_layer ace_marker-layer\\"></div><div class=\\"ace_layer ace_text-layer\\" style=\\"padding: 0px 4px;\\"></div><div class=\\"ace_layer ace_marker-layer\\"></div><div class=\\"ace_layer ace_cursor-layer ace_hidden-cursors\\"><div class=\\"ace_cursor\\"></div></div></div></div><div class=\\"ace_scrollbar ace_scrollbar-v\\" style=\\"display: none; width: 20px;\\"><div class=\\"ace_scrollbar-inner\\" style=\\"width: 20px;\\"></div></div><div class=\\"ace_scrollbar ace_scrollbar-h\\" style=\\"display: none; height: 20px;\\"><div class=\\"ace_scrollbar-inner\\" style=\\"height: 20px;\\"></div></div><div style=\\"height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; overflow: hidden;\\"><div style=\\"height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; overflow: visible;\\"></div><div style=\\"height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; overflow: visible;\\">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div></div></div>"`;
| 335 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/Metric.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Metric renders a metric and does not log an error when metric is between max and min value 1`] = `
<div
className="metricContainer"
>
<div
className="metricFill"
data-testid="metric"
style={
Object {
"width": "calc(54%)",
}
}
>
0.540
</div>
</div>
`;
exports[`Metric renders a metric and logs an error when metric has value greater than max value 1`] = `
<div
style={
Object {
"paddingLeft": 6,
}
}
>
2.000
</div>
`;
exports[`Metric renders a metric and logs an error when metric has value less than min value 1`] = `
<div
style={
Object {
"paddingLeft": 6,
}
}
>
-0.540
</div>
`;
exports[`Metric renders a metric when metric has max and min value of 0 1`] = `
<div
style={
Object {
"paddingLeft": 6,
}
}
>
0.540
</div>
`;
exports[`Metric renders a metric when metric has value and percentage format 1`] = `
<div
className="metricContainer"
>
<div
className="metricFill"
data-testid="metric"
style={
Object {
"width": "calc(54.000%)",
}
}
>
54.000%
</div>
</div>
`;
exports[`Metric renders an empty metric when metric has no metadata and raw format 1`] = `<div />`;
exports[`Metric renders an empty metric when metric has no metadata and unspecified format 1`] = `<div />`;
exports[`Metric renders an empty metric when metric has no value 1`] = `<div />`;
exports[`Metric renders an empty metric when there is no metric 1`] = `<div />`;
| 336 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/PrivateSharedSelector.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PrivateSharedSelector it renders correctly 1`] = `
Object {
"asFragment": [Function],
"baseElement": <body>
<div>
<div>
Select if the new pipeline will be private or shared.
</div>
<div
class="flex"
>
<label
class="MuiFormControlLabel-root-9"
id="createNewPrivatePipelineBtn"
title="Only people who have access to this namespace will be able to view and use this pipeline."
>
<span
class="MuiButtonBase-root-30 MuiIconButton-root-24 MuiPrivateSwitchBase-root-20 MuiRadio-root-15 MuiRadio-colorPrimary-18 MuiPrivateSwitchBase-checked-21 MuiRadio-checked-16"
>
<span
class="MuiIconButton-label-29"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-33"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
<input
checked=""
class="MuiPrivateSwitchBase-input-23"
type="radio"
value=""
/>
</span>
<span
class="MuiTouchRipple-root-78"
/>
</span>
<span
class="MuiTypography-root-42 MuiTypography-body1-51 MuiFormControlLabel-label-14"
>
Private
</span>
</label>
<label
class="MuiFormControlLabel-root-9"
id="createNewSharedPipelineBtn"
title="Everyone in your organization will be able to view and use this pipeline."
>
<span
class="MuiButtonBase-root-30 MuiIconButton-root-24 MuiPrivateSwitchBase-root-20 MuiRadio-root-15 MuiRadio-colorPrimary-18"
>
<span
class="MuiIconButton-label-29"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-33"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
<input
class="MuiPrivateSwitchBase-input-23"
type="radio"
value=""
/>
</span>
<span
class="MuiTouchRipple-root-78"
/>
</span>
<span
class="MuiTypography-root-42 MuiTypography-body1-51 MuiFormControlLabel-label-14"
>
Shared
</span>
</label>
</div>
</div>
</body>,
"container": <div>
<div>
Select if the new pipeline will be private or shared.
</div>
<div
class="flex"
>
<label
class="MuiFormControlLabel-root-9"
id="createNewPrivatePipelineBtn"
title="Only people who have access to this namespace will be able to view and use this pipeline."
>
<span
class="MuiButtonBase-root-30 MuiIconButton-root-24 MuiPrivateSwitchBase-root-20 MuiRadio-root-15 MuiRadio-colorPrimary-18 MuiPrivateSwitchBase-checked-21 MuiRadio-checked-16"
>
<span
class="MuiIconButton-label-29"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-33"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
<input
checked=""
class="MuiPrivateSwitchBase-input-23"
type="radio"
value=""
/>
</span>
<span
class="MuiTouchRipple-root-78"
/>
</span>
<span
class="MuiTypography-root-42 MuiTypography-body1-51 MuiFormControlLabel-label-14"
>
Private
</span>
</label>
<label
class="MuiFormControlLabel-root-9"
id="createNewSharedPipelineBtn"
title="Everyone in your organization will be able to view and use this pipeline."
>
<span
class="MuiButtonBase-root-30 MuiIconButton-root-24 MuiPrivateSwitchBase-root-20 MuiRadio-root-15 MuiRadio-colorPrimary-18"
>
<span
class="MuiIconButton-label-29"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root-33"
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
<input
class="MuiPrivateSwitchBase-input-23"
type="radio"
value=""
/>
</span>
<span
class="MuiTouchRipple-root-78"
/>
</span>
<span
class="MuiTypography-root-42 MuiTypography-body1-51 MuiFormControlLabel-label-14"
>
Shared
</span>
</label>
</div>
</div>,
"debug": [Function],
"findAllByAltText": [Function],
"findAllByDisplayValue": [Function],
"findAllByLabelText": [Function],
"findAllByPlaceholderText": [Function],
"findAllByRole": [Function],
"findAllByTestId": [Function],
"findAllByText": [Function],
"findAllByTitle": [Function],
"findByAltText": [Function],
"findByDisplayValue": [Function],
"findByLabelText": [Function],
"findByPlaceholderText": [Function],
"findByRole": [Function],
"findByTestId": [Function],
"findByText": [Function],
"findByTitle": [Function],
"getAllByAltText": [Function],
"getAllByDisplayValue": [Function],
"getAllByLabelText": [Function],
"getAllByPlaceholderText": [Function],
"getAllByRole": [Function],
"getAllByTestId": [Function],
"getAllByText": [Function],
"getAllByTitle": [Function],
"getByAltText": [Function],
"getByDisplayValue": [Function],
"getByLabelText": [Function],
"getByPlaceholderText": [Function],
"getByRole": [Function],
"getByTestId": [Function],
"getByText": [Function],
"getByTitle": [Function],
"queryAllByAltText": [Function],
"queryAllByDisplayValue": [Function],
"queryAllByLabelText": [Function],
"queryAllByPlaceholderText": [Function],
"queryAllByRole": [Function],
"queryAllByTestId": [Function],
"queryAllByText": [Function],
"queryAllByTitle": [Function],
"queryByAltText": [Function],
"queryByDisplayValue": [Function],
"queryByLabelText": [Function],
"queryByPlaceholderText": [Function],
"queryByRole": [Function],
"queryByTestId": [Function],
"queryByText": [Function],
"queryByTitle": [Function],
"rerender": [Function],
"unmount": [Function],
}
`;
| 337 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/CustomTableRow.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CustomTable displays warning icon with tooltip if row has error 1`] = `
<Fragment>
<div
className="cell"
key="0"
style={
Object {
"width": "50%",
}
}
>
<WithStyles(Tooltip)
title="dummy error"
>
<pure(WarningRoundedIcon)
className="icon"
/>
</WithStyles(Tooltip)>
cell1
</div>
<div
className="cell"
key="1"
style={
Object {
"width": "50%",
}
}
>
cell2
</div>
</Fragment>
`;
exports[`CustomTable renders some rows using a custom renderer 1`] = `
<Fragment>
<div
className="cell"
key="0"
style={
Object {
"width": "50%",
}
}
>
<span>
this is custom output
</span>
</div>
<div
className="cell"
key="1"
style={
Object {
"width": "50%",
}
}
>
cell2
</div>
</Fragment>
`;
| 338 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/Description.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Description When in inline mode renders markdown link 1`] = `
<a
class="link"
href="https://www.google.com"
rel="noopener"
target="_blank"
>
google
</a>
`;
exports[`Description When in inline mode renders markdown list as pure text 1`] = `
<span>
* abc
* def
</span>
`;
exports[`Description When in inline mode renders paragraphs separated by space 1`] = `
<span>
Paragraph 1
Paragraph 2
</span>
`;
exports[`Description When in inline mode renders pure text 1`] = `
<span>
this is a line of pure text
</span>
`;
exports[`Description When in inline mode renders raw link 1`] = `
<a
class="link"
href="https://www.google.com"
rel="noopener"
target="_blank"
>
https://www.google.com
</a>
`;
exports[`Description When in normal mode renders empty string 1`] = `<span />`;
exports[`Description When in normal mode renders markdown link 1`] = `
<a
class="link"
href="https://www.google.com"
rel="noopener"
target="_blank"
>
google
</a>
`;
exports[`Description When in normal mode renders markdown list as list 1`] = `
<ul>
<li>
abc
</li>
<li>
def
</li>
</ul>
`;
exports[`Description When in normal mode renders paragraphs 1`] = `
<div>
<p>
Paragraph 1
</p>
<p>
Paragraph 2
</p>
</div>
`;
exports[`Description When in normal mode renders pure text 1`] = `
<span>
this is a line of pure text
</span>
`;
exports[`Description When in normal mode renders raw link 1`] = `
<a
class="link"
href="https://www.google.com"
rel="noopener"
target="_blank"
>
https://www.google.com
</a>
`;
| 339 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/Router.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Router initial render 1`] = `
<SideNavLayout>
<Switch>
<Route
exact={true}
path="/"
render={[Function]}
/>
<Route
exact={true}
key="0"
path="/start"
render={[Function]}
/>
<Route
exact={true}
key="1"
path="/archive/runs"
render={[Function]}
/>
<Route
exact={true}
key="2"
path="/archive/experiments"
render={[Function]}
/>
<Route
exact={true}
key="3"
path="/artifacts"
render={[Function]}
/>
<Route
exact={false}
key="4"
path="/artifacts/:id"
render={[Function]}
/>
<Route
exact={true}
key="5"
path="/executions"
render={[Function]}
/>
<Route
exact={true}
key="6"
path="/executions/:id"
render={[Function]}
/>
<Route
exact={true}
key="7"
path="/experiments"
render={[Function]}
/>
<Route
exact={true}
key="8"
path="/experiments/details/:eid"
render={[Function]}
/>
<Route
exact={true}
key="9"
path="/experiments/new"
render={[Function]}
/>
<Route
exact={true}
key="10"
path="/pipeline_versions/new"
render={[Function]}
/>
<Route
exact={true}
key="11"
path="/runs/new"
render={[Function]}
/>
<Route
exact={true}
key="12"
path="/pipelines"
render={[Function]}
/>
<Route
exact={true}
key="13"
path="/pipelines/details/:pid/version/:vid?"
render={[Function]}
/>
<Route
exact={true}
key="14"
path="/pipelines/details/:pid?"
render={[Function]}
/>
<Route
exact={true}
key="15"
path="/runs"
render={[Function]}
/>
<Route
exact={true}
key="16"
path="/recurringruns"
render={[Function]}
/>
<Route
exact={true}
key="17"
path="/recurringrun/details/:rrid"
render={[Function]}
/>
<Route
exact={true}
key="18"
path="/runs/details/:rid"
render={[Function]}
/>
<Route
exact={true}
key="19"
path="/runs/details/:rid/execution/:executionid"
render={[Function]}
/>
<Route
exact={true}
key="20"
path="/compare"
render={[Function]}
/>
<Route
exact={true}
key="21"
path="/frontend_features"
render={[Function]}
/>
<Route>
<RoutedPage />
</Route>
</Switch>
</SideNavLayout>
`;
| 340 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/__snapshots__/Trigger.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Trigger enables a single day on click 1`] = `
<div>
<Input
label="Trigger type"
onChange={[Function]}
required={true}
select={true}
value={1}
variant="outlined"
>
<WithStyles(MenuItem)
key="0"
value={0}
>
Periodic
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={1}
>
Cron
</WithStyles(MenuItem)>
</Input>
<div>
<Input
label="Maximum concurrent runs"
onChange={[Function]}
required={true}
value="10"
variant="outlined"
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has start date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-21"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="startTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has end date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-28"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="endTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<span
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={true}
color="primary"
onClick={[Function]}
/>
}
label="Catchup"
/>
<HelpButton
helpText={
<div>
<p>
Whether the recurring run should catch up if behind schedule. Defaults to true.
</p>
<p>
For example, if the recurring run is paused for a while and re-enabled afterwards. If catchup=true, the scheduler will catch up on (backfill) each missed interval. Otherwise, it only schedules the latest interval if more than one interval is ready to be scheduled.
</p>
<p>
Usually, if your pipeline handles backfill internally, you should turn catchup off to avoid duplicate backfill.
</p>
</div>
}
/>
</span>
<span
className="flex"
>
Run every
<Separator />
<Input
height={30}
onChange={[Function]}
required={true}
select={true}
value="Week"
variant="outlined"
width={95}
>
<WithStyles(MenuItem)
key="0"
value="Minute"
>
Minute
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value="Hour"
>
Hour
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value="Day"
>
Day
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value="Week"
>
Week
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="4"
value="Month"
>
Month
</WithStyles(MenuItem)>
</Input>
</span>
</div>
<div>
<div>
<span>
On:
</span>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="All"
/>
<Separator />
<WithStyles(Button)
color="primary"
key="0"
mini={true}
onClick={[Function]}
variant="fab"
>
S
</WithStyles(Button)>
<WithStyles(Button)
color="secondary"
key="1"
mini={true}
onClick={[Function]}
variant="fab"
>
M
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="2"
mini={true}
onClick={[Function]}
variant="fab"
>
T
</WithStyles(Button)>
<WithStyles(Button)
color="secondary"
key="3"
mini={true}
onClick={[Function]}
variant="fab"
>
W
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="4"
mini={true}
onClick={[Function]}
variant="fab"
>
T
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="5"
mini={true}
onClick={[Function]}
variant="fab"
>
F
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="6"
mini={true}
onClick={[Function]}
variant="fab"
>
S
</WithStyles(Button)>
</div>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label={
<span>
Allow editing cron expression. (format is specified
<ExternalLink
href="https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format"
>
here
</ExternalLink>
)
</span>
}
/>
</div>
<Input
disabled={true}
label="cron expression"
onChange={[Function]}
value="0 0 0 ? * 0,2,4,5,6"
variant="outlined"
width={300}
/>
<div>
Note: Start and end dates/times are handled outside of cron.
</div>
</div>
</div>
`;
exports[`Trigger renders all week days enabled 1`] = `
<div>
<Input
label="Trigger type"
onChange={[Function]}
required={true}
select={true}
value={1}
variant="outlined"
>
<WithStyles(MenuItem)
key="0"
value={0}
>
Periodic
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={1}
>
Cron
</WithStyles(MenuItem)>
</Input>
<div>
<Input
label="Maximum concurrent runs"
onChange={[Function]}
required={true}
value="10"
variant="outlined"
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has start date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-21"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="startTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has end date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-28"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="endTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<span
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={true}
color="primary"
onClick={[Function]}
/>
}
label="Catchup"
/>
<HelpButton
helpText={
<div>
<p>
Whether the recurring run should catch up if behind schedule. Defaults to true.
</p>
<p>
For example, if the recurring run is paused for a while and re-enabled afterwards. If catchup=true, the scheduler will catch up on (backfill) each missed interval. Otherwise, it only schedules the latest interval if more than one interval is ready to be scheduled.
</p>
<p>
Usually, if your pipeline handles backfill internally, you should turn catchup off to avoid duplicate backfill.
</p>
</div>
}
/>
</span>
<span
className="flex"
>
Run every
<Separator />
<Input
height={30}
onChange={[Function]}
required={true}
select={true}
value="Week"
variant="outlined"
width={95}
>
<WithStyles(MenuItem)
key="0"
value="Minute"
>
Minute
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value="Hour"
>
Hour
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value="Day"
>
Day
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value="Week"
>
Week
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="4"
value="Month"
>
Month
</WithStyles(MenuItem)>
</Input>
</span>
</div>
<div>
<div>
<span>
On:
</span>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="All"
/>
<Separator />
<WithStyles(Button)
color="secondary"
key="0"
mini={true}
onClick={[Function]}
variant="fab"
>
S
</WithStyles(Button)>
<WithStyles(Button)
color="secondary"
key="1"
mini={true}
onClick={[Function]}
variant="fab"
>
M
</WithStyles(Button)>
<WithStyles(Button)
color="secondary"
key="2"
mini={true}
onClick={[Function]}
variant="fab"
>
T
</WithStyles(Button)>
<WithStyles(Button)
color="secondary"
key="3"
mini={true}
onClick={[Function]}
variant="fab"
>
W
</WithStyles(Button)>
<WithStyles(Button)
color="secondary"
key="4"
mini={true}
onClick={[Function]}
variant="fab"
>
T
</WithStyles(Button)>
<WithStyles(Button)
color="secondary"
key="5"
mini={true}
onClick={[Function]}
variant="fab"
>
F
</WithStyles(Button)>
<WithStyles(Button)
color="secondary"
key="6"
mini={true}
onClick={[Function]}
variant="fab"
>
S
</WithStyles(Button)>
</div>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label={
<span>
Allow editing cron expression. (format is specified
<ExternalLink
href="https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format"
>
here
</ExternalLink>
)
</span>
}
/>
</div>
<Input
disabled={true}
label="cron expression"
onChange={[Function]}
value="0 0 0 ? *"
variant="outlined"
width={300}
/>
<div>
Note: Start and end dates/times are handled outside of cron.
</div>
</div>
</div>
`;
exports[`Trigger renders periodic schedule controls for initial render 1`] = `
<div>
<Input
label="Trigger type"
onChange={[Function]}
required={true}
select={true}
value={0}
variant="outlined"
>
<WithStyles(MenuItem)
key="0"
value={0}
>
Periodic
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={1}
>
Cron
</WithStyles(MenuItem)>
</Input>
<div>
<Input
label="Maximum concurrent runs"
onChange={[Function]}
required={true}
value="10"
variant="outlined"
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has start date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-21"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="startTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has end date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-28"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="endTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<span
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={true}
color="primary"
onClick={[Function]}
/>
}
label="Catchup"
/>
<HelpButton
helpText={
<div>
<p>
Whether the recurring run should catch up if behind schedule. Defaults to true.
</p>
<p>
For example, if the recurring run is paused for a while and re-enabled afterwards. If catchup=true, the scheduler will catch up on (backfill) each missed interval. Otherwise, it only schedules the latest interval if more than one interval is ready to be scheduled.
</p>
<p>
Usually, if your pipeline handles backfill internally, you should turn catchup off to avoid duplicate backfill.
</p>
</div>
}
/>
</span>
<span
className="flex"
>
Run every
<div
className="flex"
>
<Separator />
<Input
error={false}
height={30}
onChange={[Function]}
required={true}
type="number"
value={1}
variant="outlined"
width={65}
/>
</div>
<Separator />
<Input
height={30}
onChange={[Function]}
required={true}
select={true}
value="Hour"
variant="outlined"
width={95}
>
<WithStyles(MenuItem)
key="0"
value="Minute"
>
Minutes
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value="Hour"
>
Hours
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value="Day"
>
Days
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value="Week"
>
Weeks
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="4"
value="Month"
>
Months
</WithStyles(MenuItem)>
</Input>
</span>
</div>
</div>
`;
exports[`Trigger renders periodic schedule controls if the trigger type is CRON 1`] = `
<div>
<Input
label="Trigger type"
onChange={[Function]}
required={true}
select={true}
value={1}
variant="outlined"
>
<WithStyles(MenuItem)
key="0"
value={0}
>
Periodic
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={1}
>
Cron
</WithStyles(MenuItem)>
</Input>
<div>
<Input
label="Maximum concurrent runs"
onChange={[Function]}
required={true}
value="10"
variant="outlined"
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has start date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-21"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="startTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has end date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-28"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="endTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<span
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={true}
color="primary"
onClick={[Function]}
/>
}
label="Catchup"
/>
<HelpButton
helpText={
<div>
<p>
Whether the recurring run should catch up if behind schedule. Defaults to true.
</p>
<p>
For example, if the recurring run is paused for a while and re-enabled afterwards. If catchup=true, the scheduler will catch up on (backfill) each missed interval. Otherwise, it only schedules the latest interval if more than one interval is ready to be scheduled.
</p>
<p>
Usually, if your pipeline handles backfill internally, you should turn catchup off to avoid duplicate backfill.
</p>
</div>
}
/>
</span>
<span
className="flex"
>
Run every
<Separator />
<Input
height={30}
onChange={[Function]}
required={true}
select={true}
value="Hour"
variant="outlined"
width={95}
>
<WithStyles(MenuItem)
key="0"
value="Minute"
>
Minute
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value="Hour"
>
Hour
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value="Day"
>
Day
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value="Week"
>
Week
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="4"
value="Month"
>
Month
</WithStyles(MenuItem)>
</Input>
</span>
</div>
<div>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label={
<span>
Allow editing cron expression. (format is specified
<ExternalLink
href="https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format"
>
here
</ExternalLink>
)
</span>
}
/>
</div>
<Input
disabled={true}
label="cron expression"
onChange={[Function]}
value="0 0 * * * ?"
variant="outlined"
width={300}
/>
<div>
Note: Start and end dates/times are handled outside of cron.
</div>
</div>
</div>
`;
exports[`Trigger renders week days if the trigger type is CRON and interval is weekly 1`] = `
<div>
<Input
label="Trigger type"
onChange={[Function]}
required={true}
select={true}
value={1}
variant="outlined"
>
<WithStyles(MenuItem)
key="0"
value={0}
>
Periodic
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value={1}
>
Cron
</WithStyles(MenuItem)>
</Input>
<div>
<Input
label="Maximum concurrent runs"
onChange={[Function]}
required={true}
value="10"
variant="outlined"
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has start date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-21"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="Start time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="startTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label="Has end date"
/>
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End date"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="date"
value="2018-12-28"
variant="outlined"
width={160}
/>
<Separator />
<Input
InputLabelProps={
Object {
"classes": Object {
"outlined": "noMargin",
},
"shrink": true,
}
}
label="End time"
onChange={[Function]}
style={
Object {
"visibility": "hidden",
}
}
type="time"
value="07:53"
variant="outlined"
width={120}
/>
</div>
<div
className="alert"
data-testid="endTimeMessage"
style={
Object {
"visibility": "hidden",
}
}
/>
<span
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={true}
color="primary"
onClick={[Function]}
/>
}
label="Catchup"
/>
<HelpButton
helpText={
<div>
<p>
Whether the recurring run should catch up if behind schedule. Defaults to true.
</p>
<p>
For example, if the recurring run is paused for a while and re-enabled afterwards. If catchup=true, the scheduler will catch up on (backfill) each missed interval. Otherwise, it only schedules the latest interval if more than one interval is ready to be scheduled.
</p>
<p>
Usually, if your pipeline handles backfill internally, you should turn catchup off to avoid duplicate backfill.
</p>
</div>
}
/>
</span>
<span
className="flex"
>
Run every
<Separator />
<Input
height={30}
onChange={[Function]}
required={true}
select={true}
value="Week"
variant="outlined"
width={95}
>
<WithStyles(MenuItem)
key="0"
value="Minute"
>
Minute
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="1"
value="Hour"
>
Hour
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="2"
value="Day"
>
Day
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="3"
value="Week"
>
Week
</WithStyles(MenuItem)>
<WithStyles(MenuItem)
key="4"
value="Month"
>
Month
</WithStyles(MenuItem)>
</Input>
</span>
</div>
<div>
<div>
<span>
On:
</span>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={true}
color="primary"
onClick={[Function]}
/>
}
label="All"
/>
<Separator />
<WithStyles(Button)
color="primary"
key="0"
mini={true}
onClick={[Function]}
variant="fab"
>
S
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="1"
mini={true}
onClick={[Function]}
variant="fab"
>
M
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="2"
mini={true}
onClick={[Function]}
variant="fab"
>
T
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="3"
mini={true}
onClick={[Function]}
variant="fab"
>
W
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="4"
mini={true}
onClick={[Function]}
variant="fab"
>
T
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="5"
mini={true}
onClick={[Function]}
variant="fab"
>
F
</WithStyles(Button)>
<WithStyles(Button)
color="primary"
key="6"
mini={true}
onClick={[Function]}
variant="fab"
>
S
</WithStyles(Button)>
</div>
<div
className="flex"
>
<WithStyles(WithFormControlContext(FormControlLabel))
control={
<WithStyles(Checkbox)
checked={false}
color="primary"
onClick={[Function]}
/>
}
label={
<span>
Allow editing cron expression. (format is specified
<ExternalLink
href="https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format"
>
here
</ExternalLink>
)
</span>
}
/>
</div>
<Input
disabled={true}
label="cron expression"
onChange={[Function]}
value="0 0 0 ? * *"
variant="outlined"
width={300}
/>
<div>
Note: Start and end dates/times are handled outside of cron.
</div>
</div>
</div>
`;
| 341 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/InputOutputTab.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { useQuery } from 'react-query';
import { Link } from 'react-router-dom';
import { ErrorBoundary } from 'src/atoms/ErrorBoundary';
import { commonCss, padding } from 'src/Css';
import { KeyValue } from 'src/lib/StaticGraphParser';
import { getMetadataValue } from 'src/mlmd/library';
import {
filterEventWithInputArtifact,
filterEventWithOutputArtifact,
getArtifactName,
getArtifactTypeName,
getArtifactTypes,
getLinkedArtifactsByExecution,
getStoreSessionInfoFromArtifact,
LinkedArtifact,
} from 'src/mlmd/MlmdUtils';
import { ArtifactType, Execution } from 'src/third_party/mlmd';
import ArtifactPreview from '../ArtifactPreview';
import Banner from '../Banner';
import DetailsTable from '../DetailsTable';
import { RoutePageFactory } from '../Router';
import { ExecutionTitle } from './ExecutionTitle';
export type ParamList = Array<KeyValue<string>>;
export type URIToSessionInfo = Map<string, string | undefined>;
export interface ArtifactParamsWithSessionInfo {
params: ParamList;
sessionMap: URIToSessionInfo;
}
export interface ArtifactLocation {
uri: string;
store_session_info: string | undefined;
}
export interface IOTabProps {
execution: Execution;
namespace: string | undefined;
}
export function InputOutputTab({ execution, namespace }: IOTabProps) {
const executionId = execution.getId();
// TODO(jlyaoyuli): Showing input/output parameter for unexecuted node (retrieves from PipelineSpec).
// TODO(jlyaoyuli): Display other information (container, args, image, command)
// Retrieves input and output artifacts from Metadata store.
const { isSuccess, error, data: linkedArtifacts } = useQuery<LinkedArtifact[], Error>(
['execution_artifact', { id: executionId, state: execution.getLastKnownState() }],
() => getLinkedArtifactsByExecution(execution),
{ staleTime: Infinity },
);
const { data: artifactTypes } = useQuery<ArtifactType[], Error>(
['artifact_types', { linkedArtifact: linkedArtifacts }],
() => getArtifactTypes(),
{},
);
const artifactTypeNames =
linkedArtifacts && artifactTypes ? getArtifactTypeName(artifactTypes, linkedArtifacts) : [];
// Restructs artifacts and parameters for visualization.
const inputParams = extractInputFromExecution(execution);
const outputParams = extractOutputFromExecution(execution);
let inputArtifactsWithSessionInfo: ArtifactParamsWithSessionInfo | undefined;
let outputArtifactsWithSessionInfo: ArtifactParamsWithSessionInfo | undefined;
if (isSuccess && linkedArtifacts) {
inputArtifactsWithSessionInfo = getArtifactParamList(
filterEventWithInputArtifact(linkedArtifacts),
artifactTypeNames,
);
outputArtifactsWithSessionInfo = getArtifactParamList(
filterEventWithOutputArtifact(linkedArtifacts),
artifactTypeNames,
);
}
let inputArtifacts: ParamList = [];
let outputArtifacts: ParamList = [];
if (inputArtifactsWithSessionInfo) {
inputArtifacts = inputArtifactsWithSessionInfo.params;
}
if (outputArtifactsWithSessionInfo) {
outputArtifacts = outputArtifactsWithSessionInfo.params;
}
let isIoEmpty = false;
if (
inputParams.length === 0 &&
outputParams.length === 0 &&
inputArtifacts.length === 0 &&
outputArtifacts.length === 0
) {
isIoEmpty = true;
}
return (
<ErrorBoundary>
<div className={commonCss.page}>
<div className={padding(20)}>
<ExecutionTitle execution={execution} />
{error && (
<Banner
message='Error in retrieving Artifacts.'
mode='error'
additionalInfo={error.message}
/>
)}
{isSuccess && isIoEmpty && (
<Banner message='There is no input/output parameter or artifact.' mode='info' />
)}
{inputParams.length > 0 && (
<div>
<DetailsTable
key={`input-parameters-${executionId}`}
title='Input Parameters'
fields={inputParams}
/>
</div>
)}
{inputArtifacts.length > 0 && (
<div>
<DetailsTable<string>
key={`input-artifacts-${executionId}`}
title='Input Artifacts'
fields={inputArtifacts}
valueComponent={ArtifactPreview}
valueComponentProps={{
namespace: namespace,
sessionMap: inputArtifactsWithSessionInfo?.sessionMap,
}}
/>
</div>
)}
{outputParams.length > 0 && (
<div>
<DetailsTable
key={`output-parameters-${executionId}`}
title='Output Parameters'
fields={outputParams}
/>
</div>
)}
{outputArtifacts.length > 0 && (
<div>
<DetailsTable<string>
key={`output-artifacts-${executionId}`}
title='Output Artifacts'
fields={outputArtifacts}
valueComponent={ArtifactPreview}
valueComponentProps={{
namespace: namespace,
sessionMap: outputArtifactsWithSessionInfo?.sessionMap,
}}
/>
</div>
)}
</div>
</div>
</ErrorBoundary>
);
}
export default InputOutputTab;
function extractInputFromExecution(execution: Execution): KeyValue<string>[] {
return extractParamFromExecution(execution, 'inputs');
}
function extractOutputFromExecution(execution: Execution): KeyValue<string>[] {
return extractParamFromExecution(execution, 'outputs');
}
function extractParamFromExecution(execution: Execution, name: string): KeyValue<string>[] {
const result: KeyValue<string>[] = [];
execution.getCustomPropertiesMap().forEach((value, key) => {
if (key === name) {
const param = getMetadataValue(value);
if (typeof param == 'object') {
Object.entries(param.toJavaScript()).forEach(parameter => {
result.push([parameter[0], JSON.stringify(parameter[1])]);
});
}
}
});
return result;
}
export function getArtifactParamList(
inputArtifacts: LinkedArtifact[],
artifactTypeNames: string[],
): ArtifactParamsWithSessionInfo {
let sessMap: URIToSessionInfo = new Map<string, string | undefined>();
let params = Object.values(inputArtifacts).map((linkedArtifact, index) => {
let key = getArtifactName(linkedArtifact);
if (
key &&
(artifactTypeNames[index] === 'system.Metrics' ||
artifactTypeNames[index] === 'system.ClassificationMetrics')
) {
key += ' (This is an empty file by default)';
}
const artifactId = linkedArtifact.artifact.getId();
const artifactElement = RoutePageFactory.artifactDetails(artifactId) ? (
<Link className={commonCss.link} to={RoutePageFactory.artifactDetails(artifactId)}>
{key}
</Link>
) : (
key
);
const uri = linkedArtifact.artifact.getUri();
const sessInfo = getStoreSessionInfoFromArtifact(linkedArtifact);
sessMap.set(uri, sessInfo);
return [artifactElement, uri];
});
return { params: params, sessionMap: sessMap };
}
| 342 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/ArtifactTitle.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { Link } from 'react-router-dom';
import { commonCss } from 'src/Css';
import { ArtifactHelpers } from 'src/mlmd/MlmdUtils';
import { Artifact } from 'src/third_party/mlmd';
import { RoutePageFactory } from '../Router';
interface ArtifactTitleProps {
artifact: Artifact;
}
export function ArtifactTitle({ artifact }: ArtifactTitleProps) {
return (
<>
<div>
This step corresponds to artifact{' '}
<Link className={commonCss.link} to={RoutePageFactory.artifactDetails(artifact.getId())}>
"{ArtifactHelpers.getName(artifact)}"
</Link>
.
</div>
</>
);
}
| 343 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/StaticNodeDetailsV2.test.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { render, screen } from '@testing-library/react';
import React from 'react';
import { testBestPractices } from 'src/TestUtils';
import { CommonTestWrapper } from 'src/TestWrapper';
import { StaticNodeDetailsV2 } from './StaticNodeDetailsV2';
import fs from 'fs';
const V2_PIPELINESPEC_PATH = 'src/data/test/lightweight_python_functions_v2_pipeline_rev.yaml';
const v2YamlTemplateString = fs.readFileSync(V2_PIPELINESPEC_PATH, 'utf8');
const V2_SUBDAG_PIPELINE_PATH = 'src/data/test/pipeline_with_loops_and_conditions.yaml';
const v2YamlSubDagTemplateString = fs.readFileSync(V2_SUBDAG_PIPELINE_PATH, 'utf8');
testBestPractices();
describe('StaticNodeDetailsV2', () => {
it('Unable to pull node info', async () => {
render(
<CommonTestWrapper>
<StaticNodeDetailsV2
templateString={''}
layers={['root']}
onLayerChange={layers => {}}
element={{
data: {
label: 'train',
},
id: 'task.train',
position: { x: 100, y: 100 },
type: 'EXECUTION',
}}
></StaticNodeDetailsV2>
</CommonTestWrapper>,
);
screen.getByText('Unable to retrieve node info');
});
it('Render Execution node with outputs', async () => {
render(
<CommonTestWrapper>
<StaticNodeDetailsV2
templateString={v2YamlTemplateString}
layers={['root']}
onLayerChange={layers => {}}
element={{
data: {
label: 'preprocess',
},
id: 'task.preprocess',
position: { x: 100, y: 100 },
type: 'EXECUTION',
}}
></StaticNodeDetailsV2>
</CommonTestWrapper>,
);
screen.getByText('Output Artifacts');
screen.getByText('output_dataset_one');
expect(screen.getAllByText('system.Dataset (version: 0.0.1)').length).toEqual(2);
screen.getByText('Output Parameters');
screen.getByText('output_bool_parameter_path');
expect(screen.getAllByText('STRING').length).toEqual(2);
screen.getByText('Image');
screen.getByText('python:3.9');
screen.getByText('Command');
expect(screen.getAllByText('sh').length).toEqual(2);
// The yaml file we used in this test has command as follow:
/*
sh
-c
if ! [ -x "$(command -v pip)" ]; then
python3 -m ensurepip || python3 -m ensurepip --user || apt-get install python3-pip
fi
PIP_DISABLE_PIP_VERSION_CHECK=1 python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-beta.5' && "$0" "$@"
sh
-ec
program_path=$(mktemp -d)
...
*/
// Thus, we can find 2 'sh'
screen.getByText('-c');
screen.getByText('Arguments');
screen.getByText(/--executor_input/);
});
it('Render Execution node with inputs', async () => {
render(
<CommonTestWrapper>
<StaticNodeDetailsV2
templateString={v2YamlTemplateString}
layers={['root']}
onLayerChange={layers => {}}
element={{
data: {
label: 'train',
},
id: 'task.train',
position: { x: 100, y: 100 },
type: 'EXECUTION',
}}
></StaticNodeDetailsV2>
</CommonTestWrapper>,
);
screen.getByText('Input Artifacts');
screen.getByText('dataset_two');
expect(screen.getAllByText('system.Dataset (version: 0.0.1)').length).toEqual(2);
screen.getByText('Input Parameters');
screen.getByText('input_bool');
screen.getByText('input_dict');
screen.getByText('input_list');
screen.getByText('message');
expect(screen.getAllByText('STRING').length).toEqual(1);
screen.getByText('Image');
screen.getByText('python:3.9');
screen.getByText('Command');
expect(screen.getAllByText('sh').length).toEqual(2);
// See the details of 'Render Execution node with outputs' test.
screen.getByText('-c');
screen.getByText('Arguments');
screen.getByText(/--executor_input/);
});
it('Render Sub DAG node of root layer', async () => {
render(
<CommonTestWrapper>
<StaticNodeDetailsV2
templateString={v2YamlSubDagTemplateString}
layers={['root']}
onLayerChange={layers => {}}
element={{
data: {
label: 'DAG: condition-1',
},
id: 'task.condition-1',
position: { x: 100, y: 100 },
type: 'SUB_DAG',
}}
></StaticNodeDetailsV2>
</CommonTestWrapper>,
);
screen.getByText('Open Sub-DAG');
screen.getByText('pipelinechannel--flip-coin-op-Output');
expect(screen.getAllByText('STRING').length).toEqual(2);
});
it('Render Sub DAG node of sub layer', async () => {
render(
<CommonTestWrapper>
<StaticNodeDetailsV2
templateString={v2YamlSubDagTemplateString}
layers={['root', 'condition-1']}
onLayerChange={layers => {}}
element={{
data: {
label: 'DAG: for-loop-2',
},
id: 'task.for-loop-2',
position: { x: 100, y: 100 },
type: 'SUB_DAG',
}}
></StaticNodeDetailsV2>
</CommonTestWrapper>,
);
screen.getByText('Open Sub-DAG');
screen.getByText('pipelinechannel--flip-coin-op-Output');
expect(screen.getAllByText('STRING').length).toEqual(3);
});
it('Render Artifact node', async () => {
render(
<CommonTestWrapper>
<StaticNodeDetailsV2
templateString={v2YamlTemplateString}
layers={['root']}
onLayerChange={layers => {}}
element={{
data: {
label: 'system.Model: model',
},
id: 'artifact.train.model',
position: { x: 100, y: 100 },
type: 'ARTIFACT',
}}
></StaticNodeDetailsV2>
</CommonTestWrapper>,
);
screen.getByText('Artifact Info');
screen.getByText('Upstream Task');
screen.getByText('train');
screen.getByText('Artifact Name');
screen.getByText('model');
screen.getByText('Artifact Type');
screen.getByText('system.Model (version: 0.0.1)');
});
});
| 344 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/ArtifactTitle.test.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { render, screen } from '@testing-library/react';
import React from 'react';
import { testBestPractices } from 'src/TestUtils';
import { CommonTestWrapper } from 'src/TestWrapper';
import { Artifact, Value } from 'src/third_party/mlmd';
import { ArtifactTitle } from './ArtifactTitle';
testBestPractices();
describe('ArtifactTitle', () => {
const artifact = new Artifact();
const artifactName = 'fake-artifact';
const artifactId = 123;
beforeEach(() => {
artifact.setId(artifactId);
artifact.getCustomPropertiesMap().set('display_name', new Value().setStringValue(artifactName));
});
it('Shows artifact name', () => {
render(
<CommonTestWrapper>
<ArtifactTitle artifact={artifact}></ArtifactTitle>
</CommonTestWrapper>,
);
screen.getByText(artifactName, { selector: 'a', exact: false });
});
it('Shows artifact description', () => {
render(
<CommonTestWrapper>
<ArtifactTitle artifact={artifact}></ArtifactTitle>
</CommonTestWrapper>,
);
screen.getByText(/This step corresponds to artifact/);
});
});
| 345 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/RuntimeNodeDetailsV2.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Button } from '@material-ui/core';
import * as React from 'react';
import { useState } from 'react';
import { FlowElement } from 'react-flow-renderer';
// import { ComponentSpec, PipelineSpec } from 'src/generated/pipeline_spec';
import {
KubernetesExecutorConfig,
PvcMount,
} from 'src/generated/platform_spec/kubernetes_platform';
import { useQuery } from 'react-query';
import MD2Tabs from 'src/atoms/MD2Tabs';
import { commonCss, padding } from 'src/Css';
import { Apis } from 'src/lib/Apis';
import { KeyValue } from 'src/lib/StaticGraphParser';
import { errorToMessage } from 'src/lib/Utils';
import { getTaskKeyFromNodeKey, NodeTypeNames } from 'src/lib/v2/StaticFlow';
import {
EXECUTION_KEY_CACHED_EXECUTION_ID,
getArtifactTypeName,
getArtifactTypes,
KfpExecutionProperties,
LinkedArtifact,
} from 'src/mlmd/MlmdUtils';
import { NodeMlmdInfo } from 'src/pages/RunDetailsV2';
import { ArtifactType, Execution } from 'src/third_party/mlmd';
import ArtifactPreview from 'src/components/ArtifactPreview';
import Banner from 'src/components/Banner';
import DetailsTable from 'src/components/DetailsTable';
import { FlowElementDataBase } from 'src/components/graph/Constants';
import LogViewer from 'src/components/LogViewer';
import { getResourceStateText, ResourceType } from 'src/components/ResourceInfo';
import { MetricsVisualizations } from 'src/components/viewers/MetricsVisualizations';
import { ArtifactTitle } from 'src/components/tabs/ArtifactTitle';
import InputOutputTab, {
getArtifactParamList,
ParamList,
} from 'src/components/tabs/InputOutputTab';
import { convertYamlToPlatformSpec, convertYamlToV2PipelineSpec } from 'src/lib/v2/WorkflowUtils';
import { PlatformDeploymentConfig } from 'src/generated/pipeline_spec/pipeline_spec';
import { getComponentSpec } from 'src/lib/v2/NodeUtils';
export const LOGS_DETAILS = 'logs_details';
export const LOGS_BANNER_MESSAGE = 'logs_banner_message';
export const LOGS_BANNER_ADDITIONAL_INFO = 'logs_banner_additional_info';
export const K8S_PLATFORM_KEY = 'kubernetes';
const NODE_INFO_UNKNOWN = (
<div className='relative flex flex-col h-screen'>
<div className='absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2'>
Unable to retrieve node info.
</div>
</div>
);
const NODE_STATE_UNAVAILABLE = (
<div className='relative flex flex-col h-screen'>
<div className='absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2'>
Content is not available yet.
</div>
</div>
);
interface RuntimeNodeDetailsV2Props {
layers: string[];
onLayerChange: (layers: string[]) => void;
pipelineJobString?: string;
runId?: string;
element?: FlowElement<FlowElementDataBase> | null;
elementMlmdInfo?: NodeMlmdInfo | null;
namespace: string | undefined;
}
export function RuntimeNodeDetailsV2({
layers,
onLayerChange,
pipelineJobString,
runId,
element,
elementMlmdInfo,
namespace,
}: RuntimeNodeDetailsV2Props) {
if (!element) {
return NODE_INFO_UNKNOWN;
}
return (() => {
if (NodeTypeNames.EXECUTION === element.type) {
return (
<TaskNodeDetail
pipelineJobString={pipelineJobString}
runId={runId}
element={element}
execution={elementMlmdInfo?.execution}
layers={layers}
namespace={namespace}
></TaskNodeDetail>
);
} else if (NodeTypeNames.ARTIFACT === element.type) {
return (
<ArtifactNodeDetail
execution={elementMlmdInfo?.execution}
linkedArtifact={elementMlmdInfo?.linkedArtifact}
namespace={namespace}
/>
);
} else if (NodeTypeNames.SUB_DAG === element.type) {
return (
<SubDAGNodeDetail
element={element}
execution={elementMlmdInfo?.execution}
layers={layers}
onLayerChange={onLayerChange}
namespace={namespace}
/>
);
}
return NODE_INFO_UNKNOWN;
})();
}
interface TaskNodeDetailProps {
pipelineJobString?: string;
runId?: string;
element?: FlowElement<FlowElementDataBase> | null;
execution?: Execution;
layers: string[];
namespace: string | undefined;
}
function TaskNodeDetail({
pipelineJobString,
runId,
element,
execution,
layers,
namespace,
}: TaskNodeDetailProps) {
const { data: logsInfo } = useQuery<Map<string, string>, Error>(
[execution],
async () => {
if (!execution) {
throw new Error('No execution is found.');
}
return await getLogsInfo(execution, runId);
},
{ enabled: !!execution },
);
const logsDetails = logsInfo?.get(LOGS_DETAILS);
const logsBannerMessage = logsInfo?.get(LOGS_BANNER_MESSAGE);
const logsBannerAdditionalInfo = logsInfo?.get(LOGS_BANNER_ADDITIONAL_INFO);
const [selectedTab, setSelectedTab] = useState(0);
return (
<div className={commonCss.page}>
<MD2Tabs
tabs={['Input/Output', 'Task Details', 'Logs']}
selectedTab={selectedTab}
onSwitch={tab => setSelectedTab(tab)}
/>
<div className={commonCss.page}>
{/* Input/Output tab */}
{selectedTab === 0 &&
(() => {
if (execution) {
return <InputOutputTab execution={execution} namespace={namespace} />;
}
return NODE_STATE_UNAVAILABLE;
})()}
{/* Task Details tab */}
{selectedTab === 1 && (
<div className={padding(20)}>
<DetailsTable title='Task Details' fields={getTaskDetailsFields(element, execution)} />
<DetailsTable
title='Volume Mounts'
fields={getNodeVolumeMounts(layers, pipelineJobString, element)}
/>
</div>
)}
{/* Logs tab */}
{selectedTab === 2 && (
<div className={commonCss.page}>
{logsBannerMessage && (
<React.Fragment>
<Banner message={logsBannerMessage} additionalInfo={logsBannerAdditionalInfo} />
</React.Fragment>
)}
{!logsBannerMessage && (
<div className={commonCss.pageOverflowHidden} data-testid={'logs-view-window'}>
<LogViewer logLines={(logsDetails || '').split(/[\r\n]+/)} />
</div>
)}
</div>
)}
</div>
</div>
);
}
function getTaskDetailsFields(
element?: FlowElement<FlowElementDataBase> | null,
execution?: Execution,
): Array<KeyValue<string>> {
const details: Array<KeyValue<string>> = [];
if (element) {
details.push(['Task ID', element.id || '-']);
if (execution) {
// Static execution info.
details.push([
'Task name',
execution
.getCustomPropertiesMap()
.get('display_name')
?.getStringValue() || '-',
]);
// Runtime execution info.
const stateText = getResourceStateText({
resourceType: ResourceType.EXECUTION,
resource: execution,
typeName: 'Execution',
});
details.push(['Status', stateText || '-']);
const createdAt = new Date(execution.getCreateTimeSinceEpoch()).toString();
details.push(['Created At', createdAt]);
const lastUpdatedTime = execution.getLastUpdateTimeSinceEpoch();
let finishedAt = '-';
if (
lastUpdatedTime &&
(execution.getLastKnownState() === Execution.State.COMPLETE ||
execution.getLastKnownState() === Execution.State.FAILED ||
execution.getLastKnownState() === Execution.State.CACHED ||
execution.getLastKnownState() === Execution.State.CANCELED)
) {
finishedAt = new Date(lastUpdatedTime).toString();
}
details.push(['Finished At', finishedAt]);
}
}
return details;
}
function getNodeVolumeMounts(
layers: string[],
pipelineJobString?: string,
element?: FlowElement<FlowElementDataBase> | null,
): Array<KeyValue<string>> {
if (!pipelineJobString || !element) {
return [];
}
const taskKey = getTaskKeyFromNodeKey(element.id);
const pipelineSpec = convertYamlToV2PipelineSpec(pipelineJobString);
const componentSpec = getComponentSpec(pipelineSpec, layers, taskKey);
const platformSpec = convertYamlToPlatformSpec(pipelineJobString);
// Currently support kubernetes platform
if (!platformSpec || !platformSpec.platforms[K8S_PLATFORM_KEY]) {
return [];
}
const k8sDeploymentSpec = PlatformDeploymentConfig.fromJSON(
platformSpec.platforms[K8S_PLATFORM_KEY].deploymentSpec,
);
const matchedExecutorObj = Object.entries(k8sDeploymentSpec.executors).find(
([executorName]) => executorName === componentSpec?.executorLabel,
);
let volumeMounts: Array<KeyValue<string>> = [];
if (matchedExecutorObj) {
const executor = KubernetesExecutorConfig.fromJSON(matchedExecutorObj[1]);
const pvcMounts = Object.values(executor.pvcMount).map(pvcm => PvcMount.fromJSON(pvcm));
volumeMounts = pvcMounts.map(pvcm => [pvcm.mountPath, pvcm.taskOutputParameter?.producerTask]);
}
return volumeMounts;
}
async function getLogsInfo(execution: Execution, runId?: string): Promise<Map<string, string>> {
const logsInfo = new Map<string, string>();
let podName = '';
let podNameSpace = '';
let cachedExecutionId = '';
let logsDetails = '';
let logsBannerMessage = '';
let logsBannerAdditionalInfo = '';
const customPropertiesMap = execution.getCustomPropertiesMap();
const createdAt = new Date(execution.getCreateTimeSinceEpoch()).toISOString().split('T')[0];
if (execution) {
podName = customPropertiesMap.get(KfpExecutionProperties.POD_NAME)?.getStringValue() || '';
podNameSpace = customPropertiesMap.get('namespace')?.getStringValue() || '';
cachedExecutionId =
customPropertiesMap.get(EXECUTION_KEY_CACHED_EXECUTION_ID)?.getStringValue() || '';
}
// TODO(jlyaoyuli): Consider to link to the cached execution.
if (cachedExecutionId) {
logsInfo.set(LOGS_DETAILS, 'This step output is taken from cache.');
return logsInfo; // Early return if it is from cache.
}
try {
logsDetails = await Apis.getPodLogs(runId!, podName, podNameSpace, createdAt);
logsInfo.set(LOGS_DETAILS, logsDetails);
} catch (err) {
let errMsg = await errorToMessage(err);
logsBannerMessage = 'Failed to retrieve pod logs.';
logsInfo.set(LOGS_BANNER_MESSAGE, logsBannerMessage);
logsBannerAdditionalInfo = 'Error response: ' + errMsg;
logsInfo.set(LOGS_BANNER_ADDITIONAL_INFO, logsBannerAdditionalInfo);
}
return logsInfo;
}
interface ArtifactNodeDetailProps {
execution?: Execution;
linkedArtifact?: LinkedArtifact;
namespace: string | undefined;
}
function ArtifactNodeDetail({ execution, linkedArtifact, namespace }: ArtifactNodeDetailProps) {
const { data } = useQuery<ArtifactType[], Error>(
['artifact_types', { linkedArtifact }],
() => getArtifactTypes(),
{},
);
const [selectedTab, setSelectedTab] = useState(0);
return (
<div className={commonCss.page}>
<MD2Tabs
tabs={['Artifact Info', 'Visualization']}
selectedTab={selectedTab}
onSwitch={tab => setSelectedTab(tab)}
/>
<div className={padding(20)}>
{/* Artifact Info tab */}
{selectedTab === 0 && (
<ArtifactInfo
execution={execution}
artifactTypes={data}
linkedArtifact={linkedArtifact}
namespace={namespace}
></ArtifactInfo>
)}
{/* Visualization tab */}
{selectedTab === 1 && execution && (
<MetricsVisualizations
linkedArtifacts={linkedArtifact ? [linkedArtifact] : []}
artifactTypes={data ? data : []}
execution={execution}
namespace={namespace}
/>
)}
</div>
</div>
);
}
interface ArtifactNodeDetailProps {
execution?: Execution;
artifactTypes?: ArtifactType[];
linkedArtifact?: LinkedArtifact;
namespace: string | undefined;
}
function ArtifactInfo({
execution,
artifactTypes,
linkedArtifact,
namespace,
}: ArtifactNodeDetailProps) {
if (!execution || !linkedArtifact) {
return NODE_STATE_UNAVAILABLE;
}
// Static Artifact information.
const taskName =
execution
.getCustomPropertiesMap()
.get('display_name')
?.getStringValue() || '-';
const artifactName =
linkedArtifact.artifact
.getCustomPropertiesMap()
.get('display_name')
?.getStringValue() || '-';
let artifactTypeName = artifactTypes
? getArtifactTypeName(artifactTypes, [linkedArtifact])
: ['-'];
// Runtime artifact information.
const createdAt = new Date(linkedArtifact.artifact.getCreateTimeSinceEpoch());
// Artifact info rows.
const artifactInfo = [
['Upstream Task Name', taskName],
['Artifact Name', artifactName],
['Artifact Type', artifactTypeName],
['Created At', createdAt],
];
let artifactParamsWithSessionInfo = getArtifactParamList([linkedArtifact], artifactTypeName);
let artifactParams: ParamList = [];
if (artifactParamsWithSessionInfo) {
artifactParams = artifactParamsWithSessionInfo.params;
}
return (
<div>
<ArtifactTitle artifact={linkedArtifact.artifact}></ArtifactTitle>
{artifactInfo && (
<div>
<DetailsTable title='Artifact Info' fields={artifactInfo} />
</div>
)}
<div>
<DetailsTable<string>
key={`artifact-url`}
title='Artifact URI'
fields={artifactParams}
valueComponent={ArtifactPreview}
valueComponentProps={{
namespace: namespace,
sessionMap: artifactParamsWithSessionInfo.sessionMap,
}}
/>
</div>
</div>
);
}
interface SubDAGNodeDetailProps {
element: FlowElement<FlowElementDataBase>;
execution?: Execution;
layers: string[];
onLayerChange: (layers: string[]) => void;
namespace: string | undefined;
}
function SubDAGNodeDetail({
element,
execution,
layers,
onLayerChange,
namespace,
}: SubDAGNodeDetailProps) {
const taskKey = getTaskKeyFromNodeKey(element.id);
// const componentSpec = getComponentSpec(pipelineSpec, layers, taskKey);
// if (!componentSpec) {
// return NODE_INFO_UNKNOWN;
// }
const onSubDagOpenClick = () => {
onLayerChange([...layers, taskKey]);
};
const [selectedTab, setSelectedTab] = useState(0);
return (
<div>
<div className={commonCss.page}>
<div className={padding(20, 'blr')}>
<Button variant='contained' onClick={onSubDagOpenClick}>
Open Sub-DAG
</Button>
</div>
<MD2Tabs
tabs={['Input/Output', 'Task Details']}
selectedTab={selectedTab}
onSwitch={tab => setSelectedTab(tab)}
/>
<div className={commonCss.page}>
{/* Input/Output tab */}
{selectedTab === 0 &&
(() => {
if (execution) {
return (
<InputOutputTab execution={execution} namespace={namespace}></InputOutputTab>
);
}
return NODE_STATE_UNAVAILABLE;
})()}
{/* Task Details tab */}
{selectedTab === 1 && (
<div className={padding(20)}>
<DetailsTable
title='Task Details'
fields={getTaskDetailsFields(element, execution)}
/>
</div>
)}
</div>
</div>
</div>
);
}
| 346 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/StaticNodeDetailsV2.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Button } from '@material-ui/core';
import * as React from 'react';
import { FlowElement } from 'react-flow-renderer';
import { ComponentSpec, PipelineSpec } from 'src/generated/pipeline_spec';
import { ParameterType } from 'src/generated/pipeline_spec/pipeline_spec_pb';
import { KeyValue } from 'src/lib/StaticGraphParser';
import { getStringEnumKey } from 'src/lib/Utils';
import { getComponentSpec } from 'src/lib/v2/NodeUtils';
import {
getKeysFromArtifactNodeKey,
getTaskKeyFromNodeKey,
isArtifactNode,
isTaskNode,
} from 'src/lib/v2/StaticFlow';
import * as WorkflowUtils from 'src/lib/v2/WorkflowUtils';
import DetailsTable from '../DetailsTable';
import { FlowElementDataBase } from '../graph/Constants';
const NODE_INFO_UNKNOWN = (
<div className='relative flex flex-col h-screen'>
<div className='absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2'>
Unable to retrieve node info
</div>
</div>
);
interface StaticNodeDetailsV2Props {
templateString: string;
layers: string[];
onLayerChange: (layers: string[]) => void;
element: FlowElement<FlowElementDataBase> | null;
}
export function StaticNodeDetailsV2({
templateString,
layers,
onLayerChange,
element,
}: StaticNodeDetailsV2Props) {
if (!element) {
return NODE_INFO_UNKNOWN;
}
try {
const pipelineSpec = WorkflowUtils.convertYamlToV2PipelineSpec(templateString);
return (() => {
if (isTaskNode(element.id)) {
// Execution and Sub-DAG nodes
return (
<TaskNodeDetail
templateString={templateString}
pipelineSpec={pipelineSpec}
element={element}
layers={layers}
onLayerChange={onLayerChange}
/>
);
} else if (isArtifactNode(element.id)) {
return <ArtifactNodeDetail pipelineSpec={pipelineSpec} element={element} layers={layers} />;
}
return NODE_INFO_UNKNOWN;
})();
} catch (e) {
console.error(e);
return NODE_INFO_UNKNOWN;
}
}
interface TaskNodeDetailProps {
templateString: string;
pipelineSpec: PipelineSpec;
element: FlowElement<FlowElementDataBase>;
layers: string[];
onLayerChange: (layers: string[]) => void;
}
function TaskNodeDetail({
templateString,
pipelineSpec,
element,
layers,
onLayerChange,
}: TaskNodeDetailProps) {
const taskKey = getTaskKeyFromNodeKey(element.id);
const componentSpec = getComponentSpec(pipelineSpec, layers, taskKey);
if (!componentSpec) {
return NODE_INFO_UNKNOWN;
}
const onSubDagOpenClick = () => {
onLayerChange([...layers, taskKey]);
};
const inputArtifacts = getInputArtifacts(componentSpec);
const inputParameters = getInputParameters(componentSpec);
const outputArtifacts = getOutputArtifacts(componentSpec);
const outputParameters = getOutputParameters(componentSpec);
const componentDag = componentSpec.dag;
const container = WorkflowUtils.getContainer(componentSpec, templateString);
const args = container?.args;
const command = container?.command;
const image = container?.image;
return (
<div>
{componentDag && (
<div>
<Button variant='contained' onClick={onSubDagOpenClick}>
Open Sub-DAG
</Button>
</div>
)}
{inputArtifacts && (
<div>
<DetailsTable title='Input Artifacts' fields={inputArtifacts} />
</div>
)}
{inputParameters && (
<div>
<DetailsTable title='Input Parameters' fields={inputParameters} />
</div>
)}
{outputArtifacts && (
<div>
<DetailsTable title='Output Artifacts' fields={outputArtifacts} />
</div>
)}
{outputParameters && (
<div>
<DetailsTable title='Output Parameters' fields={outputParameters} />
</div>
)}
{image && (
<div>
<div className='text-xl font-bold pt-6'>Image</div>
<div className='font-mono '>{image}</div>
</div>
)}
{command && (
<div>
<div className='text-xl font-bold pt-6'>Command</div>
<div className='font-mono'>
{command.map((cmd, index) => {
return (
<div key={index} style={{ whiteSpace: 'pre-wrap' }}>
{cmd}
</div>
);
})}
</div>
</div>
)}
{args && (
<div>
<div className='text-xl font-bold pt-6'>Arguments</div>
<div className='font-mono'>
{args.map((arg, index) => {
return (
<div key={index} style={{ whiteSpace: 'pre-wrap' }}>
{arg}
</div>
);
})}
</div>
</div>
)}
</div>
);
}
interface ArtifactNodeDetailProps {
pipelineSpec: PipelineSpec;
element: FlowElement<FlowElementDataBase>;
layers: string[];
}
function ArtifactNodeDetail({ pipelineSpec, element, layers }: ArtifactNodeDetailProps) {
const [taskKey, artifactKey] = getKeysFromArtifactNodeKey(element.id);
const componentSpec = getComponentSpec(pipelineSpec, layers, taskKey);
if (!componentSpec) {
return NODE_INFO_UNKNOWN;
}
const artifactType = getOutputArtifacts(componentSpec).filter(a => a[0] === artifactKey);
const artifactInfo = [
['Upstream Task', taskKey],
['Artifact Name', artifactKey],
['Artifact Type', artifactType[0][1]],
];
return (
<div>
{artifactInfo && (
<div>
<DetailsTable title='Artifact Info' fields={artifactInfo} />
</div>
)}
</div>
);
}
function getInputArtifacts(componentSpec: ComponentSpec) {
const inputDefinitions = componentSpec.inputDefinitions;
const artifacts = inputDefinitions?.artifacts;
if (!artifacts) {
return Array<KeyValue<string>>();
}
const inputArtifacts: Array<KeyValue<string>> = Object.keys(artifacts).map(key => {
const artifactSpec = artifacts[key];
const type = artifactSpec.artifactType;
let value = type?.schemaTitle || type?.instanceSchema;
if (type && type.schemaVersion) {
value += ' (version: ' + type?.schemaVersion + ')';
}
return [key, value];
});
return inputArtifacts;
}
function getOutputArtifacts(componentSpec: ComponentSpec) {
const outputDefinitions = componentSpec.outputDefinitions;
const artifacts = outputDefinitions?.artifacts;
if (!artifacts) {
return Array<KeyValue<string>>();
}
const outputArtifacts: Array<KeyValue<string>> = Object.keys(artifacts).map(key => {
const artifactSpec = artifacts[key];
const type = artifactSpec.artifactType;
let value = type?.schemaTitle || type?.instanceSchema;
if (type && type.schemaVersion) {
value += ' (version: ' + type?.schemaVersion + ')';
}
return [key, value];
});
return outputArtifacts;
}
function getInputParameters(componentSpec: ComponentSpec) {
const inputDefinitions = componentSpec.inputDefinitions;
const parameters = inputDefinitions?.parameters;
if (!parameters) {
return Array<KeyValue<string>>();
}
const inputParameters: Array<KeyValue<string>> = Object.keys(parameters).map(key => {
const parameterSpec = parameters[key];
const type = parameterSpec?.parameterType;
return [key, getStringEnumKey(ParameterType.ParameterTypeEnum, type)];
});
return inputParameters;
}
function getOutputParameters(componentSpec: ComponentSpec) {
const outputDefinitions = componentSpec.outputDefinitions;
const parameters = outputDefinitions?.parameters;
if (!parameters) {
return Array<KeyValue<string>>();
}
const outputParameters: Array<KeyValue<string>> = Object.keys(parameters).map(key => {
const parameterSpec = parameters[key];
const type = parameterSpec?.parameterType;
return [key, getStringEnumKey(ParameterType.ParameterTypeEnum, type)];
});
return outputParameters;
}
| 347 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/MetricsTab.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import { useQuery } from 'react-query';
import { ErrorBoundary } from 'src/atoms/ErrorBoundary';
import { commonCss, padding } from 'src/Css';
import {
getArtifactTypes,
getOutputLinkedArtifactsInExecution,
LinkedArtifact,
} from 'src/mlmd/MlmdUtils';
import { ArtifactType, Execution } from 'src/third_party/mlmd';
import Banner from '../Banner';
import { MetricsVisualizations } from '../viewers/MetricsVisualizations';
import { ExecutionTitle } from './ExecutionTitle';
type MetricsTabProps = {
execution: Execution;
namespace: string | undefined;
};
/**
* Metrics tab renders metrics for the artifact of given execution.
* Some system metrics are: Confusion Matrix, ROC Curve, Scalar, etc.
* Detail can be found in https://github.com/kubeflow/pipelines/blob/master/sdk/python/kfp/dsl/io_types.py
* Note that these metrics are only available on KFP v2 mode.
*/
export function MetricsTab({ execution, namespace }: MetricsTabProps) {
let executionCompleted = false;
const executionState = execution.getLastKnownState();
if (
!(
executionState === Execution.State.NEW ||
executionState === Execution.State.UNKNOWN ||
executionState === Execution.State.RUNNING
)
) {
executionCompleted = true;
}
const executionId = execution.getId();
// Retrieving a list of artifacts associated with this execution,
// so we can find the artifact for system metrics from there.
const {
isLoading: isLoadingArtifacts,
isSuccess: isSuccessArtifacts,
error: errorArtifacts,
data: artifacts,
} = useQuery<LinkedArtifact[], Error>(
['execution_output_artifact', { id: executionId, state: executionState }],
() => getOutputLinkedArtifactsInExecution(execution),
{ enabled: executionCompleted, staleTime: Infinity },
);
// artifactTypes allows us to map from artifactIds to artifactTypeNames,
// so we can identify metrics artifact provided by system.
const {
isLoading: isLoadingArtifactTypes,
isSuccess: isSuccessArtifactTypes,
error: errorArtifactTypes,
data: artifactTypes,
} = useQuery<ArtifactType[], Error>(
['artifact_types', { id: executionId, state: executionState }],
() => getArtifactTypes(),
{
enabled: executionCompleted,
staleTime: Infinity,
},
);
let executionStateUnknown = executionState === Execution.State.UNKNOWN;
// This react element produces banner message if query to MLMD is pending or has error.
// Once query is completed, it shows actual content of metrics visualization in MetricsSwitcher.
return (
<ErrorBoundary>
<div className={commonCss.page}>
<div className={padding(20)}>
<ExecutionTitle execution={execution} />
{executionStateUnknown && <Banner message='Task is in unknown state.' mode='info' />}
{!executionStateUnknown && !executionCompleted && (
<Banner message='Task has not completed.' mode='info' />
)}
{(isLoadingArtifactTypes || isLoadingArtifacts) && (
<Banner message='Metrics is loading.' mode='info' />
)}
{errorArtifacts && (
<Banner
message='Error in retrieving metrics information.'
mode='error'
additionalInfo={errorArtifacts.message}
/>
)}
{!errorArtifacts && errorArtifactTypes && (
<Banner
message='Error in retrieving artifact types information.'
mode='error'
additionalInfo={errorArtifactTypes.message}
/>
)}
{isSuccessArtifacts && isSuccessArtifactTypes && artifacts && artifactTypes && (
<MetricsVisualizations
linkedArtifacts={artifacts}
artifactTypes={artifactTypes}
execution={execution}
namespace={namespace}
></MetricsVisualizations>
)}
</div>
</div>
</ErrorBoundary>
);
}
| 348 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/InputOutputTab.test.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { render, screen, waitFor } from '@testing-library/react';
import { Struct } from 'google-protobuf/google/protobuf/struct_pb';
import React from 'react';
import { Apis } from 'src/lib/Apis';
import { Api } from 'src/mlmd/library';
import { testBestPractices } from 'src/TestUtils';
import { CommonTestWrapper } from 'src/TestWrapper';
import {
Artifact,
Event,
Execution,
GetArtifactsByIDResponse,
GetEventsByExecutionIDsResponse,
Value,
} from 'src/third_party/mlmd';
import InputOutputTab from './InputOutputTab';
const executionName = 'fake-execution';
const artifactId = 100;
const artifactUri = 'gs://bucket/test';
const artifactUriView = 'gs://bucket/test';
const inputArtifactName = 'input_artifact';
const outputArtifactName = 'output_artifact';
const namespace = 'namespace';
testBestPractices();
describe('InoutOutputTab', () => {
it('shows execution title', () => {
jest
.spyOn(Api.getInstance().metadataStoreService, 'getEventsByExecutionIDs')
.mockResolvedValue(new GetEventsByExecutionIDsResponse());
jest
.spyOn(Api.getInstance().metadataStoreService, 'getArtifactsByID')
.mockReturnValue(new GetArtifactsByIDResponse());
render(
<CommonTestWrapper>
<InputOutputTab execution={buildBasicExecution()} namespace={namespace}></InputOutputTab>
</CommonTestWrapper>,
);
screen.getByText(executionName, { selector: 'a', exact: false });
});
it("doesn't show Input/Output artifacts and parameters if no exists", async () => {
jest
.spyOn(Api.getInstance().metadataStoreService, 'getEventsByExecutionIDs')
.mockResolvedValue(new GetEventsByExecutionIDsResponse());
jest
.spyOn(Api.getInstance().metadataStoreService, 'getArtifactsByID')
.mockReturnValue(new GetArtifactsByIDResponse());
render(
<CommonTestWrapper>
<InputOutputTab execution={buildBasicExecution()} namespace={namespace}></InputOutputTab>
</CommonTestWrapper>,
);
await waitFor(() => screen.queryAllByText('Input Parameters').length == 0);
await waitFor(() => screen.queryAllByText('Input Artifacts').length == 0);
await waitFor(() => screen.queryAllByText('Output Parameters').length == 0);
await waitFor(() => screen.queryAllByText('Output Artifacts').length == 0);
await waitFor(() => screen.getByText('There is no input/output parameter or artifact.'));
});
it('shows Input parameters with various types', async () => {
jest
.spyOn(Api.getInstance().metadataStoreService, 'getEventsByExecutionIDs')
.mockResolvedValue(new GetEventsByExecutionIDsResponse());
jest
.spyOn(Api.getInstance().metadataStoreService, 'getArtifactsByID')
.mockReturnValue(new GetArtifactsByIDResponse());
const execution = buildBasicExecution();
execution
.getCustomPropertiesMap()
.set('thisKeyIsNotInput', new Value().setStringValue("value shouldn't show"));
execution.getCustomPropertiesMap().set(
'inputs',
new Value().setStructValue(
Struct.fromJavaScript({
'stringKey: example string': 0,
'intKey: 123': 1,
'doubleKey: 1.23': 2,
'listKey: [1,2,3]': 3,
'structKey: {a:1, b:2}': 4,
}),
),
);
render(
<CommonTestWrapper>
<InputOutputTab execution={execution} namespace={namespace}></InputOutputTab>
</CommonTestWrapper>,
);
screen.getByText('stringKey: example string');
screen.getByText('intKey: 123');
screen.getByText('doubleKey: 1.23');
screen.getByText('listKey: [1,2,3]');
screen.getByText('structKey: {a:1, b:2}');
expect(screen.queryByText('thisKeyIsNotInput')).toBeNull();
});
it('shows Output parameters with various types', async () => {
jest
.spyOn(Api.getInstance().metadataStoreService, 'getEventsByExecutionIDs')
.mockResolvedValue(new GetEventsByExecutionIDsResponse());
jest
.spyOn(Api.getInstance().metadataStoreService, 'getArtifactsByID')
.mockReturnValue(new GetArtifactsByIDResponse());
const execution = buildBasicExecution();
execution
.getCustomPropertiesMap()
.set('thisKeyIsNotOutput', new Value().setStringValue("value shouldn't show"));
execution.getCustomPropertiesMap().set(
'outputs',
new Value().setStructValue(
Struct.fromJavaScript({
'stringKey: example string': 0,
'intKey: 123': 1,
'doubleKey: 1.23': 2,
'listKey: [1,2,3]': 3,
'structKey: {a:1, b:2}': 4,
}),
),
);
render(
<CommonTestWrapper>
<InputOutputTab execution={execution} namespace={namespace}></InputOutputTab>
</CommonTestWrapper>,
);
screen.getByText('stringKey: example string');
screen.getByText('intKey: 123');
screen.getByText('doubleKey: 1.23');
screen.getByText('listKey: [1,2,3]');
screen.getByText('structKey: {a:1, b:2}');
expect(screen.queryByText('thisKeyIsNotOutput')).toBeNull();
});
it('shows Input artifacts', async () => {
jest.spyOn(Apis, 'readFile').mockResolvedValue('artifact preview');
const getEventResponse = new GetEventsByExecutionIDsResponse();
getEventResponse.getEventsList().push(buildInputEvent());
jest
.spyOn(Api.getInstance().metadataStoreService, 'getEventsByExecutionIDs')
.mockResolvedValueOnce(getEventResponse);
const getArtifactsResponse = new GetArtifactsByIDResponse();
getArtifactsResponse.getArtifactsList().push(buildArtifact());
jest
.spyOn(Api.getInstance().metadataStoreService, 'getArtifactsByID')
.mockReturnValueOnce(getArtifactsResponse);
render(
<CommonTestWrapper>
<InputOutputTab execution={buildBasicExecution()} namespace={namespace}></InputOutputTab>
</CommonTestWrapper>,
);
await waitFor(() => screen.getByText(artifactUriView));
await waitFor(() => screen.getByText(inputArtifactName));
});
it('shows Output artifacts', async () => {
jest.spyOn(Apis, 'readFile').mockResolvedValue('artifact preview');
const getEventResponse = new GetEventsByExecutionIDsResponse();
getEventResponse.getEventsList().push(buildOutputEvent());
jest
.spyOn(Api.getInstance().metadataStoreService, 'getEventsByExecutionIDs')
.mockResolvedValueOnce(getEventResponse);
const getArtifactsResponse = new GetArtifactsByIDResponse();
getArtifactsResponse.getArtifactsList().push(buildArtifact());
jest
.spyOn(Api.getInstance().metadataStoreService, 'getArtifactsByID')
.mockReturnValueOnce(getArtifactsResponse);
render(
<CommonTestWrapper>
<InputOutputTab execution={buildBasicExecution()} namespace={namespace}></InputOutputTab>
</CommonTestWrapper>,
);
await waitFor(() => screen.getByText(artifactUriView));
await waitFor(() => screen.getByText(outputArtifactName));
});
});
function buildBasicExecution() {
const execution = new Execution();
const executionId = 123;
execution.setId(executionId);
execution.getCustomPropertiesMap().set('task_name', new Value().setStringValue(executionName));
return execution;
}
function buildArtifact() {
const artifact = new Artifact();
artifact.getCustomPropertiesMap();
artifact.setUri(artifactUri);
artifact.setId(artifactId);
return artifact;
}
function buildInputEvent() {
const event = new Event();
const path = new Event.Path();
path.getStepsList().push(new Event.Path.Step().setKey(inputArtifactName));
event
.setType(Event.Type.INPUT)
.setArtifactId(artifactId)
.setPath(path);
return event;
}
function buildOutputEvent() {
const event = new Event();
const path = new Event.Path();
path.getStepsList().push(new Event.Path.Step().setKey(outputArtifactName));
event
.setType(Event.Type.OUTPUT)
.setArtifactId(artifactId)
.setPath(path);
return event;
}
| 349 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/MetricsTab.test.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { render, waitFor } from '@testing-library/react';
import { Struct } from 'google-protobuf/google/protobuf/struct_pb';
import React from 'react';
import { OutputArtifactLoader } from 'src/lib/OutputArtifactLoader';
import * as mlmdUtils from 'src/mlmd/MlmdUtils';
import { testBestPractices } from 'src/TestUtils';
import { CommonTestWrapper } from 'src/TestWrapper';
import { Artifact, ArtifactType, Event, Execution, Value } from 'src/third_party/mlmd';
import { ConfusionMatrixConfig } from '../viewers/ConfusionMatrix';
import { HTMLViewerConfig } from '../viewers/HTMLViewer';
import { MarkdownViewerConfig } from '../viewers/MarkdownViewer';
import { ROCCurveConfig } from '../viewers/ROCCurve';
import { TensorboardViewerConfig } from '../viewers/Tensorboard';
import { PlotType } from '../viewers/Viewer';
import { MetricsTab } from './MetricsTab';
testBestPractices();
const namespace = 'kubeflow';
describe('MetricsTab common case', () => {
beforeEach(() => {});
it('has no metrics', async () => {
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockReturnValue(Promise.resolve([]));
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockReturnValue(Promise.resolve([]));
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
await waitFor(() => getByText('There is no metrics artifact available in this step.'));
});
it('shows info banner when execution is in UNKNOWN', async () => {
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockReturnValue(Promise.resolve([]));
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockReturnValue(Promise.resolve([]));
const execution = buildBasicExecution().setLastKnownState(Execution.State.UNKNOWN);
const { getByText, queryByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
await waitFor(() => getByText('Task is in unknown state.'));
await waitFor(() => queryByText('Task has not completed.') === null);
});
it('shows info banner when execution is in NEW', async () => {
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockReturnValue(Promise.resolve([]));
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockReturnValue(Promise.resolve([]));
const execution = buildBasicExecution().setLastKnownState(Execution.State.NEW);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
await waitFor(() => getByText('Task has not completed.'));
});
it('shows info banner when execution is in RUNNING', async () => {
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockReturnValue(Promise.resolve([]));
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockReturnValue(Promise.resolve([]));
const execution = buildBasicExecution().setLastKnownState(Execution.State.RUNNING);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
await waitFor(() => getByText('Task has not completed.'));
});
});
describe('MetricsTab with confidenceMetrics', () => {
it('shows ROC curve', async () => {
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const artifactType = buildClassificationMetricsArtifactType();
const artifact = buildClassificationMetricsArtifact();
artifact.getCustomPropertiesMap().set('display_name', new Value().setStringValue('metrics'));
artifact.getCustomPropertiesMap().set(
'confidenceMetrics',
new Value().setStructValue(
Struct.fromJavaScript({
list: [
{
confidenceThreshold: 2,
falsePositiveRate: 0,
recall: 0,
},
{
confidenceThreshold: 1,
falsePositiveRate: 0,
recall: 0.33962264150943394,
},
{
confidenceThreshold: 0.9,
falsePositiveRate: 0,
recall: 0.6037735849056604,
},
],
}),
),
);
const linkedArtifact = { event: new Event(), artifact: artifact };
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValueOnce([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValueOnce([artifactType]);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
getByText('Metrics is loading.');
await waitFor(() => getByText('ROC Curve: metrics'));
});
it('shows error banner when confidenceMetrics type is wrong', async () => {
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const artifactType = buildClassificationMetricsArtifactType();
const artifact = buildClassificationMetricsArtifact();
artifact.getCustomPropertiesMap().set('display_name', new Value().setStringValue('metrics'));
artifact.getCustomPropertiesMap().set(
'confidenceMetrics',
new Value().setStructValue(
Struct.fromJavaScript({
list: [
{
invalidType: 2,
falsePositiveRate: 0,
recall: 0,
},
{
confidenceThreshold: 1,
falsePositiveRate: 0,
recall: 0.33962264150943394,
},
],
}),
),
);
const linkedArtifact = { event: new Event(), artifact: artifact };
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValue([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValue([artifactType]);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
await waitFor(() =>
getByText("Error in metrics (artifact ID #1) artifact's confidenceMetrics data format."),
);
});
it('shows error banner when confidenceMetrics is not array', async () => {
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const artifactType = buildClassificationMetricsArtifactType();
const artifact = buildClassificationMetricsArtifact();
artifact.getCustomPropertiesMap().set('display_name', new Value().setStringValue('metrics'));
artifact.getCustomPropertiesMap().set(
'confidenceMetrics',
new Value().setStructValue(
Struct.fromJavaScript({
variable: 'i am not a list',
}),
),
);
const linkedArtifact = { event: new Event(), artifact: artifact };
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValue([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValue([artifactType]);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
await waitFor(() =>
getByText("Error in metrics (artifact ID #1) artifact's confidenceMetrics data format."),
);
});
});
describe('MetricsTab with confusionMatrix', () => {
it('shows confusion matrix', async () => {
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const artifactType = buildClassificationMetricsArtifactType();
const artifact = buildClassificationMetricsArtifact();
artifact.getCustomPropertiesMap().set('display_name', new Value().setStringValue('metrics'));
artifact.getCustomPropertiesMap().set(
'confusionMatrix',
new Value().setStructValue(
Struct.fromJavaScript({
struct: {
annotationSpecs: [
{ displayName: 'Setosa' },
{ displayName: 'Versicolour' },
{ displayName: 'Virginica' },
],
rows: [{ row: [31, 0, 0] }, { row: [1, 8, 12] }, { row: [0, 0, 23] }],
},
}),
),
);
const linkedArtifact = { event: new Event(), artifact: artifact };
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValueOnce([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValueOnce([artifactType]);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
getByText('Metrics is loading.');
await waitFor(() => getByText('Confusion Matrix: metrics'));
});
it('shows error banner when confusionMatrix type is wrong', async () => {
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const artifactType = buildClassificationMetricsArtifactType();
const artifact = buildClassificationMetricsArtifact();
artifact.getCustomPropertiesMap().set('display_name', new Value().setStringValue('metrics'));
artifact.getCustomPropertiesMap().set(
'confusionMatrix',
new Value().setStructValue(
Struct.fromJavaScript({
struct: {
annotationSpecs: [
{ displayName: 'Setosa' },
{ displayName: 'Versicolour' },
{ displayName: 'Virginica' },
],
rows: [{ row: 'I am not an array' }, { row: [1, 8, 12] }, { row: [0, 0, 23] }],
},
}),
),
);
const linkedArtifact = { event: new Event(), artifact: artifact };
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValue([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValue([artifactType]);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
await waitFor(() => getByText("Error in metrics artifact's confusionMatrix data format."));
});
it("shows error banner when confusionMatrix annotationSpecs length doesn't match rows", async () => {
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const artifactType = buildClassificationMetricsArtifactType();
const artifact = buildClassificationMetricsArtifact();
artifact.getCustomPropertiesMap().set('display_name', new Value().setStringValue('metrics'));
artifact.getCustomPropertiesMap().set(
'confusionMatrix',
new Value().setStructValue(
Struct.fromJavaScript({
struct: {
annotationSpecs: [{ displayName: 'Setosa' }, { displayName: 'Versicolour' }],
rows: [{ row: [31, 0, 0] }, { row: [1, 8, 12] }, { row: [0, 0, 23] }],
},
}),
),
);
const linkedArtifact = { event: new Event(), artifact: artifact };
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValue([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValue([artifactType]);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
await waitFor(() => getByText("Error in metrics artifact's confusionMatrix data format."));
});
});
describe('MetricsTab with Scalar Metrics', () => {
it('shows Scalar Metrics', async () => {
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const artifact = buildMetricsArtifact();
artifact.getCustomPropertiesMap().set('display_name', new Value().setStringValue('metrics'));
artifact.getCustomPropertiesMap().set('double', new Value().setDoubleValue(123.456));
artifact.getCustomPropertiesMap().set('int', new Value().setIntValue(123));
artifact.getCustomPropertiesMap().set(
'struct',
new Value().setStructValue(
Struct.fromJavaScript({
struct: {
field: 'a string value',
},
}),
),
);
const linkedArtifact = { event: new Event(), artifact: artifact };
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValueOnce([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValueOnce([buildMetricsArtifactType()]);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
getByText('Metrics is loading.');
await waitFor(() => getByText('Scalar Metrics: metrics'));
await waitFor(() => getByText('double'));
await waitFor(() => getByText('int'));
await waitFor(() => getByText('struct'));
});
});
describe('MetricsTab with V1 metrics', () => {
it('shows Confusion Matrix', async () => {
const linkedArtifact = buildV1LinkedSytemArtifact();
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValue([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValue([buildSystemArtifactType()]);
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const confusionViewerConfigs: ConfusionMatrixConfig[] = [
{
axes: ['target', 'predicted'],
data: [
[100, 20, 5],
[40, 200, 33],
[0, 10, 200],
],
labels: ['rose', 'lily', 'iris'],
type: PlotType.CONFUSION_MATRIX,
},
];
jest
.spyOn(OutputArtifactLoader, 'load')
.mockReturnValue(Promise.resolve(confusionViewerConfigs));
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
getByText('Metrics is loading.');
await waitFor(() => getByText('Confusion matrix'));
});
it('shows ROC Curve', async () => {
const linkedArtifact = buildV1LinkedSytemArtifact();
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValue([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValue([buildSystemArtifactType()]);
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const rocViewerConfig: ROCCurveConfig[] = [
{
data: [
{ label: '0.999972701073', x: 0, y: 0.00265957446809 },
{ label: '0.996713876724', x: 0, y: 0.226063829787 },
],
type: PlotType.ROC,
},
];
jest.spyOn(OutputArtifactLoader, 'load').mockReturnValue(Promise.resolve(rocViewerConfig));
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
getByText('Metrics is loading.');
await waitFor(() => getByText('ROC Curve'));
});
it('shows HTML view', async () => {
const linkedArtifact = buildV1LinkedSytemArtifact();
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValue([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValue([buildSystemArtifactType()]);
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const htmlViewerConfig: HTMLViewerConfig[] = [
{ htmlContent: '<h1>Hello, World!</h1>', type: PlotType.WEB_APP },
];
jest.spyOn(OutputArtifactLoader, 'load').mockResolvedValue(htmlViewerConfig);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
getByText('Metrics is loading.');
await waitFor(() => getByText('Static HTML'));
});
it('shows Markdown view', async () => {
const linkedArtifact = buildV1LinkedSytemArtifact();
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValue([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValue([buildSystemArtifactType()]);
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const markdownViewerConfig: MarkdownViewerConfig[] = [
{
markdownContent:
'# Inline Markdown\n\n* [Kubeflow official doc](https://www.kubeflow.org/).\n',
type: PlotType.MARKDOWN,
},
];
jest.spyOn(OutputArtifactLoader, 'load').mockResolvedValue(markdownViewerConfig);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
getByText('Metrics is loading.');
await waitFor(() => getByText('Markdown'));
await waitFor(() => getByText('Kubeflow official doc'));
});
it('shows Tensorboard view', async () => {
const linkedArtifact = buildV1LinkedSytemArtifact();
jest
.spyOn(mlmdUtils, 'getOutputLinkedArtifactsInExecution')
.mockResolvedValue([linkedArtifact]);
jest.spyOn(mlmdUtils, 'getArtifactTypes').mockResolvedValue([buildSystemArtifactType()]);
const execution = buildBasicExecution().setLastKnownState(Execution.State.COMPLETE);
const tensorboardViewerConfig: TensorboardViewerConfig[] = [
{
type: PlotType.TENSORBOARD,
url: 's3://mlpipeline/tensorboard/logs/8d0e4b0a-466a-4c56-8164-30ed20cbc4a0',
namespace: 'kubeflow',
image: 'gcr.io/deeplearning-platform-release/tf2-cpu.2-3:latest',
podTemplateSpec: {
spec: {
containers: [
{
env: [
{
name: 'AWS_ACCESS_KEY_ID',
valueFrom: {
secretKeyRef: { name: 'mlpipeline-minio-artifact', key: 'accesskey' },
},
},
{
name: 'AWS_SECRET_ACCESS_KEY',
valueFrom: {
secretKeyRef: {
name: 'mlpipeline-minio-artifact',
key: 'secretkey',
},
},
},
{ name: 'AWS_REGION', value: 'minio' },
{ name: 'S3_ENDPOINT', value: 'minio-service:9000' },
{ name: 'S3_USE_HTTPS', value: '0' },
{ name: 'S3_VERIFY_SSL', value: '0' },
],
},
],
},
},
},
];
jest.spyOn(OutputArtifactLoader, 'load').mockResolvedValue(tensorboardViewerConfig);
const { getByText } = render(
<CommonTestWrapper>
<MetricsTab execution={execution} namespace={namespace}></MetricsTab>
</CommonTestWrapper>,
);
getByText('Metrics is loading.');
await waitFor(() => getByText('Start Tensorboard'));
});
});
function buildBasicExecution() {
const execution = new Execution();
execution.setId(123);
return execution;
}
function buildClassificationMetricsArtifactType() {
const artifactType = new ArtifactType();
artifactType.setName('system.ClassificationMetrics');
artifactType.setId(1);
return artifactType;
}
function buildClassificationMetricsArtifact() {
const artifact = new Artifact();
artifact.setId(1);
artifact.setTypeId(1);
return artifact;
}
function buildMetricsArtifactType() {
const artifactType = new ArtifactType();
artifactType.setName('system.Metrics');
artifactType.setId(2);
return artifactType;
}
function buildMetricsArtifact() {
const artifact = new Artifact();
artifact.setTypeId(2);
return artifact;
}
function buildSystemArtifactType() {
const artifactType = new ArtifactType();
artifactType.setName('system.Artifact');
artifactType.setId(3);
return artifactType;
}
function buildV1LinkedSytemArtifact() {
const artifact = new Artifact();
artifact.setTypeId(3);
artifact.setUri('minio://mlpipeline/override/mlpipeline_ui_metadata');
const event = new Event();
const path = new Event.Path();
path.getStepsList().push(new Event.Path.Step().setKey('mlpipeline_ui_metadata'));
event.setPath(path);
const linkedArtifact: mlmdUtils.LinkedArtifact = { artifact: artifact, event: event };
return linkedArtifact;
}
| 350 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/RuntimeNodeDetailsV2.test.tsx | /*
* Copyright 2023 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { fireEvent, render, screen, waitFor } from '@testing-library/react';
import React from 'react';
import { Apis } from 'src/lib/Apis';
import { testBestPractices } from 'src/TestUtils';
import { CommonTestWrapper } from 'src/TestWrapper';
import { NodeMlmdInfo } from 'src/pages/RunDetailsV2';
import { RuntimeNodeDetailsV2 } from 'src/components/tabs/RuntimeNodeDetailsV2';
import { Execution, Value } from 'src/third_party/mlmd';
import TestUtils from 'src/TestUtils';
import fs from 'fs';
import jsyaml from 'js-yaml';
const V2_PVC_PIPELINESPEC_PATH = 'src/data/test/create_mount_delete_dynamic_pvc.yaml';
const V2_PVC_YAML_STRING = fs.readFileSync(V2_PVC_PIPELINESPEC_PATH, 'utf8');
// The templateStr used in RuntimeNodeDetailsV2 is not directly from yaml file.
// Instead, it is from BE (already been processed).
const V2_PVC_TEMPLATE_STRING_OBJ = {
pipeline_spec: jsyaml.safeLoadAll(V2_PVC_YAML_STRING)[0],
platform_spec: jsyaml.safeLoadAll(V2_PVC_YAML_STRING)[1],
};
const V2_PVC_TEMPLATE_STRING = jsyaml.safeDump(V2_PVC_TEMPLATE_STRING_OBJ);
testBestPractices();
describe('RuntimeNodeDetailsV2', () => {
const TEST_RUN_ID = 'test-run-id';
const TEST_EXECUTION = new Execution();
const TEST_EXECUTION_NAME = 'test-execution-name';
const TEST_EXECUTION_ID = 123;
const TEST_POD_NAME = 'test-pod-name';
const TEST_NAMESPACE = 'kubeflow';
const TSET_MLMD_INFO: NodeMlmdInfo = {
execution: TEST_EXECUTION,
};
const TEST_LOG_VIEW_ID = 'logs-view-window';
beforeEach(() => {
TEST_EXECUTION.setId(TEST_EXECUTION_ID);
TEST_EXECUTION.getCustomPropertiesMap().set(
'task_name',
new Value().setStringValue(TEST_EXECUTION_NAME),
);
TEST_EXECUTION.getCustomPropertiesMap().set(
'pod_name',
new Value().setStringValue(TEST_POD_NAME),
);
TEST_EXECUTION.getCustomPropertiesMap().set(
'namespace',
new Value().setStringValue(TEST_NAMESPACE),
);
});
it('shows error when failing to get logs details', async () => {
const getPodLogsSpy = jest.spyOn(Apis, 'getPodLogs');
TestUtils.makeErrorResponseOnce(getPodLogsSpy, 'Failed to retrieve pod logs');
render(
<CommonTestWrapper>
<RuntimeNodeDetailsV2
layers={['root']}
onLayerChange={layers => {}}
runId={TEST_RUN_ID}
element={{
data: {
label: 'preprocess',
},
id: 'task.preprocess',
position: { x: 100, y: 100 },
type: 'EXECUTION',
}}
elementMlmdInfo={TSET_MLMD_INFO}
namespace={undefined}
></RuntimeNodeDetailsV2>
</CommonTestWrapper>,
);
const logsTab = await screen.findByText('Logs');
fireEvent.click(logsTab); // Switch logs tab
await waitFor(() => {
expect(getPodLogsSpy).toHaveBeenCalled();
});
screen.getByText('Failed to retrieve pod logs.');
});
it('displays logs details on side panel of execution node', async () => {
const getPodLogsSpy = jest.spyOn(Apis, 'getPodLogs');
getPodLogsSpy.mockImplementation(() => 'test-logs-details');
render(
<CommonTestWrapper>
<RuntimeNodeDetailsV2
layers={['root']}
onLayerChange={layers => {}}
runId={TEST_RUN_ID}
element={{
data: {
label: 'preprocess',
},
id: 'task.preprocess',
position: { x: 100, y: 100 },
type: 'EXECUTION',
}}
elementMlmdInfo={TSET_MLMD_INFO}
namespace={undefined}
></RuntimeNodeDetailsV2>
</CommonTestWrapper>,
);
const logsTab = await screen.findByText('Logs');
fireEvent.click(logsTab); // Switch logs tab
await waitFor(() => {
expect(getPodLogsSpy).toHaveBeenCalled();
});
screen.getByTestId(TEST_LOG_VIEW_ID);
});
it('shows cached text if the execution is cached', async () => {
TEST_EXECUTION.getCustomPropertiesMap().set(
'cached_execution_id',
new Value().setStringValue('135'),
);
const getPodLogsSpy = jest.spyOn(Apis, 'getPodLogs');
getPodLogsSpy.mockImplementation(() => 'test-logs-details');
render(
<CommonTestWrapper>
<RuntimeNodeDetailsV2
layers={['root']}
onLayerChange={layers => {}}
runId={TEST_RUN_ID}
element={{
data: {
label: 'preprocess',
},
id: 'task.preprocess',
position: { x: 100, y: 100 },
type: 'EXECUTION',
}}
elementMlmdInfo={TSET_MLMD_INFO}
namespace={undefined}
></RuntimeNodeDetailsV2>
</CommonTestWrapper>,
);
const logsTab = await screen.findByText('Logs');
fireEvent.click(logsTab); // Switch logs tab
await waitFor(() => {
// getPodLogs() won't be called if it's cached execution
expect(getPodLogsSpy).toHaveBeenCalledTimes(0);
});
screen.getByTestId(TEST_LOG_VIEW_ID); // Still can load log view window
});
it('displays volume mounts in details tab on side panel of execution node', async () => {
render(
<CommonTestWrapper>
<RuntimeNodeDetailsV2
layers={['root']}
onLayerChange={layers => {}}
pipelineJobString={V2_PVC_TEMPLATE_STRING}
runId={TEST_RUN_ID}
element={{
data: {
label: 'producer',
},
id: 'task.producer',
position: { x: 100, y: 100 },
type: 'EXECUTION',
}}
elementMlmdInfo={TSET_MLMD_INFO}
namespace={undefined}
></RuntimeNodeDetailsV2>
</CommonTestWrapper>,
);
const detailsTab = await screen.findByText('Task Details');
fireEvent.click(detailsTab); // Switch details tab
screen.getByText('/data');
screen.getByText('createpvc');
});
});
| 351 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/ExecutionTitle.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Execution } from 'src/third_party/mlmd';
import React from 'react';
import { Link } from 'react-router-dom';
import { commonCss } from 'src/Css';
import { ExecutionHelpers } from 'src/mlmd/MlmdUtils';
import { RoutePageFactory } from '../Router';
interface ExecutionTitleProps {
execution: Execution;
}
export function ExecutionTitle({ execution }: ExecutionTitleProps) {
return (
<>
<div>
This step corresponds to execution{' '}
<Link className={commonCss.link} to={RoutePageFactory.executionDetails(execution.getId())}>
"{ExecutionHelpers.getName(execution)}"
</Link>
.
</div>
</>
);
}
| 352 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/tabs/ExecutionTitle.test.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Execution, Value } from 'src/third_party/mlmd';
import { render, screen } from '@testing-library/react';
import React from 'react';
import { testBestPractices } from 'src/TestUtils';
import { CommonTestWrapper } from 'src/TestWrapper';
import { ExecutionTitle } from './ExecutionTitle';
testBestPractices();
describe('ExecutionTitle', () => {
const execution = new Execution();
const executionName = 'fake-execution';
const executionId = 123;
beforeEach(() => {
execution.setId(executionId);
execution.getCustomPropertiesMap().set('task_name', new Value().setStringValue(executionName));
});
it('Shows execution name', () => {
render(
<CommonTestWrapper>
<ExecutionTitle execution={execution}></ExecutionTitle>
</CommonTestWrapper>,
);
screen.getByText(executionName, { selector: 'a', exact: false });
});
it('Shows execution description', () => {
render(
<CommonTestWrapper>
<ExecutionTitle execution={execution}></ExecutionTitle>
</CommonTestWrapper>,
);
screen.getByText(/This step corresponds to execution/);
});
});
| 353 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/graph/SubDagLayer.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import grey from '@material-ui/core/colors/grey';
import * as React from 'react';
import { classes, stylesheet } from 'typestyle';
import { color, commonCss, fonts, padding } from 'src/mlmd/Css';
import { color as commonColor } from 'src/Css';
import ArrowRightAltIcon from '@material-ui/icons/ArrowRightAlt';
export interface SubDagLayerProps {
layers: string[];
onLayersUpdate(layers: string[]): void;
// initialTarget?: Artifact;
// setLineageViewTarget(artifact: Artifact): void;
}
interface History {
layer: string;
path: string;
}
const baseLinkButton: React.CSSProperties = {
backgroundColor: 'transparent',
border: 'none',
cursor: 'pointer',
display: 'inline',
margin: 0,
padding: 0,
};
const baseBreadcrumb = {
...baseLinkButton,
fontFamily: fonts.secondary,
fontWeight: 500,
};
const actionBarCss = stylesheet({
actionButton: {
color: color.strong,
},
workspace: {
...baseBreadcrumb,
fontStyle: 'italic',
cursor: 'default',
},
workspaceSep: {
display: 'block',
color: '#3c3c3c',
$nest: {
'&::before': {
content: '""',
color: '#9f9f9f',
margin: '0 .75em',
border: '1px solid',
background: 'currentColor',
},
},
},
breadcrumbContainer: {
alignItems: 'center',
display: 'flex',
flexShrink: 1,
overflow: 'hidden',
},
breadcrumbInactive: {
color: color.grey,
...baseBreadcrumb,
$nest: {
'&:hover': {
color: commonColor.linkLight,
textDecoration: 'underline',
},
},
},
breadcrumbActive: {
color: color.strong,
...baseBreadcrumb,
$nest: {
'&:hover': {
cursor: 'default',
},
},
},
breadcrumbSeparator: {
color: grey[400],
},
container: {
borderBottom: '1px solid ' + color.separator,
height: '48px',
justifyContent: 'space-between',
},
});
const BreadcrumbSeparator: React.FC = () => (
<div className={classes(commonCss.flex)}>
<ArrowRightAltIcon className={classes(actionBarCss.breadcrumbSeparator, padding(1, 'lr'))} />
</div>
);
const SubDagLayer: React.FC<SubDagLayerProps> = ({ layers, onLayersUpdate: setLayers }) => {
const historyList: History[] = [];
let path = '';
for (const layer in layers) {
historyList.push({ layer: layer, path: path });
path += '/' + layer;
}
const breadcrumbs: JSX.Element[] = [
<span className={classes(actionBarCss.workspace)} key='workspace'>
{'Layers'}
</span>,
<div key='workspace-sep' className={actionBarCss.workspaceSep} />,
];
layers.forEach((n, index) => {
const isActive = index === layers.length - 1;
const onBreadcrumbClicked = () => {
setLayers(layers.slice(0, index + 1));
};
breadcrumbs.push(
<button
key={`breadcrumb-${index}`}
className={classes(
isActive ? actionBarCss.breadcrumbActive : actionBarCss.breadcrumbInactive,
)}
disabled={isActive}
onClick={onBreadcrumbClicked}
>
{n}
</button>,
);
if (!isActive) {
breadcrumbs.push(<BreadcrumbSeparator key={`separator-${index}`} />);
}
});
return (
<div className={classes(actionBarCss.container, padding(25, 'lr'), commonCss.flex)}>
<div className={classes(actionBarCss.breadcrumbContainer)}>{breadcrumbs}</div>
</div>
);
};
export default SubDagLayer;
| 354 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/graph/SubDagNode.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import CropFreeIcon from '@material-ui/icons/CropFree';
import React from 'react';
import { Handle, Position } from 'react-flow-renderer';
import { SubDagFlowElementData } from './Constants';
import { getExecutionIcon, getIcon } from './ExecutionNode';
// import ExpandLessIcon from '@material-ui/icons/ExpandLess';
// import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
interface SubDagNodeProps {
id: string;
data: SubDagFlowElementData;
// status: ExecutionNodeStatus;
// tooltip: string;
// isSelected: boolean;
}
function SubDagNode({ id, data }: SubDagNodeProps) {
let icon = getIcon(data.state);
let executionIcon = getExecutionIcon(data.state);
const handleClick = (event: React.MouseEvent) => {
event.stopPropagation();
data.expand(id);
};
return (
<>
<button
title={data.label}
className='group focus:border-blue-500 rounded-xl border-gray-300 border-2 border-dashed'
>
<div className='container items-stretch h-24 w-72 relative grid '>
<div className='flex justify-center place-self-center self-center relative h-14 w-72 '>
<div className='transition transform hover:scale-105'>
<div className=' flex justify-start flex-row h-14 relative overflow:hidden bg-white shadow-lg rounded-xl w-60 z-20'>
<div className='w-8 pl-2 h-full flex flex-col justify-center rounded-l-lg'>
{executionIcon}
</div>
<div className='px-4 py-4 w-44 flex flex-col justify-center items-center '>
<span className='w-full truncate' id={id}>
{data.label}
</span>
</div>
{icon}
</div>
<div className='flex absolute top-0 overflow:hidden bg-white shadow-lg rounded-xl h-14 w-60 ml-1 mt-1 z-10'></div>
</div>
</div>
<div
onClick={handleClick}
className='transition transform hover:shadow-inner hover:scale-110 flex flex-col absolute rounded-full h-9 w-9 z-30 group-focus:border-blue-500 hover:border-blue-500 border-2 bg-white -right-5 top-8 items-center justify-center justify-items-center'
>
<div className='group-focus:text-blue-500 hover:text-blue-500 text-gray-300'>
<CropFreeIcon style={{ fontSize: 15 }} />
</div>
{/* The following is alternative to the expand icon */}
{/* <ExpandLessIcon style={{ fontSize: 14, color: '#3B82F6', opacity: 1 }}></ExpandLessIcon>
<ExpandMoreIcon style={{ fontSize: 14, color: '#3B82F6', opacity: 1 }}></ExpandMoreIcon> */}
</div>
</div>
</button>
<Handle
type='target'
position={Position.Top}
isValidConnection={connection => connection.source === 'some-id'}
onConnect={params => console.log('handle onConnect', params)}
style={{ background: '#000', height: '1px', width: '1px', border: 0 }}
/>
<Handle
type='source'
position={Position.Bottom}
isValidConnection={connection => connection.source === 'some-id'}
onConnect={params => console.log('handle onConnect', params)}
style={{ background: '#000', height: '1px', width: '1px', border: 0 }}
/>
</>
);
}
export default SubDagNode;
| 355 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/graph/ArtifactNode.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import FolderIcon from '@material-ui/icons/Folder';
import React from 'react';
import { Handle, Position } from 'react-flow-renderer';
import { Artifact } from 'src/third_party/mlmd';
import { ArtifactFlowElementData } from './Constants';
interface ArtifactNodeProps {
id: string;
data: ArtifactFlowElementData;
// selected: boolean;
// status: ExecutionNodeStatus;
// tooltip: string;
}
function ArtifactNode({ id, data }: ArtifactNodeProps) {
let icon = getIcon(data.state);
return (
<>
<button
title={data.label}
className='focus:ring flex items-stretch hover:scale-105 transition transform border-0 shadow-lg rounded-lg w-60 h-12'
>
<div className='flex items-center justify-between w-60 rounded-lg shadow-lg bg-white'>
{icon}
<div className='flex flex-grow justify-center items-center rounded-r-lg overflow-hidden'>
<span className='text-sm truncate' id={id}>
{data.label}
</span>
</div>
</div>
</button>
<Handle
type='target'
position={Position.Top}
isValidConnection={() => false}
style={{ background: '#000', height: '1px', width: '1px', border: 0 }}
/>
<Handle
type='source'
position={Position.Bottom}
isValidConnection={() => false}
style={{ background: '#000', height: '1px', width: '1px', border: 0 }}
/>
</>
);
}
export default ArtifactNode;
function getIcon(state: Artifact.State | undefined) {
if (state === undefined) {
return getIconWrapper(<FolderIcon className='text-mui-grey-300-dark' />);
}
switch (state) {
case Artifact.State.LIVE:
return getIconWrapper(<FolderIcon className='text-mui-yellow-800' />);
default:
return getIconWrapper(<FolderIcon className='text-mui-grey-300-dark' />);
}
}
function getIconWrapper(element: React.ReactElement) {
return (
<div className='px-2 flex flex-col justify-center items-center rounded-l-lg'>{element}</div>
);
}
| 356 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/graph/Constants.ts | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import { Execution, Artifact } from 'src/third_party/mlmd';
// Being used as the base interace for Node and Edge in Reactflow.
export type FlowElementDataBase = {
label: string;
mlmdId?: number;
[key: string]: any;
};
export type SubDagFlowElementData = FlowElementDataBase & {
// Callback action if a SubDag expand button is clicked.
expand: (nodeKey: string) => void;
state?: Execution.State;
};
export type ExecutionFlowElementData = FlowElementDataBase & {
state?: Execution.State;
};
export type ArtifactFlowElementData = FlowElementDataBase & {
state?: Artifact.State;
producerSubtask?: string;
outputArtifactKey?: string;
};
| 357 |
0 | kubeflow_public_repos/pipelines/frontend/src/components | kubeflow_public_repos/pipelines/frontend/src/components/graph/ExecutionNode.tsx | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import CheckCircleIcon from '@material-ui/icons/CheckCircle';
import CloudDownloadIcon from '@material-ui/icons/CloudDownload';
import ErrorIcon from '@material-ui/icons/Error';
import ListAltIcon from '@material-ui/icons/ListAlt';
import PowerSettingsNewIcon from '@material-ui/icons/PowerSettingsNew';
import RefreshIcon from '@material-ui/icons/Refresh';
import RemoveCircleOutlineIcon from '@material-ui/icons/RemoveCircleOutline';
import React, { ReactElement } from 'react';
import { Handle, Position } from 'react-flow-renderer';
import StopCircle from 'src/icons/StopCircle';
import { Execution } from 'src/third_party/mlmd';
import { classes } from 'typestyle';
import { ExecutionFlowElementData } from './Constants';
import MoreHorizIcon from '@material-ui/icons/MoreHoriz';
export interface ExecutionNodeProps {
id: string;
data: ExecutionFlowElementData;
// selected: boolean;
// status: ExecutionNodeStatus;
}
function ExecutionNode({ id, data }: ExecutionNodeProps) {
let icon = getIcon(data.state);
let executionIcon = getExecutionIcon(data.state);
const fullWidth = icon ? 'w-64' : 'w-56';
return (
<>
<div title={data.label} className='container'>
<button
className={classes(
'focus:ring flex items-stretch border-0 transform h-12 hover:scale-105 transition relative overflow:hidden bg-white shadow-lg rounded-lg',
fullWidth,
)}
>
<div className='flex justify-between flex-row relative w-full h-full'>
<div className='w-8 pl-2 h-full flex flex-col justify-center rounded-l-lg'>
{executionIcon}
</div>
<div className='px-3 py-4 w-44 h-full flex justify-center items-center'>
<span className='w-44 text-sm truncate' id={id}>
{data.label}
</span>
</div>
{icon}
</div>
</button>
</div>
<Handle
type='target'
position={Position.Top}
isValidConnection={() => false}
style={{ background: '#000', height: '1px', width: '1px', border: 0 }}
/>
<Handle
type='source'
position={Position.Bottom}
isValidConnection={() => false}
style={{ background: '#000', height: '1px', width: '1px', border: 0 }}
/>
</>
);
}
export default ExecutionNode;
export function getExecutionIcon(state: Execution.State | undefined) {
if (state === undefined) {
return <ListAltIcon className='text-mui-grey-500' />;
}
return <ListAltIcon className='text-mui-blue-600' />;
}
export function getIcon(state: Execution.State | undefined) {
if (state === undefined) {
return null;
}
switch (state) {
case Execution.State.UNKNOWN:
return getStateIconWrapper(
<MoreHorizIcon className='text-mui-grey-600' />,
'bg-mui-grey-200',
);
case Execution.State.NEW:
return getStateIconWrapper(
<PowerSettingsNewIcon className='text-mui-blue-600' />,
'bg-mui-blue-50',
);
case Execution.State.RUNNING:
return getStateIconWrapper(<RefreshIcon className='text-mui-green-600' />, 'bg-mui-green-50');
case Execution.State.CACHED:
return getStateIconWrapper(
<CloudDownloadIcon className='text-mui-green-600' />,
'bg-mui-green-50',
);
case Execution.State.FAILED:
return getStateIconWrapper(<ErrorIcon className='text-mui-red-600' />, 'bg-mui-red-50');
case Execution.State.CANCELED:
return getStateIconWrapper(
<StopCircle colorClass={'text-mui-grey-600'} />,
'bg-mui-grey-200',
);
case Execution.State.COMPLETE:
return getStateIconWrapper(
<CheckCircleIcon className='text-mui-green-600 bla' />,
'bg-mui-green-50',
);
default:
console.error('Unknown exeuction state: ' + state);
return getStateIconWrapper(<RemoveCircleOutlineIcon className='text-white' />, 'bg-black');
}
}
function getStateIconWrapper(element: ReactElement, backgroundClasses: string) {
return (
<div
className={classes(
'px-2 h-full flex flex-col justify-center rounded-r-lg ',
backgroundClasses,
)}
>
{element}
</div>
);
}
// The following code can be used for `canceling state`
// return (
// <div className='px-2 h-full self-stretch flex flex-col justify-center rounded-r-lg bg-mui-lightblue-100'>
// <CircularProgress size={24} />
// {/* <SyncDisabledIcon className=' text-mui-organge-300' /> */}
// </div>
// );
| 358 |
0 | kubeflow_public_repos/pipelines/frontend/src/third_party | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/argo_template.ts | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import * as kubernetes from './kubernetes';
/**
* Arguments to a template
*/
export interface Arguments {
/**
* Artifacts is the list of artifacts to pass to the template or workflow
*/
artifacts?: Artifact[];
/**
* Parameters is the list of parameters to pass to the template or workflow
*/
parameters?: Parameter[];
}
/**
* Artifact indicates an artifact to place at a specified path
*/
export interface Artifact {
/**
* Artifactory contains artifactory artifact location details
*/
artifactory?: ArtifactoryArtifact;
/**
* From allows an artifact to reference an artifact from a previous step
*/
from?: string;
/**
* Git contains git artifact location details
*/
git?: GitArtifact;
/**
* HTTP contains HTTP artifact location details
*/
http?: HTTPArtifact;
/**
* mode bits to use on this file, must be a value between 0 and 0777 set
* when loading input artifacts.
*/
mode?: number;
/**
* name of the artifact. must be unique within a template's inputs/outputs.
*/
name: string;
/**
* Path is the container path to the artifact
*/
path?: string;
/**
* Raw contains raw artifact location details
*/
raw?: RawArtifact;
/**
* S3 contains S3 artifact location details
*/
s3?: S3Artifact;
}
/**
* ArtifactLocation describes a location for a single or multiple artifacts. It
* is used as single artifact in the context of inputs/outputs (e.g.
* outputs.artifacts.artname). It is also used to describe the location of
* multiple artifacts such as the archive location of a single workflow step,
* which the executor will use as a default location to store its files.
*/
export interface ArtifactLocation {
/**
* Artifactory contains artifactory artifact location details
*/
artifactory?: ArtifactoryArtifact;
/**
* Git contains git artifact location details
*/
git?: GitArtifact;
/**
* HTTP contains HTTP artifact location details
*/
http?: HTTPArtifact;
/**
* Raw contains raw artifact location details
*/
raw?: RawArtifact;
/**
* S3 contains S3 artifact location details
*/
s3?: S3Artifact;
}
/**
* ArtifactoryArtifact is the location of an artifactory artifact
*/
export interface ArtifactoryArtifact {
/**
* PasswordSecret is the secret selector to the repository password
*/
passwordSecret?: kubernetes.SecretKeySelector;
/**
* URL of the artifact
*/
url: string;
/**
* UsernameSecret is the secret selector to the repository username
*/
usernameSecret?: kubernetes.SecretKeySelector;
}
/**
* ArtifactoryAuth describes the secret selectors required for authenticating to artifactory
*/
export interface ArtifactoryAuth {
/**
* PasswordSecret is the secret selector to the repository password
*/
passwordSecret?: kubernetes.SecretKeySelector;
/**
* UsernameSecret is the secret selector to the repository username
*/
usernameSecret?: kubernetes.SecretKeySelector;
}
/**
* GitArtifact is the location of an git artifact
*/
export interface GitArtifact {
/**
* PasswordSecret is the secret selector to the repository password
*/
passwordSecret?: kubernetes.SecretKeySelector;
/**
* Repo is the git repository
*/
repo: string;
/**
* Revision is the git commit, tag, branch to checkout
*/
revision?: string;
/**
* UsernameSecret is the secret selector to the repository username
*/
usernameSecret?: kubernetes.SecretKeySelector;
}
/**
* HTTPArtifact allows an file served on HTTP to be placed as an input artifact in a container
*/
export interface HTTPArtifact {
/**
* URL of the artifact
*/
url: string;
}
/**
* Inputs are the mechanism for passing parameters, artifacts, volumes from one template to another
*/
export interface Inputs {
/**
* Artifact are a list of artifacts passed as inputs
*/
artifacts?: Artifact[];
/**
* Parameters are a list of parameters passed as inputs
*/
parameters?: Parameter[];
}
/**
* Pod metdata
*/
export interface Metadata {
annotations?: { [key: string]: string };
labels?: { [key: string]: string };
}
/**
* Outputs hold parameters, artifacts, and results from a step
*/
export interface Outputs {
/**
* Artifacts holds the list of output artifacts produced by a step
*/
artifacts?: Artifact[];
/**
* Parameters holds the list of output parameters produced by a step
*/
parameters?: Parameter[];
/**
* Result holds the result (stdout) of a script template
*/
result?: string;
/**
* ExitCode holds the exit code of a script template
*/
exitCode?: number;
}
/**
* Parameter indicate a passed string parameter to a service template with an optional default value
*/
export interface Parameter {
/**
* Default is the default value to use for an input parameter if a value was not supplied
*/
_default?: string;
/**
* Name is the parameter name
*/
name: string;
/**
* Value is the literal value to use for the parameter. If specified in the
* context of an input parameter, the value takes precedence over any
* passed values
*/
value?: string;
/**
* ValueFrom is the source for the output parameter's value
*/
valueFrom?: ValueFrom;
}
/**
* RawArtifact allows raw string content to be placed as an artifact in a container
*/
export interface RawArtifact {
/**
* Data is the string contents of the artifact
*/
data: string;
}
/**
* ResourceTemplate is a template subtype to manipulate kubernetes resources
*/
export interface ResourceTemplate {
/**
* Action is the action to perform to the resource. Must be one of: get,
* create, apply, delete, replace
*/
action: string;
/**
* FailureCondition is a label selector expression which describes the
* conditions of the k8s resource in which the step was considered failed
*/
failureCondition?: string;
/**
* Manifest contains the kubernetes manifest
*/
manifest: string;
/**
* SuccessCondition is a label selector expression which describes the
* conditions of the k8s resource in which it is acceptable to proceed to
* the following step
*/
successCondition?: string;
}
/**
* RetryStrategy provides controls on how to retry a workflow step
*/
export interface RetryStrategy {
/**
* Limit is the maximum number of attempts when retrying a container
*/
limit?: number;
}
/**
* S3Artifact is the location of an S3 artifact
*/
export interface S3Artifact {
// Handcrafted, this is not used by Argo UI.
s3Bucket?: S3Bucket;
/**
* Key is the key in the bucket where the artifact resides
*/
key: string;
}
/**
* S3Bucket contains the access information required for interfacing with an S3 bucket
*/
export interface S3Bucket {
/**
* AccessKeySecret is the secret selector to the bucket's access key
*/
accessKeySecret: kubernetes.SecretKeySelector;
/**
* Bucket is the name of the bucket
*/
bucket: string;
/**
* Endpoint is the hostname of the bucket endpoint
*/
endpoint: string;
/**
* Insecure will connect to the service with TLS
*/
insecure?: boolean;
/**
* Region contains the optional bucket region
*/
region?: string;
/**
* SecretKeySecret is the secret selector to the bucket's secret key
*/
secretKeySecret: kubernetes.SecretKeySelector;
// Handcrafted, this is not used by Argo UI.
// KeyFormat is defines the format of how to store keys. Can reference workflow variables
keyFormat?: string;
}
/**
* Script is a template subtype to enable scripting through code steps
*/
export interface Script {
/**
* Command is the interpreter coommand to run (e.g. [python])
*/
command: string[];
/**
* Image is the container image to run
*/
image: string;
/**
* Source contains the source code of the script to execute
*/
source: string;
}
/**
* Sidecar is a container which runs alongside the main container
*/
export interface Sidecar {
/**
* Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
* Variable references $(VAR_NAME) are expanded using the container's environment.
* If a variable cannot be resolved, the reference in the input string will be unchanged.
* The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME).
* Escaped references will never be expanded, regardless of whether the variable exists or not.
* Cannot be updated.
*/
args?: string[];
/**
* Entrypoint array. Not executed within a shell. The docker image's
* ENTRYPOINT is used if this is not provided. Variable references
* $(VAR_NAME) are expanded using the container's environment. If a
* variable cannot be resolved, the reference in the input string will be
* unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie:
* $$(VAR_NAME). Escaped references will never be expanded, regardless of
* whether the variable exists or not. Cannot be updated.
*
*/
command?: string[];
/**
* List of environment variables to set in the container. Cannot be updated.
*/
env?: kubernetes.EnvVar[];
/**
* List of sources to populate environment variables in the container. The
* keys defined within a source must be a C_IDENTIFIER. All invalid keys
* will be reported as an event when the container is starting. When a key
* exists in multiple sources, the value associated with the last source
* will take precedence. Values defined by an Env with a duplicate key will
* take precedence. Cannot be updated.
*/
envFrom?: kubernetes.EnvFromSource[];
/**
* Docker image name.
*/
image?: string;
/**
* Image pull policy. One of Always, Never, IfNotPresent. Defaults to
* Always if :latest tag is specified, or IfNotPresent otherwise.
*/
imagePullPolicy?: string;
/**
* Actions that the management system should take in response to container
* lifecycle events. Cannot be updated.
*/
lifecycle?: kubernetes.Lifecycle;
/**
* Periodic probe of container liveness. Container will be restarted if the probe fails.
* Cannot be updated.
*/
livenessProbe?: kubernetes.Probe;
/**
* MirrorVolumeMounts will mount the same volumes specified in the main
* container to the sidecar (including artifacts), at the same mountPaths.
* This enables dind daemon to partially see the same filesystem as the
* main container in order to use features such as docker volume binding
*/
mirrorVolumeMounts?: boolean;
/**
* Name of the container specified as a DNS_LABEL. Each container in a pod
* must have a unique name (DNS_LABEL). Cannot be updated.
*/
name: string;
/**
* List of ports to expose from the container. Exposing a port here gives
* the system additional information about the network connections a
* container uses, but is primarily informational. Not specifying a port
* here DOES NOT prevent that port from being exposed. Any port which is
* listening on the default \"0.0.0.0\" address inside a container will be
* accessible from the network. Cannot be updated.
*/
ports?: kubernetes.ContainerPort[];
/**
* Periodic probe of container service readiness. Container will be removed
* from service endpoints if the probe fails.
*/
readinessProbe?: kubernetes.Probe;
/**
* Compute Resources required by this container. Cannot be updated.
*/
resources?: kubernetes.ResourceRequirements;
/**
* Security options the pod should run with.
*/
securityContext?: kubernetes.SecurityContext;
/**
* Whether this container should allocate a buffer for stdin in the
* container runtime. If this is not set, reads from stdin in the container
* will always result in EOF. Default is false.
*/
stdin?: boolean;
/**
* Whether the container runtime should close the stdin channel after it
* has been opened by a single attach. When stdin is true the stdin stream
* will remain open across multiple attach sessions. If stdinOnce is set to
* true, stdin is opened on container start, is empty until the first
* client attaches to stdin, and then remains open and accepts data until
* the client disconnects, at which time stdin is closed and remains closed
* until the container is restarted. If this flag is false, a container
* processes that reads from stdin will never receive an EOF. Default is
* false
*/
stdinOnce?: boolean;
/**
* Optional: Path at which the file to which the container's termination
* message will be written is mounted into the container's filesystem.
* Message written is intended to be brief final status, such as an
* assertion failure message. Will be truncated by the node if greater than
* 4096 bytes. The total message length across all containers will be
* limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
*/
terminationMessagePath?: string;
/**
* Indicate how the termination message should be populated. File will use
* the contents of terminationMessagePath to populate the container status
* message on both success and failure. FallbackToLogsOnError will use the
* last chunk of container log output if the termination message file is
* empty and the container exited with an error. The log output is limited
* to 2048 bytes or 80 lines, whichever is smaller. Defaults to File.
* Cannot be updated.
*/
terminationMessagePolicy?: string;
/**
* Whether this container should allocate a TTY for itself, also requires
* 'stdin' to be true. Default is false.
*/
tty?: boolean;
/**
* volumeDevices is the list of block devices to be used by the container.
* This is an alpha feature and may change in the future.
*/
volumeDevices?: kubernetes.VolumeDevice[];
/**
* Pod volumes to mount into the container's filesystem. Cannot be updated.
*/
volumeMounts?: kubernetes.VolumeMount[];
/**
* Container's working directory. If not specified, the container runtime's
* default will be used, which might be configured in the container image.
* Cannot be updated.
*/
workingDir?: string;
}
/**
* SidecarOptions provide a way to customize the behavior of a sidecar and how
* it affects the main container.
*/
export interface SidecarOptions {
/**
* MirrorVolumeMounts will mount the same volumes specified in the main
* container to the sidecar (including artifacts), at the same mountPaths.
* This enables dind daemon to partially see the same filesystem as the
* main container in order to use features such as docker volume binding
*/
mirrorVolumeMounts?: boolean;
}
/**
* Template is a reusable and composable unit of execution in a workflow
*/
export interface Template {
/**
* Optional duration in seconds relative to the StartTime that the pod may
* be active on a node before the system actively tries to terminate the
* pod; value must be positive integer This field is only applicable to
* container and script templates.
*/
activeDeadlineSeconds?: number;
/**
* Affinity sets the pod's scheduling constraints Overrides the affinity
* set at the workflow level (if any)
*/
affinity?: kubernetes.Affinity;
/**
* Container is the main container image to run in the pod
*/
container?: kubernetes.Container;
/**
* Deamon will allow a workflow to proceed to the next step so long as the
* container reaches readiness
*/
daemon?: boolean;
/**
* Inputs describe what inputs parameters and artifacts are supplied to this template
*/
inputs?: Inputs;
/**
* Metdata sets the pods's metadata, i.e. annotations and labels
*/
metadata?: Metadata;
/**
* Name is the name of the template
*/
name: string;
/**
* NodeSelector is a selector to schedule this step of the workflow to be
* run on the selected node(s). Overrides the selector set at the workflow
* level.
*/
nodeSelector?: { [key: string]: string };
/**
* Outputs describe the parameters and artifacts that this template produces
*/
outputs?: Outputs;
/**
* Resource template subtype which can run k8s resources
*/
resource?: ResourceTemplate;
/**
* RetryStrategy describes how to retry a template when it fails
*/
retryStrategy?: RetryStrategy;
/**
* Script runs a portion of code against an interpreter
*/
script?: Script;
/**
* Sidecars is a list of containers which run alongside the main container
* Sidecars are automatically killed when the main container completes
*/
sidecars?: Sidecar[];
/**
* Steps define a series of sequential/parallel workflow steps
*/
steps?: WorkflowStep[][];
/**
* DAG template
*/
dag?: DAGTemplate;
/**
* Template is the name of the template which is used as the base of this template.
*/
template?: string;
/**
* TemplateRef is the reference to the template resource which is used as the base of this template.
*/
templateRef?: TemplateRef;
}
/**
* ValueFrom describes a location in which to obtain the value to a parameter
*/
export interface ValueFrom {
/**
* JQFilter expression against the resource object in resource templates
*/
jqFilter?: string;
/**
* JSONPath of a resource to retrieve an output parameter value from in resource templates
*/
jsonPath?: string;
/**
* Parameter reference to a step or dag task in which to retrieve an output
* parameter value from (e.g. '{{steps.mystep.outputs.myparam}}')
*/
parameter?: string;
/**
* Path in the container to retrieve an output parameter value from in container templates
*/
path?: string;
}
/**
* Workflow is the definition of a workflow resource
*/
export interface Workflow {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value,
* and may reject unrecognized values.
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object
* represents. Servers may infer this from the endpoint the client submits
* requests to.
* Cannot be updated. In CamelCase.
*/
kind?: string;
metadata: kubernetes.ObjectMeta;
spec: WorkflowSpec;
status: WorkflowStatus;
}
export type NodeType =
| 'Pod'
| 'Steps'
| 'StepGroup'
| 'DAG'
| 'Retry'
| 'Skipped'
| 'TaskGroup'
| 'Suspend';
export interface NodeStatus {
/**
* ID is a unique identifier of a node within the worklow
* It is implemented as a hash of the node name, which makes the ID deterministic
*/
id: string;
/**
* Display name is a human readable representation of the node. Unique
* within a template boundary
*/
displayName: string;
/**
* Name is unique name in the node tree used to generate the node ID
*/
name: string;
/**
* Type indicates type of node
*/
type: NodeType;
/**
* Phase a simple, high-level summary of where the node is in its lifecycle.
* Can be used as a state machine.
*/
phase: NodePhase;
/**
* BoundaryID indicates the node ID of the associated template root node in
* which this node belongs to
*/
boundaryID: string;
/**
* A human readable message indicating details about why the node is in this condition.
*/
message: string;
/**
* Time at which this node started.
*/
startedAt: kubernetes.Time;
/**
* Time at which this node completed.
*/
finishedAt: kubernetes.Time;
/**
* Estimated duration in seconds.
*/
estimatedDuration?: number;
/**
* Progress as numerator/denominator.
*/
progress?: string;
/**
* How much resource was requested.
*/
resourcesDuration?: { [resource: string]: number };
/**
* PodIP captures the IP of the pod for daemoned steps
*/
podIP: string;
/**
* Daemoned tracks whether or not this node was daemoned and need to be terminated
*/
daemoned: boolean;
retryStrategy: RetryStrategy;
/**
* Outputs captures output parameter values and artifact locations
*/
outputs: Outputs;
/**
* Children is a list of child node IDs
*/
children: string[];
/**
* OutboundNodes tracks the node IDs which are considered "outbound" nodes to a template invocation.
* For every invocation of a template, there are nodes which we considered as "outbound". Essentially,
* these are last nodes in the execution sequence to run, before the template is considered completed.
* These nodes are then connected as parents to a following step.
*
* In the case of single pod steps (i.e. container, script, resource templates), this list will be nil
* since the pod itself is already considered the "outbound" node.
* In the case of DAGs, outbound nodes are the "target" tasks (tasks with no children).
* In the case of steps, outbound nodes are all the containers involved in the last step group.
* NOTE: since templates are composable, the list of outbound nodes are carried upwards when
* a DAG/steps template invokes another DAG/steps template. In other words, the outbound nodes of
* a template, will be a superset of the outbound nodes of its last children.
*/
outboundNodes: string[];
/**
* TemplateName is the template name which this node corresponds to. Not
* applicable to virtual nodes (e.g. Retry, StepGroup)
*/
templateName: string;
/**
* Inputs captures input parameter values and artifact locations supplied
* to this template invocation
*/
inputs: Inputs;
/**
* TemplateRef is the reference to the template resource which this node corresponds to.
* Not applicable to virtual nodes (e.g. Retry, StepGroup)
*/
templateRef?: TemplateRef;
/**
* TemplateScope is the template scope in which the template of this node was retrieved.
*/
templateScope?: string;
/**
* HostNodeName name of the Kubernetes node on which the Pod is running, if applicable.
*/
hostNodeName: string;
/**
* Memoization
*/
memoizationStatus: MemoizationStatus;
}
export interface TemplateRef {
/**
* Name is the resource name of the template.
*/
name: string;
/**
* Template is the name of referred template in the resource.
*/
template: string;
/**
* RuntimeResolution skips validation at creation time.
* By enabling this option, you can create the referred workflow template before the actual runtime.
*/
runtimeResolution?: boolean;
/**
* ClusterScope indicates the referred template is cluster scoped (i.e., a ClusterWorkflowTemplate).
*/
clusterScope?: boolean;
}
export interface WorkflowStatus {
/**
* Phase a simple, high-level summary of where the workflow is in its lifecycle.
*/
phase: NodePhase;
startedAt: kubernetes.Time;
finishedAt: kubernetes.Time;
/**
* Estimated duration in seconds.
*/
estimatedDuration?: number;
/**
* Progress as numerator/denominator.
*/
progress?: string;
/**
* A human readable message indicating details about why the workflow is in this condition.
*/
message: string;
/**
* Nodes is a mapping between a node ID and the node's status.
*/
nodes: { [nodeId: string]: NodeStatus };
/**
* PersistentVolumeClaims tracks all PVCs that were created as part of the workflow.
* The contents of this list are drained at the end of the workflow.
*/
persistentVolumeClaims: kubernetes.Volume[];
compressedNodes: string;
/**
* StoredTemplates is a mapping between a template ref and the node's status.
*/
storedTemplates: { [name: string]: Template };
/**
* ResourcesDuration tracks how much resources were requested.
*/
resourcesDuration?: { [resource: string]: number };
/**
* Conditions is a list of WorkflowConditions
*/
conditions?: Condition[];
/**
* StoredWorkflowTemplateSpec is a Workflow Spec of top level WorkflowTemplate.
*/
storedWorkflowTemplateSpec?: WorkflowSpec;
// Handcrafted, this is not used by Argo UI.
// ArtifactRepositoryRef is used to cache the repository to use so we do not need to determine it everytime we reconcile.
artifactRepositoryRef?: ArtifactRepositoryRef;
}
// Handcrafted, this is not used by Argo UI.
// +protobuf.options.(gogoproto.goproto_stringer)=false
export interface ArtifactRepositoryRef {
// artifactRepositoryRef?: ArtifactRepositoryRef;
// The namespace of the config map. Defaults to the workflow's namespace, or the controller's namespace (if found).
namespace?: string;
// If this ref represents the default artifact repository, rather than a config map.
default?: boolean;
// The repository the workflow will use. This maybe empty before v3.1.
artifactRepository?: ArtifactRepository;
}
// Handcrafted, this is not used by Argo UI.
// ArtifactRepository represents an artifact repository in which a controller will store its artifacts
export interface ArtifactRepository {
// ArchiveLogs enables log archiving
archiveLogs?: boolean;
// S3 stores artifact in a S3-compliant object store
s3?: S3Bucket;
// // Artifactory stores artifacts to JFrog Artifactory
// optional ArtifactoryArtifactRepository artifactory = 3;
// // HDFS stores artifacts in HDFS
// optional HDFSArtifactRepository hdfs = 4;
// // OSS stores artifact in a OSS-compliant object store
// optional OSSArtifactRepository oss = 5;
// // GCS stores artifact in a GCS object store
// optional GCSArtifactRepository gcs = 6;
}
/**
* MemoizationStatus holds information about a node with memoization enabled.
*/
export interface MemoizationStatus {
/**
* Hit is true if there was a previous cache entry and false otherwise
*/
hit: boolean;
/**
* Key is the value used to query the cache for an entry
*/
key: string;
/**
* Cache name stores the identifier of the cache used for this node
*/
cacheName: string;
}
export interface Condition {
type: ConditionType;
status: ConditionStatus;
message: string;
}
export type ConditionType =
| 'Completed'
| 'SpecWarning'
| 'MetricsError'
| 'SubmissionError'
| 'SpecError';
export type ConditionStatus = 'True' | 'False' | 'Unknown';
/**
* WorkflowList is list of Workflow resources
*/
export interface WorkflowList {
/**
* APIVersion defines the versioned schema of this representation of an object.
* Servers should convert recognized schemas to the latest internal value,
* and may reject unrecognized values.
*/
apiVersion?: string;
items: Workflow[];
/**
* Kind is a string value representing the REST resource this object represents.
* Servers may infer this from the endpoint the client submits requests to.
*/
kind?: string;
metadata: kubernetes.ListMeta;
}
/**
* WorkflowSpec is the specification of a Workflow.
*/
export interface WorkflowSpec {
/**
* Optional duration in seconds relative to the workflow start time which the workflow is
* allowed to run before the controller terminates the workflow. A value of zero is used to
* terminate a Running workflow
*/
activeDeadlineSeconds?: number;
/**
* TTLStrategy limits the lifetime of a Workflow that has finished execution depending on if it
* Succeeded or Failed. If this struct is set, once the Workflow finishes, it will be
* deleted after the time to live expires. If this field is unset,
* the controller config map will hold the default values.
*/
ttlStrategy?: {
secondsAfterCompletion?: number;
secondsAfterSuccess?: number;
secondsAfterFailure?: number;
};
/**
* PodGC describes the strategy to use when to deleting completed pods
*/
podGC?: {
strategy?: string;
};
/**
* SecurityContext holds pod-level security attributes and common container settings.
*/
securityContext?: kubernetes.SecurityContext;
/**
* Affinity sets the scheduling constraints for all pods in the workflow. Can be overridden by an affinity specified in the template
*/
affinity?: kubernetes.Affinity;
/**
* Arguments contain the parameters and artifacts sent to the workflow entrypoint.
* Parameters are referencable globally using the 'workflow' variable prefix. e.g. {{workflow.parameters.myparam}}
*/
arguments?: Arguments;
/**
* Entrypoint is a template reference to the starting point of the workflow
*/
entrypoint?: string;
/**
* ImagePullSecrets is a list of references to secrets in the same
* namespace to use for pulling any images in pods that reference this
* ServiceAccount.
* ImagePullSecrets are distinct from Secrets because Secrets can be
* mounted in the pod, but ImagePullSecrets are only accessed by the
* kubelet.
*/
imagePullSecrets?: kubernetes.LocalObjectReference[];
/**
* NodeSelector is a selector which will result in all pods of the workflow
* to be scheduled on the selected node(s).
* This is able to be overridden by a nodeSelector specified in the template.
*/
nodeSelector?: { [key: string]: string };
/**
* OnExit is a template reference which is invoked at the end of the
* workflow, irrespective of the success, failure, or error of the primary
* workflow.
*/
onExit?: string;
/**
* ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as.
*/
serviceAccountName?: string;
/**
* Templates is a list of workflow templates used in a workflow
*/
templates?: Template[];
/**
* VolumeClaimTemplates is a list of claims that containers are allowed to reference.
* The Workflow controller will create the claims at the beginning of the
* workflow and delete the claims upon completion of the workflow
*/
volumeClaimTemplates?: kubernetes.PersistentVolumeClaim[];
/**
* Volumes is a list of volumes that can be mounted by containers in a workflow.
*/
volumes?: kubernetes.Volume[];
/**
* Suspend will suspend the workflow and prevent execution of any future steps in the workflow
*/
suspend?: boolean;
/**
* workflowTemplateRef is the reference to the workflow template resource to execute.
*/
workflowTemplateRef?: WorkflowTemplateRef;
}
export interface WorkflowTemplateRef {
/**
* Name is the resource name of the template.
*/
name: string;
/**
* ClusterScope indicates the referred template is cluster scoped (i.e., a ClusterWorkflowTemplate).
*/
clusterScope?: boolean;
}
export interface DAGTemplate {
/**
* Target are one or more names of targets to execute in a DAG
*/
targets: string;
/**
* Tasks are a list of DAG tasks
*/
tasks: DAGTask[];
}
export interface Sequence {
start?: number;
end?: number;
count?: number;
}
export interface DAGTask {
name: string;
/**
* Name of template to execute
*/
template: string;
/**
* TemplateRef is the reference to the template resource to execute.
*/
templateRef: TemplateRef;
/**
* Arguments are the parameter and artifact arguments to the template
*/
arguments: Arguments;
/**
* Dependencies are name of other targets which this depends on
*/
dependencies: string[];
// TODO: This exists in https://github.com/argoproj/argo-workflows/blob/master/api/openapi-spec/swagger.json
// but not in https://github.com/argoproj/argo-workflows/blob/master/ui/src/models/workflows.ts
// Perhaps we should generate this definition file from the swagger?
/**
* When is an expression in which the task should conditionally execute
*/
when?: string;
}
/**
* WorkflowStep is a reference to a template to execute in a series of step
*/
export interface WorkflowStep {
/**
* Arguments hold arguments to the template
*/
arguments?: Arguments;
/**
* Name of the step
*/
name?: string;
/**
* Template is a reference to the template to execute as the step
*/
template?: string;
/**
* When is an expression in which the step should conditionally execute
*/
when?: string;
/**
* WithParam expands a step into from the value in the parameter
*/
withParam?: string;
/**
* TemplateRef is the reference to the template resource which is used as the base of this template.
*/
templateRef?: TemplateRef;
}
export type NodePhase =
| 'Pending'
| 'Running'
| 'Succeeded'
| 'Skipped'
| 'Failed'
| 'Error'
| 'Omitted';
export const NODE_PHASE = {
PENDING: 'Pending',
RUNNING: 'Running',
SUCCEEDED: 'Succeeded',
SKIPPED: 'Skipped',
FAILED: 'Failed',
ERROR: 'Error',
OMITTED: 'Omitted',
};
| 359 |
0 | kubeflow_public_repos/pipelines/frontend/src/third_party | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/kubernetes.ts | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
export type Time = string;
export type VolumeDevice = any;
export type Volume = any;
export type EnvFromSource = any;
export type EnvVarSource = any;
export type ResourceRequirements = any;
export type Probe = any;
export type Lifecycle = any;
export type TerminationMessagePolicy = any;
export type PullPolicy = any;
export type SecurityContext = any;
export type PersistentVolumeClaim = any;
export type Affinity = any;
export interface VolumeMount {
name: string;
mountPath?: string;
}
export interface ListMeta {
_continue?: string;
resourceVersion?: string;
selfLink?: string;
}
export interface ObjectMeta {
name?: string;
generateName?: string;
namespace?: string;
selfLink?: string;
uid?: string;
resourceVersion?: string;
generation?: number;
creationTimestamp?: Time;
deletionTimestamp?: Time;
deletionGracePeriodSeconds?: number;
labels?: { [name: string]: string };
annotations?: { [name: string]: string };
ownerReferences?: any[];
initializers?: any;
finalizers?: string[];
clusterName?: string;
}
export interface TypeMeta {
kind: string;
apiVersion: string;
}
export interface LocalObjectReference {
name: string;
}
export interface SecretKeySelector extends LocalObjectReference {
key: string;
optional: boolean;
}
export interface ContainerPort {
name: string;
hostPort: number;
containerPort: number;
protocol: string;
hostIP: string;
}
export interface EnvVar {
name: string;
value: string;
valueFrom: EnvVarSource;
}
export interface Container {
name: string;
image: string;
command: string[];
args: string[];
workingDir: string;
ports: ContainerPort[];
envFrom: EnvFromSource[];
env: EnvVar[];
resources: ResourceRequirements;
volumeMounts: VolumeMount[];
livenessProbe: Probe;
readinessProbe: Probe;
lifecycle: Lifecycle;
terminationMessagePath: string;
terminationMessagePolicy: TerminationMessagePolicy;
imagePullPolicy: PullPolicy;
securityContext: SecurityContext;
stdin: boolean;
stdinOnce: boolean;
tty: boolean;
}
export interface WatchEvent<T> {
object: T;
type: 'ADDED' | 'MODIFIED' | 'DELETED' | 'ERROR';
}
| 360 |
0 | kubeflow_public_repos/pipelines/frontend/src/third_party | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/index.ts | /*
* Copyright 2021 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export {
Artifact,
ArtifactType,
Context,
ContextType,
Event,
Execution,
ExecutionType,
Value,
} from './generated/ml_metadata/proto/metadata_store_pb';
export { MetadataStoreServicePromiseClient } from './generated/ml_metadata/proto/metadata_store_service_grpc_web_pb';
export {
GetArtifactsByIDRequest,
GetArtifactsByIDResponse,
GetArtifactsRequest,
GetArtifactsResponse,
GetArtifactTypesByIDRequest,
GetArtifactTypesRequest,
GetArtifactTypesResponse,
GetContextByTypeAndNameRequest,
GetContextByTypeAndNameResponse,
GetContextsByTypeRequest,
GetContextsByTypeResponse,
GetContextsRequest,
GetContextsResponse,
GetContextTypeRequest,
GetContextTypeResponse,
GetEventsByArtifactIDsRequest,
GetEventsByArtifactIDsResponse,
GetEventsByExecutionIDsRequest,
GetEventsByExecutionIDsResponse,
GetExecutionsByContextRequest,
GetExecutionsByContextResponse,
GetExecutionsByIDRequest,
GetExecutionsByIDResponse,
GetExecutionsRequest,
GetExecutionsResponse,
GetExecutionTypesByIDRequest,
GetExecutionTypesRequest,
GetExecutionTypesResponse,
} from './generated/ml_metadata/proto/metadata_store_service_pb';
| 361 |
0 | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.js | /**
* @fileoverview gRPC-Web generated client stub for ml_metadata
* @enhanceable
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
const grpc = {};
grpc.web = require('grpc-web');
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
var ml_metadata_proto_metadata_store_pb = require('../../ml_metadata/proto/metadata_store_pb.js')
const proto = {};
proto.ml_metadata = require('./metadata_store_service_pb.js');
/**
* @param {string} hostname
* @param {?Object} credentials
* @param {?grpc.web.ClientOptions} options
* @constructor
* @struct
* @final
*/
proto.ml_metadata.MetadataStoreServiceClient =
function(hostname, credentials, options) {
if (!options) options = {};
options.format = 'binary';
/**
* @private @const {!grpc.web.GrpcWebClientBase} The client
*/
this.client_ = new grpc.web.GrpcWebClientBase(options);
/**
* @private @const {string} The hostname
*/
this.hostname_ = hostname;
};
/**
* @param {string} hostname
* @param {?Object} credentials
* @param {?grpc.web.ClientOptions} options
* @constructor
* @struct
* @final
*/
proto.ml_metadata.MetadataStoreServicePromiseClient =
function(hostname, credentials, options) {
if (!options) options = {};
options.format = 'binary';
/**
* @private @const {!grpc.web.GrpcWebClientBase} The client
*/
this.client_ = new grpc.web.GrpcWebClientBase(options);
/**
* @private @const {string} The hostname
*/
this.hostname_ = hostname;
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutArtifactTypeRequest,
* !proto.ml_metadata.PutArtifactTypeResponse>}
*/
const methodDescriptor_MetadataStoreService_PutArtifactType = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutArtifactType',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutArtifactTypeRequest,
proto.ml_metadata.PutArtifactTypeResponse,
/**
* @param {!proto.ml_metadata.PutArtifactTypeRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutArtifactTypeResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutArtifactTypeRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutArtifactTypeResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutArtifactTypeResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putArtifactType =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutArtifactType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutArtifactType,
callback);
};
/**
* @param {!proto.ml_metadata.PutArtifactTypeRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutArtifactTypeResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putArtifactType =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutArtifactType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutArtifactType);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutExecutionTypeRequest,
* !proto.ml_metadata.PutExecutionTypeResponse>}
*/
const methodDescriptor_MetadataStoreService_PutExecutionType = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutExecutionType',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutExecutionTypeRequest,
proto.ml_metadata.PutExecutionTypeResponse,
/**
* @param {!proto.ml_metadata.PutExecutionTypeRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutExecutionTypeResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutExecutionTypeRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutExecutionTypeResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutExecutionTypeResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putExecutionType =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutExecutionType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutExecutionType,
callback);
};
/**
* @param {!proto.ml_metadata.PutExecutionTypeRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutExecutionTypeResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putExecutionType =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutExecutionType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutExecutionType);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutContextTypeRequest,
* !proto.ml_metadata.PutContextTypeResponse>}
*/
const methodDescriptor_MetadataStoreService_PutContextType = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutContextType',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutContextTypeRequest,
proto.ml_metadata.PutContextTypeResponse,
/**
* @param {!proto.ml_metadata.PutContextTypeRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutContextTypeResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutContextTypeRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutContextTypeResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutContextTypeResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putContextType =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutContextType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutContextType,
callback);
};
/**
* @param {!proto.ml_metadata.PutContextTypeRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutContextTypeResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putContextType =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutContextType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutContextType);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutTypesRequest,
* !proto.ml_metadata.PutTypesResponse>}
*/
const methodDescriptor_MetadataStoreService_PutTypes = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutTypes',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutTypesRequest,
proto.ml_metadata.PutTypesResponse,
/**
* @param {!proto.ml_metadata.PutTypesRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutTypesResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutTypesRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutTypesResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutTypesResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putTypes =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutTypes',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutTypes,
callback);
};
/**
* @param {!proto.ml_metadata.PutTypesRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutTypesResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putTypes =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutTypes',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutTypes);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutArtifactsRequest,
* !proto.ml_metadata.PutArtifactsResponse>}
*/
const methodDescriptor_MetadataStoreService_PutArtifacts = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutArtifacts',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutArtifactsRequest,
proto.ml_metadata.PutArtifactsResponse,
/**
* @param {!proto.ml_metadata.PutArtifactsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutArtifactsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutArtifactsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutArtifactsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutArtifactsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putArtifacts =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutArtifacts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutArtifacts,
callback);
};
/**
* @param {!proto.ml_metadata.PutArtifactsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutArtifactsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putArtifacts =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutArtifacts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutArtifacts);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutExecutionsRequest,
* !proto.ml_metadata.PutExecutionsResponse>}
*/
const methodDescriptor_MetadataStoreService_PutExecutions = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutExecutions',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutExecutionsRequest,
proto.ml_metadata.PutExecutionsResponse,
/**
* @param {!proto.ml_metadata.PutExecutionsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutExecutionsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutExecutionsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutExecutionsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutExecutionsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putExecutions =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutExecutions',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutExecutions,
callback);
};
/**
* @param {!proto.ml_metadata.PutExecutionsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutExecutionsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putExecutions =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutExecutions',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutExecutions);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutEventsRequest,
* !proto.ml_metadata.PutEventsResponse>}
*/
const methodDescriptor_MetadataStoreService_PutEvents = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutEvents',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutEventsRequest,
proto.ml_metadata.PutEventsResponse,
/**
* @param {!proto.ml_metadata.PutEventsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutEventsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutEventsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutEventsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutEventsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putEvents =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutEvents',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutEvents,
callback);
};
/**
* @param {!proto.ml_metadata.PutEventsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutEventsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putEvents =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutEvents',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutEvents);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutExecutionRequest,
* !proto.ml_metadata.PutExecutionResponse>}
*/
const methodDescriptor_MetadataStoreService_PutExecution = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutExecution',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutExecutionRequest,
proto.ml_metadata.PutExecutionResponse,
/**
* @param {!proto.ml_metadata.PutExecutionRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutExecutionResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutExecutionRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutExecutionResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutExecutionResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putExecution =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutExecution',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutExecution,
callback);
};
/**
* @param {!proto.ml_metadata.PutExecutionRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutExecutionResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putExecution =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutExecution',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutExecution);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutLineageSubgraphRequest,
* !proto.ml_metadata.PutLineageSubgraphResponse>}
*/
const methodDescriptor_MetadataStoreService_PutLineageSubgraph = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutLineageSubgraph',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutLineageSubgraphRequest,
proto.ml_metadata.PutLineageSubgraphResponse,
/**
* @param {!proto.ml_metadata.PutLineageSubgraphRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutLineageSubgraphResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutLineageSubgraphRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutLineageSubgraphResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutLineageSubgraphResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putLineageSubgraph =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutLineageSubgraph',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutLineageSubgraph,
callback);
};
/**
* @param {!proto.ml_metadata.PutLineageSubgraphRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutLineageSubgraphResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putLineageSubgraph =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutLineageSubgraph',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutLineageSubgraph);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutContextsRequest,
* !proto.ml_metadata.PutContextsResponse>}
*/
const methodDescriptor_MetadataStoreService_PutContexts = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutContexts',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutContextsRequest,
proto.ml_metadata.PutContextsResponse,
/**
* @param {!proto.ml_metadata.PutContextsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutContextsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutContextsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutContextsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutContextsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putContexts =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutContexts,
callback);
};
/**
* @param {!proto.ml_metadata.PutContextsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutContextsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putContexts =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutContexts);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutAttributionsAndAssociationsRequest,
* !proto.ml_metadata.PutAttributionsAndAssociationsResponse>}
*/
const methodDescriptor_MetadataStoreService_PutAttributionsAndAssociations = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutAttributionsAndAssociations',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutAttributionsAndAssociationsRequest,
proto.ml_metadata.PutAttributionsAndAssociationsResponse,
/**
* @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutAttributionsAndAssociationsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutAttributionsAndAssociationsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putAttributionsAndAssociations =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutAttributionsAndAssociations',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutAttributionsAndAssociations,
callback);
};
/**
* @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutAttributionsAndAssociationsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putAttributionsAndAssociations =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutAttributionsAndAssociations',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutAttributionsAndAssociations);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.PutParentContextsRequest,
* !proto.ml_metadata.PutParentContextsResponse>}
*/
const methodDescriptor_MetadataStoreService_PutParentContexts = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/PutParentContexts',
grpc.web.MethodType.UNARY,
proto.ml_metadata.PutParentContextsRequest,
proto.ml_metadata.PutParentContextsResponse,
/**
* @param {!proto.ml_metadata.PutParentContextsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.PutParentContextsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.PutParentContextsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutParentContextsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.PutParentContextsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.putParentContexts =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutParentContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutParentContexts,
callback);
};
/**
* @param {!proto.ml_metadata.PutParentContextsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.PutParentContextsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putParentContexts =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/PutParentContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_PutParentContexts);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactTypeRequest,
* !proto.ml_metadata.GetArtifactTypeResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactType = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactType',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactTypeRequest,
proto.ml_metadata.GetArtifactTypeResponse,
/**
* @param {!proto.ml_metadata.GetArtifactTypeRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactTypeResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactTypeRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactTypeResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactTypeResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactType =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactType,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactTypeRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactTypeResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactType =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactType);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactTypesByIDRequest,
* !proto.ml_metadata.GetArtifactTypesByIDResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactTypesByID = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactTypesByID',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactTypesByIDRequest,
proto.ml_metadata.GetArtifactTypesByIDResponse,
/**
* @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactTypesByIDResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactTypesByIDResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactTypesByID =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactTypesByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactTypesByID,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactTypesByIDResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactTypesByID =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactTypesByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactTypesByID);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactTypesRequest,
* !proto.ml_metadata.GetArtifactTypesResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactTypes = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactTypes',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactTypesRequest,
proto.ml_metadata.GetArtifactTypesResponse,
/**
* @param {!proto.ml_metadata.GetArtifactTypesRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactTypesResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactTypesRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactTypesResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactTypesResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactTypes =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactTypes',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactTypes,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactTypesRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactTypesResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactTypes =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactTypes',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactTypes);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionTypeRequest,
* !proto.ml_metadata.GetExecutionTypeResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutionType = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutionType',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionTypeRequest,
proto.ml_metadata.GetExecutionTypeResponse,
/**
* @param {!proto.ml_metadata.GetExecutionTypeRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionTypeResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionTypeRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionTypeResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionTypeResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionType =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionType,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionTypeRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionTypeResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionType =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionType);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionTypesByIDRequest,
* !proto.ml_metadata.GetExecutionTypesByIDResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutionTypesByID = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutionTypesByID',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionTypesByIDRequest,
proto.ml_metadata.GetExecutionTypesByIDResponse,
/**
* @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionTypesByIDResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionTypesByIDResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionTypesByID =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionTypesByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionTypesByID,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionTypesByIDResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionTypesByID =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionTypesByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionTypesByID);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionTypesRequest,
* !proto.ml_metadata.GetExecutionTypesResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutionTypes = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutionTypes',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionTypesRequest,
proto.ml_metadata.GetExecutionTypesResponse,
/**
* @param {!proto.ml_metadata.GetExecutionTypesRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionTypesResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionTypesRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionTypesResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionTypesResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionTypes =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionTypes',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionTypes,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionTypesRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionTypesResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionTypes =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionTypes',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionTypes);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextTypeRequest,
* !proto.ml_metadata.GetContextTypeResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextType = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextType',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextTypeRequest,
proto.ml_metadata.GetContextTypeResponse,
/**
* @param {!proto.ml_metadata.GetContextTypeRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextTypeResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextTypeRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextTypeResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextTypeResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextType =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextType,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextTypeRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextTypeResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextType =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextType);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextTypesByIDRequest,
* !proto.ml_metadata.GetContextTypesByIDResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextTypesByID = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextTypesByID',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextTypesByIDRequest,
proto.ml_metadata.GetContextTypesByIDResponse,
/**
* @param {!proto.ml_metadata.GetContextTypesByIDRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextTypesByIDRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextTypesByIDResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextTypesByIDResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextTypesByID =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextTypesByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextTypesByID,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextTypesByIDRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextTypesByIDResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextTypesByID =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextTypesByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextTypesByID);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextTypesRequest,
* !proto.ml_metadata.GetContextTypesResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextTypes = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextTypes',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextTypesRequest,
proto.ml_metadata.GetContextTypesResponse,
/**
* @param {!proto.ml_metadata.GetContextTypesRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextTypesResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextTypesRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextTypesResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextTypesResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextTypes =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextTypes',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextTypes,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextTypesRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextTypesResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextTypes =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextTypes',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextTypes);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactsRequest,
* !proto.ml_metadata.GetArtifactsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifacts = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifacts',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactsRequest,
proto.ml_metadata.GetArtifactsResponse,
/**
* @param {!proto.ml_metadata.GetArtifactsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifacts =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifacts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifacts,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifacts =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifacts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifacts);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionsRequest,
* !proto.ml_metadata.GetExecutionsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutions = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutions',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionsRequest,
proto.ml_metadata.GetExecutionsResponse,
/**
* @param {!proto.ml_metadata.GetExecutionsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutions =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutions',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutions,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutions =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutions',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutions);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextsRequest,
* !proto.ml_metadata.GetContextsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContexts = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContexts',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextsRequest,
proto.ml_metadata.GetContextsResponse,
/**
* @param {!proto.ml_metadata.GetContextsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContexts =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContexts,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContexts =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContexts);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactsByIDRequest,
* !proto.ml_metadata.GetArtifactsByIDResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactsByID = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactsByID',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactsByIDRequest,
proto.ml_metadata.GetArtifactsByIDResponse,
/**
* @param {!proto.ml_metadata.GetArtifactsByIDRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactsByIDRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactsByIDResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactsByIDResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactsByID =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByID,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactsByIDRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactsByIDResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactsByID =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByID);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionsByIDRequest,
* !proto.ml_metadata.GetExecutionsByIDResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutionsByID = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutionsByID',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionsByIDRequest,
proto.ml_metadata.GetExecutionsByIDResponse,
/**
* @param {!proto.ml_metadata.GetExecutionsByIDRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionsByIDRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionsByIDResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionsByIDResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionsByID =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionsByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionsByID,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionsByIDRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionsByIDResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionsByID =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionsByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionsByID);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextsByIDRequest,
* !proto.ml_metadata.GetContextsByIDResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextsByID = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextsByID',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextsByIDRequest,
proto.ml_metadata.GetContextsByIDResponse,
/**
* @param {!proto.ml_metadata.GetContextsByIDRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextsByIDResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextsByIDRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextsByIDResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextsByIDResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextsByID =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByID,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextsByIDRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextsByIDResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextsByID =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByID',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByID);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactsByTypeRequest,
* !proto.ml_metadata.GetArtifactsByTypeResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactsByType = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactsByType',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactsByTypeRequest,
proto.ml_metadata.GetArtifactsByTypeResponse,
/**
* @param {!proto.ml_metadata.GetArtifactsByTypeRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactsByTypeRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactsByTypeResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactsByTypeResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactsByType =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByType,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactsByTypeRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactsByTypeResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactsByType =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByType);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionsByTypeRequest,
* !proto.ml_metadata.GetExecutionsByTypeResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutionsByType = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutionsByType',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionsByTypeRequest,
proto.ml_metadata.GetExecutionsByTypeResponse,
/**
* @param {!proto.ml_metadata.GetExecutionsByTypeRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionsByTypeRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionsByTypeResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionsByTypeResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionsByType =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionsByType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionsByType,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionsByTypeRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionsByTypeResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionsByType =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionsByType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionsByType);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextsByTypeRequest,
* !proto.ml_metadata.GetContextsByTypeResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextsByType = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextsByType',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextsByTypeRequest,
proto.ml_metadata.GetContextsByTypeResponse,
/**
* @param {!proto.ml_metadata.GetContextsByTypeRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextsByTypeResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextsByTypeRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextsByTypeResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextsByTypeResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextsByType =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByType,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextsByTypeRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextsByTypeResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextsByType =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByType',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByType);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactByTypeAndNameRequest,
* !proto.ml_metadata.GetArtifactByTypeAndNameResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactByTypeAndName = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactByTypeAndName',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactByTypeAndNameRequest,
proto.ml_metadata.GetArtifactByTypeAndNameResponse,
/**
* @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactByTypeAndNameResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactByTypeAndNameResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactByTypeAndName =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactByTypeAndName',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactByTypeAndName,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactByTypeAndNameResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactByTypeAndName =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactByTypeAndName',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactByTypeAndName);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionByTypeAndNameRequest,
* !proto.ml_metadata.GetExecutionByTypeAndNameResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutionByTypeAndName = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutionByTypeAndName',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionByTypeAndNameRequest,
proto.ml_metadata.GetExecutionByTypeAndNameResponse,
/**
* @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionByTypeAndNameResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionByTypeAndNameResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionByTypeAndName =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionByTypeAndName',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionByTypeAndName,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionByTypeAndNameResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionByTypeAndName =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionByTypeAndName',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionByTypeAndName);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextByTypeAndNameRequest,
* !proto.ml_metadata.GetContextByTypeAndNameResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextByTypeAndName = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextByTypeAndName',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextByTypeAndNameRequest,
proto.ml_metadata.GetContextByTypeAndNameResponse,
/**
* @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextByTypeAndNameResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextByTypeAndNameResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextByTypeAndName =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextByTypeAndName',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextByTypeAndName,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextByTypeAndNameResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextByTypeAndName =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextByTypeAndName',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextByTypeAndName);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactsByURIRequest,
* !proto.ml_metadata.GetArtifactsByURIResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactsByURI = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactsByURI',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactsByURIRequest,
proto.ml_metadata.GetArtifactsByURIResponse,
/**
* @param {!proto.ml_metadata.GetArtifactsByURIRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactsByURIRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactsByURIResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactsByURIResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactsByURI =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByURI',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByURI,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactsByURIRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactsByURIResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactsByURI =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByURI',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByURI);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetEventsByExecutionIDsRequest,
* !proto.ml_metadata.GetEventsByExecutionIDsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetEventsByExecutionIDs = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetEventsByExecutionIDs',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetEventsByExecutionIDsRequest,
proto.ml_metadata.GetEventsByExecutionIDsResponse,
/**
* @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetEventsByExecutionIDsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetEventsByExecutionIDsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getEventsByExecutionIDs =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetEventsByExecutionIDs',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetEventsByExecutionIDs,
callback);
};
/**
* @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetEventsByExecutionIDsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getEventsByExecutionIDs =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetEventsByExecutionIDs',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetEventsByExecutionIDs);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetEventsByArtifactIDsRequest,
* !proto.ml_metadata.GetEventsByArtifactIDsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetEventsByArtifactIDs = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetEventsByArtifactIDs',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetEventsByArtifactIDsRequest,
proto.ml_metadata.GetEventsByArtifactIDsResponse,
/**
* @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetEventsByArtifactIDsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetEventsByArtifactIDsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getEventsByArtifactIDs =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetEventsByArtifactIDs',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetEventsByArtifactIDs,
callback);
};
/**
* @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetEventsByArtifactIDsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getEventsByArtifactIDs =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetEventsByArtifactIDs',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetEventsByArtifactIDs);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactsByExternalIdsRequest,
* !proto.ml_metadata.GetArtifactsByExternalIdsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactsByExternalIds = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactsByExternalIds',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactsByExternalIdsRequest,
proto.ml_metadata.GetArtifactsByExternalIdsResponse,
/**
* @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactsByExternalIdsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactsByExternalIdsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactsByExternalIdsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactsByExternalIds =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByExternalIds,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactsByExternalIdsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactsByExternalIds =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByExternalIds);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionsByExternalIdsRequest,
* !proto.ml_metadata.GetExecutionsByExternalIdsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutionsByExternalIds = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutionsByExternalIds',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionsByExternalIdsRequest,
proto.ml_metadata.GetExecutionsByExternalIdsResponse,
/**
* @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionsByExternalIdsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionsByExternalIdsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionsByExternalIdsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionsByExternalIds =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionsByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionsByExternalIds,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionsByExternalIdsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionsByExternalIds =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionsByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionsByExternalIds);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextsByExternalIdsRequest,
* !proto.ml_metadata.GetContextsByExternalIdsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextsByExternalIds = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextsByExternalIds',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextsByExternalIdsRequest,
proto.ml_metadata.GetContextsByExternalIdsResponse,
/**
* @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextsByExternalIdsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextsByExternalIdsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextsByExternalIdsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextsByExternalIds =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByExternalIds,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextsByExternalIdsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextsByExternalIds =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByExternalIds);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactTypesByExternalIdsRequest,
* !proto.ml_metadata.GetArtifactTypesByExternalIdsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactTypesByExternalIds = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactTypesByExternalIds',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest,
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse,
/**
* @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactTypesByExternalIdsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactTypesByExternalIds =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactTypesByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactTypesByExternalIds,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactTypesByExternalIds =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactTypesByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactTypesByExternalIds);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionTypesByExternalIdsRequest,
* !proto.ml_metadata.GetExecutionTypesByExternalIdsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutionTypesByExternalIds = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutionTypesByExternalIds',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest,
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse,
/**
* @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionTypesByExternalIdsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionTypesByExternalIds =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionTypesByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionTypesByExternalIds,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionTypesByExternalIds =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionTypesByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionTypesByExternalIds);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextTypesByExternalIdsRequest,
* !proto.ml_metadata.GetContextTypesByExternalIdsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextTypesByExternalIds = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextTypesByExternalIds',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextTypesByExternalIdsRequest,
proto.ml_metadata.GetContextTypesByExternalIdsResponse,
/**
* @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextTypesByExternalIdsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextTypesByExternalIdsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextTypesByExternalIdsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextTypesByExternalIds =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextTypesByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextTypesByExternalIds,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextTypesByExternalIdsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextTypesByExternalIds =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextTypesByExternalIds',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextTypesByExternalIds);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextsByArtifactRequest,
* !proto.ml_metadata.GetContextsByArtifactResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextsByArtifact = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextsByArtifact',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextsByArtifactRequest,
proto.ml_metadata.GetContextsByArtifactResponse,
/**
* @param {!proto.ml_metadata.GetContextsByArtifactRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextsByArtifactRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextsByArtifactResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextsByArtifactResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextsByArtifact =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByArtifact',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByArtifact,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextsByArtifactRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextsByArtifactResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextsByArtifact =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByArtifact',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByArtifact);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetContextsByExecutionRequest,
* !proto.ml_metadata.GetContextsByExecutionResponse>}
*/
const methodDescriptor_MetadataStoreService_GetContextsByExecution = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetContextsByExecution',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetContextsByExecutionRequest,
proto.ml_metadata.GetContextsByExecutionResponse,
/**
* @param {!proto.ml_metadata.GetContextsByExecutionRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetContextsByExecutionRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextsByExecutionResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetContextsByExecutionResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextsByExecution =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByExecution',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByExecution,
callback);
};
/**
* @param {!proto.ml_metadata.GetContextsByExecutionRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetContextsByExecutionResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextsByExecution =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetContextsByExecution',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetContextsByExecution);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetParentContextsByContextRequest,
* !proto.ml_metadata.GetParentContextsByContextResponse>}
*/
const methodDescriptor_MetadataStoreService_GetParentContextsByContext = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetParentContextsByContext',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetParentContextsByContextRequest,
proto.ml_metadata.GetParentContextsByContextResponse,
/**
* @param {!proto.ml_metadata.GetParentContextsByContextRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetParentContextsByContextRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetParentContextsByContextResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetParentContextsByContextResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getParentContextsByContext =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetParentContextsByContext',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetParentContextsByContext,
callback);
};
/**
* @param {!proto.ml_metadata.GetParentContextsByContextRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetParentContextsByContextResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getParentContextsByContext =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetParentContextsByContext',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetParentContextsByContext);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetChildrenContextsByContextRequest,
* !proto.ml_metadata.GetChildrenContextsByContextResponse>}
*/
const methodDescriptor_MetadataStoreService_GetChildrenContextsByContext = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetChildrenContextsByContext',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetChildrenContextsByContextRequest,
proto.ml_metadata.GetChildrenContextsByContextResponse,
/**
* @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetChildrenContextsByContextResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetChildrenContextsByContextResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getChildrenContextsByContext =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetChildrenContextsByContext',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetChildrenContextsByContext,
callback);
};
/**
* @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetChildrenContextsByContextResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getChildrenContextsByContext =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetChildrenContextsByContext',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetChildrenContextsByContext);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetParentContextsByContextsRequest,
* !proto.ml_metadata.GetParentContextsByContextsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetParentContextsByContexts = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetParentContextsByContexts',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetParentContextsByContextsRequest,
proto.ml_metadata.GetParentContextsByContextsResponse,
/**
* @param {!proto.ml_metadata.GetParentContextsByContextsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetParentContextsByContextsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetParentContextsByContextsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetParentContextsByContextsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetParentContextsByContextsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getParentContextsByContexts =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetParentContextsByContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetParentContextsByContexts,
callback);
};
/**
* @param {!proto.ml_metadata.GetParentContextsByContextsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetParentContextsByContextsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getParentContextsByContexts =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetParentContextsByContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetParentContextsByContexts);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetChildrenContextsByContextsRequest,
* !proto.ml_metadata.GetChildrenContextsByContextsResponse>}
*/
const methodDescriptor_MetadataStoreService_GetChildrenContextsByContexts = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetChildrenContextsByContexts',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetChildrenContextsByContextsRequest,
proto.ml_metadata.GetChildrenContextsByContextsResponse,
/**
* @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetChildrenContextsByContextsResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetChildrenContextsByContextsResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetChildrenContextsByContextsResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getChildrenContextsByContexts =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetChildrenContextsByContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetChildrenContextsByContexts,
callback);
};
/**
* @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetChildrenContextsByContextsResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getChildrenContextsByContexts =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetChildrenContextsByContexts',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetChildrenContextsByContexts);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetArtifactsByContextRequest,
* !proto.ml_metadata.GetArtifactsByContextResponse>}
*/
const methodDescriptor_MetadataStoreService_GetArtifactsByContext = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetArtifactsByContext',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetArtifactsByContextRequest,
proto.ml_metadata.GetArtifactsByContextResponse,
/**
* @param {!proto.ml_metadata.GetArtifactsByContextRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetArtifactsByContextRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactsByContextResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetArtifactsByContextResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactsByContext =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByContext',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByContext,
callback);
};
/**
* @param {!proto.ml_metadata.GetArtifactsByContextRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetArtifactsByContextResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactsByContext =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetArtifactsByContext',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetArtifactsByContext);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetExecutionsByContextRequest,
* !proto.ml_metadata.GetExecutionsByContextResponse>}
*/
const methodDescriptor_MetadataStoreService_GetExecutionsByContext = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetExecutionsByContext',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetExecutionsByContextRequest,
proto.ml_metadata.GetExecutionsByContextResponse,
/**
* @param {!proto.ml_metadata.GetExecutionsByContextRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetExecutionsByContextRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionsByContextResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetExecutionsByContextResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionsByContext =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionsByContext',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionsByContext,
callback);
};
/**
* @param {!proto.ml_metadata.GetExecutionsByContextRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetExecutionsByContextResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionsByContext =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetExecutionsByContext',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetExecutionsByContext);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetLineageGraphRequest,
* !proto.ml_metadata.GetLineageGraphResponse>}
*/
const methodDescriptor_MetadataStoreService_GetLineageGraph = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetLineageGraph',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetLineageGraphRequest,
proto.ml_metadata.GetLineageGraphResponse,
/**
* @param {!proto.ml_metadata.GetLineageGraphRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetLineageGraphResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetLineageGraphRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetLineageGraphResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetLineageGraphResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getLineageGraph =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetLineageGraph',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetLineageGraph,
callback);
};
/**
* @param {!proto.ml_metadata.GetLineageGraphRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetLineageGraphResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getLineageGraph =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetLineageGraph',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetLineageGraph);
};
/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.ml_metadata.GetLineageSubgraphRequest,
* !proto.ml_metadata.GetLineageSubgraphResponse>}
*/
const methodDescriptor_MetadataStoreService_GetLineageSubgraph = new grpc.web.MethodDescriptor(
'/ml_metadata.MetadataStoreService/GetLineageSubgraph',
grpc.web.MethodType.UNARY,
proto.ml_metadata.GetLineageSubgraphRequest,
proto.ml_metadata.GetLineageSubgraphResponse,
/**
* @param {!proto.ml_metadata.GetLineageSubgraphRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.ml_metadata.GetLineageSubgraphResponse.deserializeBinary
);
/**
* @param {!proto.ml_metadata.GetLineageSubgraphRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetLineageSubgraphResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.ml_metadata.GetLineageSubgraphResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.ml_metadata.MetadataStoreServiceClient.prototype.getLineageSubgraph =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetLineageSubgraph',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetLineageSubgraph,
callback);
};
/**
* @param {!proto.ml_metadata.GetLineageSubgraphRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.ml_metadata.GetLineageSubgraphResponse>}
* Promise that resolves to the response
*/
proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getLineageSubgraph =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/ml_metadata.MetadataStoreService/GetLineageSubgraph',
request,
metadata || {},
methodDescriptor_MetadataStoreService_GetLineageSubgraph);
};
module.exports = proto.ml_metadata;
| 362 |
0 | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.js | // source: ml_metadata/proto/metadata_store_service.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return this')();
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
goog.object.extend(proto, google_protobuf_field_mask_pb);
var ml_metadata_proto_metadata_store_pb = require('../../ml_metadata/proto/metadata_store_pb.js');
goog.object.extend(proto, ml_metadata_proto_metadata_store_pb);
goog.exportSymbol('proto.ml_metadata.ArtifactAndType', null, global);
goog.exportSymbol('proto.ml_metadata.ArtifactStruct', null, global);
goog.exportSymbol('proto.ml_metadata.ArtifactStruct.ValueCase', null, global);
goog.exportSymbol('proto.ml_metadata.ArtifactStructList', null, global);
goog.exportSymbol('proto.ml_metadata.ArtifactStructMap', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactByTypeAndNameRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactByTypeAndNameResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactTypeRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactTypeResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactTypesByExternalIdsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactTypesByExternalIdsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactTypesByIDRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactTypesByIDResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactTypesRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactTypesResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByContextRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByContextResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByExternalIdsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByExternalIdsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByIDRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByIDResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByTypeRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByTypeResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByURIRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsByURIResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetArtifactsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextByTypeAndNameRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextByTypeAndNameResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextTypeRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextTypeResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextTypesByExternalIdsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextTypesByExternalIdsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextTypesByIDRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextTypesByIDResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextTypesRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextTypesResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByArtifactRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByArtifactResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByExecutionRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByExecutionResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByExternalIdsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByExternalIdsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByIDRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByIDResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByTypeRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsByTypeResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetContextsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetEventsByArtifactIDsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetEventsByArtifactIDsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetEventsByExecutionIDsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetEventsByExecutionIDsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionByTypeAndNameRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionByTypeAndNameResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionTypeRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionTypeResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionTypesByExternalIdsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionTypesByExternalIdsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionTypesByIDRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionTypesByIDResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionTypesRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionTypesResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsByContextRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsByContextResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsByExternalIdsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsByExternalIdsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsByIDRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsByIDResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsByTypeRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsByTypeResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetExecutionsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetLineageGraphRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetLineageGraphResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetLineageSubgraphRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetLineageSubgraphResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild', null, global);
goog.exportSymbol('proto.ml_metadata.PutArtifactTypeRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutArtifactTypeResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutArtifactsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutArtifactsRequest.Options', null, global);
goog.exportSymbol('proto.ml_metadata.PutArtifactsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutAttributionsAndAssociationsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutAttributionsAndAssociationsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutContextTypeRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutContextTypeResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutContextsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutContextsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutEventsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutEventsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutExecutionRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent', null, global);
goog.exportSymbol('proto.ml_metadata.PutExecutionRequest.Options', null, global);
goog.exportSymbol('proto.ml_metadata.PutExecutionResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutExecutionTypeRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutExecutionTypeResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutExecutionsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutExecutionsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutLineageSubgraphRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutLineageSubgraphRequest.EventEdge', null, global);
goog.exportSymbol('proto.ml_metadata.PutLineageSubgraphRequest.Options', null, global);
goog.exportSymbol('proto.ml_metadata.PutLineageSubgraphResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutParentContextsRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutParentContextsResponse', null, global);
goog.exportSymbol('proto.ml_metadata.PutTypesRequest', null, global);
goog.exportSymbol('proto.ml_metadata.PutTypesResponse', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ArtifactAndType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.ArtifactAndType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ArtifactAndType.displayName = 'proto.ml_metadata.ArtifactAndType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ArtifactStructMap = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.ArtifactStructMap, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ArtifactStructMap.displayName = 'proto.ml_metadata.ArtifactStructMap';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ArtifactStructList = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.ArtifactStructList.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.ArtifactStructList, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ArtifactStructList.displayName = 'proto.ml_metadata.ArtifactStructList';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ArtifactStruct = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_metadata.ArtifactStruct.oneofGroups_);
};
goog.inherits(proto.ml_metadata.ArtifactStruct, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ArtifactStruct.displayName = 'proto.ml_metadata.ArtifactStruct';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutArtifactsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutArtifactsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutArtifactsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutArtifactsRequest.displayName = 'proto.ml_metadata.PutArtifactsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutArtifactsRequest.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutArtifactsRequest.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutArtifactsRequest.Options.displayName = 'proto.ml_metadata.PutArtifactsRequest.Options';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutArtifactsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutArtifactsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutArtifactsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutArtifactsResponse.displayName = 'proto.ml_metadata.PutArtifactsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutArtifactTypeRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutArtifactTypeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutArtifactTypeRequest.displayName = 'proto.ml_metadata.PutArtifactTypeRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutArtifactTypeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutArtifactTypeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutArtifactTypeResponse.displayName = 'proto.ml_metadata.PutArtifactTypeResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutExecutionsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutExecutionsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutExecutionsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutExecutionsRequest.displayName = 'proto.ml_metadata.PutExecutionsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutExecutionsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutExecutionsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutExecutionsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutExecutionsResponse.displayName = 'proto.ml_metadata.PutExecutionsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutExecutionTypeRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutExecutionTypeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutExecutionTypeRequest.displayName = 'proto.ml_metadata.PutExecutionTypeRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutExecutionTypeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutExecutionTypeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutExecutionTypeResponse.displayName = 'proto.ml_metadata.PutExecutionTypeResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutEventsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutEventsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutEventsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutEventsRequest.displayName = 'proto.ml_metadata.PutEventsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutEventsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutEventsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutEventsResponse.displayName = 'proto.ml_metadata.PutEventsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutExecutionRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutExecutionRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutExecutionRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutExecutionRequest.displayName = 'proto.ml_metadata.PutExecutionRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.displayName = 'proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutExecutionRequest.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutExecutionRequest.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutExecutionRequest.Options.displayName = 'proto.ml_metadata.PutExecutionRequest.Options';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutExecutionResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutExecutionResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutExecutionResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutExecutionResponse.displayName = 'proto.ml_metadata.PutExecutionResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutLineageSubgraphRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutLineageSubgraphRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutLineageSubgraphRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutLineageSubgraphRequest.displayName = 'proto.ml_metadata.PutLineageSubgraphRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutLineageSubgraphRequest.EventEdge, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.displayName = 'proto.ml_metadata.PutLineageSubgraphRequest.EventEdge';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutLineageSubgraphRequest.Options, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.displayName = 'proto.ml_metadata.PutLineageSubgraphRequest.Options';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutLineageSubgraphResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutLineageSubgraphResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutLineageSubgraphResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutLineageSubgraphResponse.displayName = 'proto.ml_metadata.PutLineageSubgraphResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutTypesRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutTypesRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutTypesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutTypesRequest.displayName = 'proto.ml_metadata.PutTypesRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutTypesResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutTypesResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutTypesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutTypesResponse.displayName = 'proto.ml_metadata.PutTypesResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutContextTypeRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutContextTypeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutContextTypeRequest.displayName = 'proto.ml_metadata.PutContextTypeRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutContextTypeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutContextTypeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutContextTypeResponse.displayName = 'proto.ml_metadata.PutContextTypeResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutContextsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutContextsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutContextsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutContextsRequest.displayName = 'proto.ml_metadata.PutContextsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutContextsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutContextsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutContextsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutContextsResponse.displayName = 'proto.ml_metadata.PutContextsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutAttributionsAndAssociationsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutAttributionsAndAssociationsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.displayName = 'proto.ml_metadata.PutAttributionsAndAssociationsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutAttributionsAndAssociationsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutAttributionsAndAssociationsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutAttributionsAndAssociationsResponse.displayName = 'proto.ml_metadata.PutAttributionsAndAssociationsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutParentContextsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutParentContextsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.PutParentContextsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutParentContextsRequest.displayName = 'proto.ml_metadata.PutParentContextsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PutParentContextsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PutParentContextsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PutParentContextsResponse.displayName = 'proto.ml_metadata.PutParentContextsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByTypeRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByTypeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByTypeRequest.displayName = 'proto.ml_metadata.GetArtifactsByTypeRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByTypeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByTypeResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByTypeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByTypeResponse.displayName = 'proto.ml_metadata.GetArtifactsByTypeResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetArtifactByTypeAndNameRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.displayName = 'proto.ml_metadata.GetArtifactByTypeAndNameRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetArtifactByTypeAndNameResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.displayName = 'proto.ml_metadata.GetArtifactByTypeAndNameResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByIDRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByIDRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByIDRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByIDRequest.displayName = 'proto.ml_metadata.GetArtifactsByIDRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByIDResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByIDResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByIDResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByIDResponse.displayName = 'proto.ml_metadata.GetArtifactsByIDResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsRequest.displayName = 'proto.ml_metadata.GetArtifactsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsResponse.displayName = 'proto.ml_metadata.GetArtifactsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByURIRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByURIRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByURIRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByURIRequest.displayName = 'proto.ml_metadata.GetArtifactsByURIRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByURIResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByURIResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByURIResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByURIResponse.displayName = 'proto.ml_metadata.GetArtifactsByURIResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsRequest.displayName = 'proto.ml_metadata.GetExecutionsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsResponse.displayName = 'proto.ml_metadata.GetExecutionsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactTypeRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetArtifactTypeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactTypeRequest.displayName = 'proto.ml_metadata.GetArtifactTypeRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactTypeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetArtifactTypeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactTypeResponse.displayName = 'proto.ml_metadata.GetArtifactTypeResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactTypesRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetArtifactTypesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactTypesRequest.displayName = 'proto.ml_metadata.GetArtifactTypesRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactTypesResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactTypesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactTypesResponse.displayName = 'proto.ml_metadata.GetArtifactTypesResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionTypesRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetExecutionTypesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionTypesRequest.displayName = 'proto.ml_metadata.GetExecutionTypesRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionTypesResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionTypesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionTypesResponse.displayName = 'proto.ml_metadata.GetExecutionTypesResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextTypesRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetContextTypesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextTypesRequest.displayName = 'proto.ml_metadata.GetContextTypesRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextTypesResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextTypesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextTypesResponse.displayName = 'proto.ml_metadata.GetContextTypesResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByExternalIdsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByExternalIdsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.displayName = 'proto.ml_metadata.GetArtifactsByExternalIdsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByExternalIdsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByExternalIdsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.displayName = 'proto.ml_metadata.GetArtifactsByExternalIdsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByExternalIdsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsByExternalIdsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.displayName = 'proto.ml_metadata.GetExecutionsByExternalIdsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByExternalIdsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsByExternalIdsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.displayName = 'proto.ml_metadata.GetExecutionsByExternalIdsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByExternalIdsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByExternalIdsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextsByExternalIdsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.displayName = 'proto.ml_metadata.GetContextsByExternalIdsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByExternalIdsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByExternalIdsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextsByExternalIdsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.displayName = 'proto.ml_metadata.GetContextsByExternalIdsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactTypesByExternalIdsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.displayName = 'proto.ml_metadata.GetArtifactTypesByExternalIdsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactTypesByExternalIdsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.displayName = 'proto.ml_metadata.GetArtifactTypesByExternalIdsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionTypesByExternalIdsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.displayName = 'proto.ml_metadata.GetExecutionTypesByExternalIdsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionTypesByExternalIdsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.displayName = 'proto.ml_metadata.GetExecutionTypesByExternalIdsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByExternalIdsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextTypesByExternalIdsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.displayName = 'proto.ml_metadata.GetContextTypesByExternalIdsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByExternalIdsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextTypesByExternalIdsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.displayName = 'proto.ml_metadata.GetContextTypesByExternalIdsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsByTypeRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsByTypeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsByTypeRequest.displayName = 'proto.ml_metadata.GetExecutionsByTypeRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsByTypeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByTypeResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsByTypeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsByTypeResponse.displayName = 'proto.ml_metadata.GetExecutionsByTypeResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetExecutionByTypeAndNameRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.displayName = 'proto.ml_metadata.GetExecutionByTypeAndNameRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetExecutionByTypeAndNameResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.displayName = 'proto.ml_metadata.GetExecutionByTypeAndNameResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsByIDRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByIDRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsByIDRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsByIDRequest.displayName = 'proto.ml_metadata.GetExecutionsByIDRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsByIDResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByIDResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsByIDResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsByIDResponse.displayName = 'proto.ml_metadata.GetExecutionsByIDResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionTypeRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetExecutionTypeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionTypeRequest.displayName = 'proto.ml_metadata.GetExecutionTypeRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionTypeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetExecutionTypeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionTypeResponse.displayName = 'proto.ml_metadata.GetExecutionTypeResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByExecutionIDsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetEventsByExecutionIDsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.displayName = 'proto.ml_metadata.GetEventsByExecutionIDsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByExecutionIDsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetEventsByExecutionIDsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.displayName = 'proto.ml_metadata.GetEventsByExecutionIDsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByArtifactIDsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetEventsByArtifactIDsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.displayName = 'proto.ml_metadata.GetEventsByArtifactIDsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByArtifactIDsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetEventsByArtifactIDsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.displayName = 'proto.ml_metadata.GetEventsByArtifactIDsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactTypesByIDRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByIDRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactTypesByIDRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.displayName = 'proto.ml_metadata.GetArtifactTypesByIDRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactTypesByIDResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByIDResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactTypesByIDResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.displayName = 'proto.ml_metadata.GetArtifactTypesByIDResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionTypesByIDRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByIDRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionTypesByIDRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.displayName = 'proto.ml_metadata.GetExecutionTypesByIDRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionTypesByIDResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByIDResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionTypesByIDResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.displayName = 'proto.ml_metadata.GetExecutionTypesByIDResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextTypeRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetContextTypeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextTypeRequest.displayName = 'proto.ml_metadata.GetContextTypeRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextTypeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetContextTypeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextTypeResponse.displayName = 'proto.ml_metadata.GetContextTypeResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextTypesByIDRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByIDRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextTypesByIDRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextTypesByIDRequest.displayName = 'proto.ml_metadata.GetContextTypesByIDRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextTypesByIDResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByIDResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextTypesByIDResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextTypesByIDResponse.displayName = 'proto.ml_metadata.GetContextTypesByIDResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetContextsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsRequest.displayName = 'proto.ml_metadata.GetContextsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsResponse.displayName = 'proto.ml_metadata.GetContextsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByTypeRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetContextsByTypeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByTypeRequest.displayName = 'proto.ml_metadata.GetContextsByTypeRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByTypeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByTypeResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextsByTypeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByTypeResponse.displayName = 'proto.ml_metadata.GetContextsByTypeResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextByTypeAndNameRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetContextByTypeAndNameRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.displayName = 'proto.ml_metadata.GetContextByTypeAndNameRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextByTypeAndNameResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetContextByTypeAndNameResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.displayName = 'proto.ml_metadata.GetContextByTypeAndNameResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByIDRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByIDRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextsByIDRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByIDRequest.displayName = 'proto.ml_metadata.GetContextsByIDRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByIDResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByIDResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextsByIDResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByIDResponse.displayName = 'proto.ml_metadata.GetContextsByIDResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByArtifactRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetContextsByArtifactRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByArtifactRequest.displayName = 'proto.ml_metadata.GetContextsByArtifactRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByArtifactResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByArtifactResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextsByArtifactResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByArtifactResponse.displayName = 'proto.ml_metadata.GetContextsByArtifactResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByExecutionRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetContextsByExecutionRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByExecutionRequest.displayName = 'proto.ml_metadata.GetContextsByExecutionRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetContextsByExecutionResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByExecutionResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetContextsByExecutionResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetContextsByExecutionResponse.displayName = 'proto.ml_metadata.GetContextsByExecutionResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetParentContextsByContextRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetParentContextsByContextRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetParentContextsByContextRequest.displayName = 'proto.ml_metadata.GetParentContextsByContextRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetParentContextsByContextResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetParentContextsByContextResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetParentContextsByContextResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetParentContextsByContextResponse.displayName = 'proto.ml_metadata.GetParentContextsByContextResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetChildrenContextsByContextRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetChildrenContextsByContextRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.displayName = 'proto.ml_metadata.GetChildrenContextsByContextRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetChildrenContextsByContextResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetChildrenContextsByContextResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetChildrenContextsByContextResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.displayName = 'proto.ml_metadata.GetChildrenContextsByContextResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetParentContextsByContextsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetParentContextsByContextsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetParentContextsByContextsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetParentContextsByContextsRequest.displayName = 'proto.ml_metadata.GetParentContextsByContextsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetParentContextsByContextsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetParentContextsByContextsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetParentContextsByContextsResponse.displayName = 'proto.ml_metadata.GetParentContextsByContextsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.displayName = 'proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetChildrenContextsByContextsRequest.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetChildrenContextsByContextsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.displayName = 'proto.ml_metadata.GetChildrenContextsByContextsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetChildrenContextsByContextsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.displayName = 'proto.ml_metadata.GetChildrenContextsByContextsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.displayName = 'proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByContextRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByContextRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByContextRequest.displayName = 'proto.ml_metadata.GetArtifactsByContextRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetArtifactsByContextResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByContextResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetArtifactsByContextResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetArtifactsByContextResponse.displayName = 'proto.ml_metadata.GetArtifactsByContextResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsByContextRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsByContextRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsByContextRequest.displayName = 'proto.ml_metadata.GetExecutionsByContextRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetExecutionsByContextResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByContextResponse.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.GetExecutionsByContextResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetExecutionsByContextResponse.displayName = 'proto.ml_metadata.GetExecutionsByContextResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetLineageGraphRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetLineageGraphRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetLineageGraphRequest.displayName = 'proto.ml_metadata.GetLineageGraphRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetLineageGraphResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetLineageGraphResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetLineageGraphResponse.displayName = 'proto.ml_metadata.GetLineageGraphResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetLineageSubgraphRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetLineageSubgraphRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetLineageSubgraphRequest.displayName = 'proto.ml_metadata.GetLineageSubgraphRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GetLineageSubgraphResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GetLineageSubgraphResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GetLineageSubgraphResponse.displayName = 'proto.ml_metadata.GetLineageSubgraphResponse';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ArtifactAndType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ArtifactAndType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ArtifactAndType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactAndType.toObject = function(includeInstance, msg) {
var f, obj = {
artifact: (f = msg.getArtifact()) && ml_metadata_proto_metadata_store_pb.Artifact.toObject(includeInstance, f),
type: (f = msg.getType()) && ml_metadata_proto_metadata_store_pb.ArtifactType.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ArtifactAndType}
*/
proto.ml_metadata.ArtifactAndType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ArtifactAndType;
return proto.ml_metadata.ArtifactAndType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ArtifactAndType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ArtifactAndType}
*/
proto.ml_metadata.ArtifactAndType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.setArtifact(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.ArtifactType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader);
msg.setType(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ArtifactAndType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ArtifactAndType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ArtifactAndType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactAndType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifact();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
f = message.getType();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter
);
}
};
/**
* optional Artifact artifact = 1;
* @return {?proto.ml_metadata.Artifact}
*/
proto.ml_metadata.ArtifactAndType.prototype.getArtifact = function() {
return /** @type{?proto.ml_metadata.Artifact} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {?proto.ml_metadata.Artifact|undefined} value
* @return {!proto.ml_metadata.ArtifactAndType} returns this
*/
proto.ml_metadata.ArtifactAndType.prototype.setArtifact = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactAndType} returns this
*/
proto.ml_metadata.ArtifactAndType.prototype.clearArtifact = function() {
return this.setArtifact(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactAndType.prototype.hasArtifact = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ArtifactType type = 2;
* @return {?proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.ArtifactAndType.prototype.getType = function() {
return /** @type{?proto.ml_metadata.ArtifactType} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 2));
};
/**
* @param {?proto.ml_metadata.ArtifactType|undefined} value
* @return {!proto.ml_metadata.ArtifactAndType} returns this
*/
proto.ml_metadata.ArtifactAndType.prototype.setType = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactAndType} returns this
*/
proto.ml_metadata.ArtifactAndType.prototype.clearType = function() {
return this.setType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactAndType.prototype.hasType = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ArtifactStructMap.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ArtifactStructMap.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ArtifactStructMap} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactStructMap.toObject = function(includeInstance, msg) {
var f, obj = {
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.ArtifactStruct.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ArtifactStructMap}
*/
proto.ml_metadata.ArtifactStructMap.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ArtifactStructMap;
return proto.ml_metadata.ArtifactStructMap.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ArtifactStructMap} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ArtifactStructMap}
*/
proto.ml_metadata.ArtifactStructMap.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader, "", new proto.ml_metadata.ArtifactStruct());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ArtifactStructMap.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ArtifactStructMap.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ArtifactStructMap} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactStructMap.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter);
}
};
/**
* map<string, ArtifactStruct> properties = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.ArtifactStruct>}
*/
proto.ml_metadata.ArtifactStructMap.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.ArtifactStruct>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_metadata.ArtifactStruct));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.ArtifactStructMap} returns this
*/
proto.ml_metadata.ArtifactStructMap.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.ArtifactStructList.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ArtifactStructList.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ArtifactStructList.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ArtifactStructList} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactStructList.toObject = function(includeInstance, msg) {
var f, obj = {
elementsList: jspb.Message.toObjectList(msg.getElementsList(),
proto.ml_metadata.ArtifactStruct.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ArtifactStructList}
*/
proto.ml_metadata.ArtifactStructList.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ArtifactStructList;
return proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ArtifactStructList} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ArtifactStructList}
*/
proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ArtifactStruct;
reader.readMessage(value,proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader);
msg.addElements(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ArtifactStructList.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ArtifactStructList.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ArtifactStructList} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactStructList.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getElementsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactStruct elements = 1;
* @return {!Array<!proto.ml_metadata.ArtifactStruct>}
*/
proto.ml_metadata.ArtifactStructList.prototype.getElementsList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactStruct>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.ArtifactStruct, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactStruct>} value
* @return {!proto.ml_metadata.ArtifactStructList} returns this
*/
proto.ml_metadata.ArtifactStructList.prototype.setElementsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ArtifactStruct=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactStruct}
*/
proto.ml_metadata.ArtifactStructList.prototype.addElements = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactStruct, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.ArtifactStructList} returns this
*/
proto.ml_metadata.ArtifactStructList.prototype.clearElementsList = function() {
return this.setElementsList([]);
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_metadata.ArtifactStruct.oneofGroups_ = [[1,2,3]];
/**
* @enum {number}
*/
proto.ml_metadata.ArtifactStruct.ValueCase = {
VALUE_NOT_SET: 0,
ARTIFACT: 1,
MAP: 2,
LIST: 3
};
/**
* @return {proto.ml_metadata.ArtifactStruct.ValueCase}
*/
proto.ml_metadata.ArtifactStruct.prototype.getValueCase = function() {
return /** @type {proto.ml_metadata.ArtifactStruct.ValueCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.ArtifactStruct.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ArtifactStruct.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ArtifactStruct.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ArtifactStruct} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactStruct.toObject = function(includeInstance, msg) {
var f, obj = {
artifact: (f = msg.getArtifact()) && proto.ml_metadata.ArtifactAndType.toObject(includeInstance, f),
map: (f = msg.getMap()) && proto.ml_metadata.ArtifactStructMap.toObject(includeInstance, f),
list: (f = msg.getList()) && proto.ml_metadata.ArtifactStructList.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ArtifactStruct}
*/
proto.ml_metadata.ArtifactStruct.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ArtifactStruct;
return proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ArtifactStruct} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ArtifactStruct}
*/
proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ArtifactAndType;
reader.readMessage(value,proto.ml_metadata.ArtifactAndType.deserializeBinaryFromReader);
msg.setArtifact(value);
break;
case 2:
var value = new proto.ml_metadata.ArtifactStructMap;
reader.readMessage(value,proto.ml_metadata.ArtifactStructMap.deserializeBinaryFromReader);
msg.setMap(value);
break;
case 3:
var value = new proto.ml_metadata.ArtifactStructList;
reader.readMessage(value,proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader);
msg.setList(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ArtifactStruct.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ArtifactStruct} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifact();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_metadata.ArtifactAndType.serializeBinaryToWriter
);
}
f = message.getMap();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_metadata.ArtifactStructMap.serializeBinaryToWriter
);
}
f = message.getList();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_metadata.ArtifactStructList.serializeBinaryToWriter
);
}
};
/**
* optional ArtifactAndType artifact = 1;
* @return {?proto.ml_metadata.ArtifactAndType}
*/
proto.ml_metadata.ArtifactStruct.prototype.getArtifact = function() {
return /** @type{?proto.ml_metadata.ArtifactAndType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactAndType, 1));
};
/**
* @param {?proto.ml_metadata.ArtifactAndType|undefined} value
* @return {!proto.ml_metadata.ArtifactStruct} returns this
*/
proto.ml_metadata.ArtifactStruct.prototype.setArtifact = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.ArtifactStruct.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStruct} returns this
*/
proto.ml_metadata.ArtifactStruct.prototype.clearArtifact = function() {
return this.setArtifact(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStruct.prototype.hasArtifact = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ArtifactStructMap map = 2;
* @return {?proto.ml_metadata.ArtifactStructMap}
*/
proto.ml_metadata.ArtifactStruct.prototype.getMap = function() {
return /** @type{?proto.ml_metadata.ArtifactStructMap} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructMap, 2));
};
/**
* @param {?proto.ml_metadata.ArtifactStructMap|undefined} value
* @return {!proto.ml_metadata.ArtifactStruct} returns this
*/
proto.ml_metadata.ArtifactStruct.prototype.setMap = function(value) {
return jspb.Message.setOneofWrapperField(this, 2, proto.ml_metadata.ArtifactStruct.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStruct} returns this
*/
proto.ml_metadata.ArtifactStruct.prototype.clearMap = function() {
return this.setMap(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStruct.prototype.hasMap = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional ArtifactStructList list = 3;
* @return {?proto.ml_metadata.ArtifactStructList}
*/
proto.ml_metadata.ArtifactStruct.prototype.getList = function() {
return /** @type{?proto.ml_metadata.ArtifactStructList} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructList, 3));
};
/**
* @param {?proto.ml_metadata.ArtifactStructList|undefined} value
* @return {!proto.ml_metadata.ArtifactStruct} returns this
*/
proto.ml_metadata.ArtifactStruct.prototype.setList = function(value) {
return jspb.Message.setOneofWrapperField(this, 3, proto.ml_metadata.ArtifactStruct.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStruct} returns this
*/
proto.ml_metadata.ArtifactStruct.prototype.clearList = function() {
return this.setList(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStruct.prototype.hasList = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutArtifactsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutArtifactsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutArtifactsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance),
options: (f = msg.getOptions()) && proto.ml_metadata.PutArtifactsRequest.Options.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f),
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutArtifactsRequest}
*/
proto.ml_metadata.PutArtifactsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutArtifactsRequest;
return proto.ml_metadata.PutArtifactsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutArtifactsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutArtifactsRequest}
*/
proto.ml_metadata.PutArtifactsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
case 2:
var value = new proto.ml_metadata.PutArtifactsRequest.Options;
reader.readMessage(value,proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
case 4:
var value = new google_protobuf_field_mask_pb.FieldMask;
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
msg.setUpdateMask(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutArtifactsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutArtifactsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
f = message.getOptions();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_metadata.PutArtifactsRequest.Options.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
f = message.getUpdateMask();
if (f != null) {
writer.writeMessage(
4,
f,
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutArtifactsRequest.Options.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutArtifactsRequest.Options.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutArtifactsRequest.Options} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactsRequest.Options.toObject = function(includeInstance, msg) {
var f, obj = {
abortIfLatestUpdatedTimeChanged: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutArtifactsRequest.Options}
*/
proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutArtifactsRequest.Options;
return proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutArtifactsRequest.Options} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutArtifactsRequest.Options}
*/
proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {boolean} */ (reader.readBool());
msg.setAbortIfLatestUpdatedTimeChanged(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutArtifactsRequest.Options.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutArtifactsRequest.Options.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutArtifactsRequest.Options} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactsRequest.Options.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {boolean} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeBool(
1,
f
);
}
};
/**
* optional bool abort_if_latest_updated_time_changed = 1;
* @return {boolean}
*/
proto.ml_metadata.PutArtifactsRequest.Options.prototype.getAbortIfLatestUpdatedTimeChanged = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutArtifactsRequest.Options} returns this
*/
proto.ml_metadata.PutArtifactsRequest.Options.prototype.setAbortIfLatestUpdatedTimeChanged = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutArtifactsRequest.Options} returns this
*/
proto.ml_metadata.PutArtifactsRequest.Options.prototype.clearAbortIfLatestUpdatedTimeChanged = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactsRequest.Options.prototype.hasAbortIfLatestUpdatedTimeChanged = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* repeated Artifact artifacts = 1;
* @return {!Array<!proto.ml_metadata.Artifact>}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_metadata.Artifact>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Artifact>} value
* @return {!proto.ml_metadata.PutArtifactsRequest} returns this
*/
proto.ml_metadata.PutArtifactsRequest.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Artifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutArtifactsRequest} returns this
*/
proto.ml_metadata.PutArtifactsRequest.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
/**
* optional Options options = 2;
* @return {?proto.ml_metadata.PutArtifactsRequest.Options}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.PutArtifactsRequest.Options} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.PutArtifactsRequest.Options, 2));
};
/**
* @param {?proto.ml_metadata.PutArtifactsRequest.Options|undefined} value
* @return {!proto.ml_metadata.PutArtifactsRequest} returns this
*/
proto.ml_metadata.PutArtifactsRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutArtifactsRequest} returns this
*/
proto.ml_metadata.PutArtifactsRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 3;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutArtifactsRequest} returns this
*/
proto.ml_metadata.PutArtifactsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutArtifactsRequest} returns this
*/
proto.ml_metadata.PutArtifactsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional google.protobuf.FieldMask update_mask = 4;
* @return {?proto.google.protobuf.FieldMask}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.getUpdateMask = function() {
return /** @type{?proto.google.protobuf.FieldMask} */ (
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4));
};
/**
* @param {?proto.google.protobuf.FieldMask|undefined} value
* @return {!proto.ml_metadata.PutArtifactsRequest} returns this
*/
proto.ml_metadata.PutArtifactsRequest.prototype.setUpdateMask = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutArtifactsRequest} returns this
*/
proto.ml_metadata.PutArtifactsRequest.prototype.clearUpdateMask = function() {
return this.setUpdateMask(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactsRequest.prototype.hasUpdateMask = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutArtifactsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutArtifactsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutArtifactsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutArtifactsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutArtifactsResponse}
*/
proto.ml_metadata.PutArtifactsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutArtifactsResponse;
return proto.ml_metadata.PutArtifactsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutArtifactsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutArtifactsResponse}
*/
proto.ml_metadata.PutArtifactsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addArtifactIds(values[i]);
}
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutArtifactsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutArtifactsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutArtifactsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
};
/**
* repeated int64 artifact_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.PutArtifactsResponse.prototype.getArtifactIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutArtifactsResponse} returns this
*/
proto.ml_metadata.PutArtifactsResponse.prototype.setArtifactIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutArtifactsResponse} returns this
*/
proto.ml_metadata.PutArtifactsResponse.prototype.addArtifactIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutArtifactsResponse} returns this
*/
proto.ml_metadata.PutArtifactsResponse.prototype.clearArtifactIdsList = function() {
return this.setArtifactIdsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutArtifactTypeRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutArtifactTypeRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactTypeRequest.toObject = function(includeInstance, msg) {
var f, obj = {
artifactType: (f = msg.getArtifactType()) && ml_metadata_proto_metadata_store_pb.ArtifactType.toObject(includeInstance, f),
canAddFields: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f,
canOmitFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f,
canDeleteFields: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f,
allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 4, true),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutArtifactTypeRequest}
*/
proto.ml_metadata.PutArtifactTypeRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutArtifactTypeRequest;
return proto.ml_metadata.PutArtifactTypeRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutArtifactTypeRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutArtifactTypeRequest}
*/
proto.ml_metadata.PutArtifactTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ArtifactType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader);
msg.setArtifactType(value);
break;
case 2:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanAddFields(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanOmitFields(value);
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanDeleteFields(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setAllFieldsMatch(value);
break;
case 6:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutArtifactTypeRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutArtifactTypeRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactTypeRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactType();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeBool(
2,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeBool(
5,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeBool(
3,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeBool(
4,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
6,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional ArtifactType artifact_type = 1;
* @return {?proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.getArtifactType = function() {
return /** @type{?proto.ml_metadata.ArtifactType} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1));
};
/**
* @param {?proto.ml_metadata.ArtifactType|undefined} value
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.setArtifactType = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.clearArtifactType = function() {
return this.setArtifactType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.hasArtifactType = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bool can_add_fields = 2;
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.getCanAddFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.setCanAddFields = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanAddFields = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.hasCanAddFields = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional bool can_omit_fields = 5;
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.getCanOmitFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.setCanOmitFields = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanOmitFields = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.hasCanOmitFields = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional bool can_delete_fields = 3;
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.getCanDeleteFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.setCanDeleteFields = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanDeleteFields = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.hasCanDeleteFields = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional bool all_fields_match = 4;
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.getAllFieldsMatch = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.setAllFieldsMatch = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.clearAllFieldsMatch = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.hasAllFieldsMatch = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional TransactionOptions transaction_options = 6;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 6));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 6) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutArtifactTypeResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutArtifactTypeResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutArtifactTypeResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactTypeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
typeId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutArtifactTypeResponse}
*/
proto.ml_metadata.PutArtifactTypeResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutArtifactTypeResponse;
return proto.ml_metadata.PutArtifactTypeResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutArtifactTypeResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutArtifactTypeResponse}
*/
proto.ml_metadata.PutArtifactTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setTypeId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutArtifactTypeResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutArtifactTypeResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutArtifactTypeResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutArtifactTypeResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
};
/**
* optional int64 type_id = 1;
* @return {number}
*/
proto.ml_metadata.PutArtifactTypeResponse.prototype.getTypeId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.PutArtifactTypeResponse} returns this
*/
proto.ml_metadata.PutArtifactTypeResponse.prototype.setTypeId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutArtifactTypeResponse} returns this
*/
proto.ml_metadata.PutArtifactTypeResponse.prototype.clearTypeId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutArtifactTypeResponse.prototype.hasTypeId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutExecutionsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutExecutionsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutExecutionsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutExecutionsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
executionsList: jspb.Message.toObjectList(msg.getExecutionsList(),
ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f),
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutExecutionsRequest}
*/
proto.ml_metadata.PutExecutionsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutExecutionsRequest;
return proto.ml_metadata.PutExecutionsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutExecutionsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutExecutionsRequest}
*/
proto.ml_metadata.PutExecutionsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Execution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader);
msg.addExecutions(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
case 3:
var value = new google_protobuf_field_mask_pb.FieldMask;
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
msg.setUpdateMask(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutExecutionsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutExecutionsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutExecutionsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
f = message.getUpdateMask();
if (f != null) {
writer.writeMessage(
3,
f,
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
);
}
};
/**
* repeated Execution executions = 1;
* @return {!Array<!proto.ml_metadata.Execution>}
*/
proto.ml_metadata.PutExecutionsRequest.prototype.getExecutionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Execution>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Execution>} value
* @return {!proto.ml_metadata.PutExecutionsRequest} returns this
*/
proto.ml_metadata.PutExecutionsRequest.prototype.setExecutionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Execution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.PutExecutionsRequest.prototype.addExecutions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutExecutionsRequest} returns this
*/
proto.ml_metadata.PutExecutionsRequest.prototype.clearExecutionsList = function() {
return this.setExecutionsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutExecutionsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutExecutionsRequest} returns this
*/
proto.ml_metadata.PutExecutionsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutExecutionsRequest} returns this
*/
proto.ml_metadata.PutExecutionsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional google.protobuf.FieldMask update_mask = 3;
* @return {?proto.google.protobuf.FieldMask}
*/
proto.ml_metadata.PutExecutionsRequest.prototype.getUpdateMask = function() {
return /** @type{?proto.google.protobuf.FieldMask} */ (
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
};
/**
* @param {?proto.google.protobuf.FieldMask|undefined} value
* @return {!proto.ml_metadata.PutExecutionsRequest} returns this
*/
proto.ml_metadata.PutExecutionsRequest.prototype.setUpdateMask = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutExecutionsRequest} returns this
*/
proto.ml_metadata.PutExecutionsRequest.prototype.clearUpdateMask = function() {
return this.setUpdateMask(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionsRequest.prototype.hasUpdateMask = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutExecutionsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutExecutionsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutExecutionsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutExecutionsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutExecutionsResponse}
*/
proto.ml_metadata.PutExecutionsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutExecutionsResponse;
return proto.ml_metadata.PutExecutionsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutExecutionsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutExecutionsResponse}
*/
proto.ml_metadata.PutExecutionsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addExecutionIds(values[i]);
}
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutExecutionsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutExecutionsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutExecutionsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
};
/**
* repeated int64 execution_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.PutExecutionsResponse.prototype.getExecutionIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutExecutionsResponse} returns this
*/
proto.ml_metadata.PutExecutionsResponse.prototype.setExecutionIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutExecutionsResponse} returns this
*/
proto.ml_metadata.PutExecutionsResponse.prototype.addExecutionIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutExecutionsResponse} returns this
*/
proto.ml_metadata.PutExecutionsResponse.prototype.clearExecutionIdsList = function() {
return this.setExecutionIdsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutExecutionTypeRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutExecutionTypeRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionTypeRequest.toObject = function(includeInstance, msg) {
var f, obj = {
executionType: (f = msg.getExecutionType()) && ml_metadata_proto_metadata_store_pb.ExecutionType.toObject(includeInstance, f),
canAddFields: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f,
canOmitFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f,
canDeleteFields: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f,
allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 4, true),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutExecutionTypeRequest}
*/
proto.ml_metadata.PutExecutionTypeRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutExecutionTypeRequest;
return proto.ml_metadata.PutExecutionTypeRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutExecutionTypeRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutExecutionTypeRequest}
*/
proto.ml_metadata.PutExecutionTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ExecutionType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader);
msg.setExecutionType(value);
break;
case 2:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanAddFields(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanOmitFields(value);
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanDeleteFields(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setAllFieldsMatch(value);
break;
case 6:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutExecutionTypeRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutExecutionTypeRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionTypeRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionType();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeBool(
2,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeBool(
5,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeBool(
3,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeBool(
4,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
6,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional ExecutionType execution_type = 1;
* @return {?proto.ml_metadata.ExecutionType}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.getExecutionType = function() {
return /** @type{?proto.ml_metadata.ExecutionType} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1));
};
/**
* @param {?proto.ml_metadata.ExecutionType|undefined} value
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.setExecutionType = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.clearExecutionType = function() {
return this.setExecutionType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.hasExecutionType = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bool can_add_fields = 2;
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.getCanAddFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.setCanAddFields = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanAddFields = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.hasCanAddFields = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional bool can_omit_fields = 5;
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.getCanOmitFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.setCanOmitFields = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanOmitFields = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.hasCanOmitFields = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional bool can_delete_fields = 3;
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.getCanDeleteFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.setCanDeleteFields = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanDeleteFields = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.hasCanDeleteFields = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional bool all_fields_match = 4;
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.getAllFieldsMatch = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.setAllFieldsMatch = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.clearAllFieldsMatch = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.hasAllFieldsMatch = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional TransactionOptions transaction_options = 6;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 6));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 6) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutExecutionTypeResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutExecutionTypeResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutExecutionTypeResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionTypeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
typeId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutExecutionTypeResponse}
*/
proto.ml_metadata.PutExecutionTypeResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutExecutionTypeResponse;
return proto.ml_metadata.PutExecutionTypeResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutExecutionTypeResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutExecutionTypeResponse}
*/
proto.ml_metadata.PutExecutionTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setTypeId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutExecutionTypeResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutExecutionTypeResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutExecutionTypeResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionTypeResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
};
/**
* optional int64 type_id = 1;
* @return {number}
*/
proto.ml_metadata.PutExecutionTypeResponse.prototype.getTypeId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.PutExecutionTypeResponse} returns this
*/
proto.ml_metadata.PutExecutionTypeResponse.prototype.setTypeId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutExecutionTypeResponse} returns this
*/
proto.ml_metadata.PutExecutionTypeResponse.prototype.clearTypeId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionTypeResponse.prototype.hasTypeId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutEventsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutEventsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutEventsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutEventsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutEventsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
eventsList: jspb.Message.toObjectList(msg.getEventsList(),
ml_metadata_proto_metadata_store_pb.Event.toObject, includeInstance),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutEventsRequest}
*/
proto.ml_metadata.PutEventsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutEventsRequest;
return proto.ml_metadata.PutEventsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutEventsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutEventsRequest}
*/
proto.ml_metadata.PutEventsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Event;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader);
msg.addEvents(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutEventsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutEventsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutEventsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutEventsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getEventsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated Event events = 1;
* @return {!Array<!proto.ml_metadata.Event>}
*/
proto.ml_metadata.PutEventsRequest.prototype.getEventsList = function() {
return /** @type{!Array<!proto.ml_metadata.Event>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Event>} value
* @return {!proto.ml_metadata.PutEventsRequest} returns this
*/
proto.ml_metadata.PutEventsRequest.prototype.setEventsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Event=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Event}
*/
proto.ml_metadata.PutEventsRequest.prototype.addEvents = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutEventsRequest} returns this
*/
proto.ml_metadata.PutEventsRequest.prototype.clearEventsList = function() {
return this.setEventsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutEventsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutEventsRequest} returns this
*/
proto.ml_metadata.PutEventsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutEventsRequest} returns this
*/
proto.ml_metadata.PutEventsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutEventsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutEventsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutEventsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutEventsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutEventsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutEventsResponse}
*/
proto.ml_metadata.PutEventsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutEventsResponse;
return proto.ml_metadata.PutEventsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutEventsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutEventsResponse}
*/
proto.ml_metadata.PutEventsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutEventsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutEventsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutEventsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutEventsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutExecutionRequest.repeatedFields_ = [2,3];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutExecutionRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutExecutionRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutExecutionRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionRequest.toObject = function(includeInstance, msg) {
var f, obj = {
execution: (f = msg.getExecution()) && ml_metadata_proto_metadata_store_pb.Execution.toObject(includeInstance, f),
artifactEventPairsList: jspb.Message.toObjectList(msg.getArtifactEventPairsList(),
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject, includeInstance),
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance),
options: (f = msg.getOptions()) && proto.ml_metadata.PutExecutionRequest.Options.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutExecutionRequest}
*/
proto.ml_metadata.PutExecutionRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutExecutionRequest;
return proto.ml_metadata.PutExecutionRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutExecutionRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutExecutionRequest}
*/
proto.ml_metadata.PutExecutionRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Execution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader);
msg.setExecution(value);
break;
case 2:
var value = new proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent;
reader.readMessage(value,proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromReader);
msg.addArtifactEventPairs(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
case 4:
var value = new proto.ml_metadata.PutExecutionRequest.Options;
reader.readMessage(value,proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 5:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutExecutionRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutExecutionRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutExecutionRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecution();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter
);
}
f = message.getArtifactEventPairsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.serializeBinaryToWriter
);
}
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
f = message.getOptions();
if (f != null) {
writer.writeMessage(
4,
f,
proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
5,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject = function(includeInstance, msg) {
var f, obj = {
artifact: (f = msg.getArtifact()) && ml_metadata_proto_metadata_store_pb.Artifact.toObject(includeInstance, f),
event: (f = msg.getEvent()) && ml_metadata_proto_metadata_store_pb.Event.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent}
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent;
return proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent}
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.setArtifact(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.Event;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader);
msg.setEvent(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifact();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
f = message.getEvent();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter
);
}
};
/**
* optional Artifact artifact = 1;
* @return {?proto.ml_metadata.Artifact}
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.getArtifact = function() {
return /** @type{?proto.ml_metadata.Artifact} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {?proto.ml_metadata.Artifact|undefined} value
* @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.setArtifact = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.clearArtifact = function() {
return this.setArtifact(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.hasArtifact = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional Event event = 2;
* @return {?proto.ml_metadata.Event}
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.getEvent = function() {
return /** @type{?proto.ml_metadata.Event} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 2));
};
/**
* @param {?proto.ml_metadata.Event|undefined} value
* @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.setEvent = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.clearEvent = function() {
return this.setEvent(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.hasEvent = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutExecutionRequest.Options.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutExecutionRequest.Options} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionRequest.Options.toObject = function(includeInstance, msg) {
var f, obj = {
reuseContextIfAlreadyExist: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f,
reuseArtifactIfAlreadyExistByExternalId: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutExecutionRequest.Options}
*/
proto.ml_metadata.PutExecutionRequest.Options.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutExecutionRequest.Options;
return proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutExecutionRequest.Options} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutExecutionRequest.Options}
*/
proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {boolean} */ (reader.readBool());
msg.setReuseContextIfAlreadyExist(value);
break;
case 2:
var value = /** @type {boolean} */ (reader.readBool());
msg.setReuseArtifactIfAlreadyExistByExternalId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutExecutionRequest.Options} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {boolean} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeBool(
1,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeBool(
2,
f
);
}
};
/**
* optional bool reuse_context_if_already_exist = 1;
* @return {boolean}
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.getReuseContextIfAlreadyExist = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.setReuseContextIfAlreadyExist = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.clearReuseContextIfAlreadyExist = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.hasReuseContextIfAlreadyExist = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bool reuse_artifact_if_already_exist_by_external_id = 2;
* @return {boolean}
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.getReuseArtifactIfAlreadyExistByExternalId = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.setReuseArtifactIfAlreadyExistByExternalId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.clearReuseArtifactIfAlreadyExistByExternalId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionRequest.Options.prototype.hasReuseArtifactIfAlreadyExistByExternalId = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional Execution execution = 1;
* @return {?proto.ml_metadata.Execution}
*/
proto.ml_metadata.PutExecutionRequest.prototype.getExecution = function() {
return /** @type{?proto.ml_metadata.Execution} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1));
};
/**
* @param {?proto.ml_metadata.Execution|undefined} value
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.setExecution = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.clearExecution = function() {
return this.setExecution(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionRequest.prototype.hasExecution = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* repeated ArtifactAndEvent artifact_event_pairs = 2;
* @return {!Array<!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent>}
*/
proto.ml_metadata.PutExecutionRequest.prototype.getArtifactEventPairsList = function() {
return /** @type{!Array<!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent, 2));
};
/**
* @param {!Array<!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent>} value
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.setArtifactEventPairsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
/**
* @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent}
*/
proto.ml_metadata.PutExecutionRequest.prototype.addArtifactEventPairs = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.clearArtifactEventPairsList = function() {
return this.setArtifactEventPairsList([]);
};
/**
* repeated Context contexts = 3;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.PutExecutionRequest.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 3));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 3, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.PutExecutionRequest.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
/**
* optional Options options = 4;
* @return {?proto.ml_metadata.PutExecutionRequest.Options}
*/
proto.ml_metadata.PutExecutionRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.PutExecutionRequest.Options} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.PutExecutionRequest.Options, 4));
};
/**
* @param {?proto.ml_metadata.PutExecutionRequest.Options|undefined} value
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional TransactionOptions transaction_options = 5;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutExecutionRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 5));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 5, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutExecutionRequest} returns this
*/
proto.ml_metadata.PutExecutionRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutExecutionResponse.repeatedFields_ = [2,3];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutExecutionResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutExecutionResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutExecutionResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
contextIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutExecutionResponse}
*/
proto.ml_metadata.PutExecutionResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutExecutionResponse;
return proto.ml_metadata.PutExecutionResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutExecutionResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutExecutionResponse}
*/
proto.ml_metadata.PutExecutionResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setExecutionId(value);
break;
case 2:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addArtifactIds(values[i]);
}
break;
case 3:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addContextIds(values[i]);
}
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutExecutionResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutExecutionResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutExecutionResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutExecutionResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = message.getArtifactIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
2,
f
);
}
f = message.getContextIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
3,
f
);
}
};
/**
* optional int64 execution_id = 1;
* @return {number}
*/
proto.ml_metadata.PutExecutionResponse.prototype.getExecutionId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.PutExecutionResponse} returns this
*/
proto.ml_metadata.PutExecutionResponse.prototype.setExecutionId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutExecutionResponse} returns this
*/
proto.ml_metadata.PutExecutionResponse.prototype.clearExecutionId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutExecutionResponse.prototype.hasExecutionId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* repeated int64 artifact_ids = 2;
* @return {!Array<number>}
*/
proto.ml_metadata.PutExecutionResponse.prototype.getArtifactIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutExecutionResponse} returns this
*/
proto.ml_metadata.PutExecutionResponse.prototype.setArtifactIdsList = function(value) {
return jspb.Message.setField(this, 2, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutExecutionResponse} returns this
*/
proto.ml_metadata.PutExecutionResponse.prototype.addArtifactIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutExecutionResponse} returns this
*/
proto.ml_metadata.PutExecutionResponse.prototype.clearArtifactIdsList = function() {
return this.setArtifactIdsList([]);
};
/**
* repeated int64 context_ids = 3;
* @return {!Array<number>}
*/
proto.ml_metadata.PutExecutionResponse.prototype.getContextIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutExecutionResponse} returns this
*/
proto.ml_metadata.PutExecutionResponse.prototype.setContextIdsList = function(value) {
return jspb.Message.setField(this, 3, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutExecutionResponse} returns this
*/
proto.ml_metadata.PutExecutionResponse.prototype.addContextIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutExecutionResponse} returns this
*/
proto.ml_metadata.PutExecutionResponse.prototype.clearContextIdsList = function() {
return this.setContextIdsList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutLineageSubgraphRequest.repeatedFields_ = [1,2,3,4];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutLineageSubgraphRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutLineageSubgraphRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutLineageSubgraphRequest.toObject = function(includeInstance, msg) {
var f, obj = {
executionsList: jspb.Message.toObjectList(msg.getExecutionsList(),
ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance),
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance),
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance),
eventEdgesList: jspb.Message.toObjectList(msg.getEventEdgesList(),
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.toObject, includeInstance),
options: (f = msg.getOptions()) && proto.ml_metadata.PutLineageSubgraphRequest.Options.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest}
*/
proto.ml_metadata.PutLineageSubgraphRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutLineageSubgraphRequest;
return proto.ml_metadata.PutLineageSubgraphRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutLineageSubgraphRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest}
*/
proto.ml_metadata.PutLineageSubgraphRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Execution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader);
msg.addExecutions(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
case 4:
var value = new proto.ml_metadata.PutLineageSubgraphRequest.EventEdge;
reader.readMessage(value,proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.deserializeBinaryFromReader);
msg.addEventEdges(value);
break;
case 5:
var value = new proto.ml_metadata.PutLineageSubgraphRequest.Options;
reader.readMessage(value,proto.ml_metadata.PutLineageSubgraphRequest.Options.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 6:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutLineageSubgraphRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutLineageSubgraphRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutLineageSubgraphRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter
);
}
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
f = message.getEventEdgesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
4,
f,
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.serializeBinaryToWriter
);
}
f = message.getOptions();
if (f != null) {
writer.writeMessage(
5,
f,
proto.ml_metadata.PutLineageSubgraphRequest.Options.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
6,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.toObject = function(includeInstance, msg) {
var f, obj = {
executionIndex: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
artifactIndex: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
event: (f = msg.getEvent()) && ml_metadata_proto_metadata_store_pb.Event.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutLineageSubgraphRequest.EventEdge;
return proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt32());
msg.setExecutionIndex(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt32());
msg.setArtifactIndex(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.Event;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader);
msg.setEvent(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt32(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt32(
2,
f
);
}
f = message.getEvent();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter
);
}
};
/**
* optional int32 execution_index = 1;
* @return {number}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.getExecutionIndex = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.setExecutionIndex = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.clearExecutionIndex = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.hasExecutionIndex = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional int32 artifact_index = 2;
* @return {number}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.getArtifactIndex = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.setArtifactIndex = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.clearArtifactIndex = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.hasArtifactIndex = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional Event event = 3;
* @return {?proto.ml_metadata.Event}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.getEvent = function() {
return /** @type{?proto.ml_metadata.Event} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 3));
};
/**
* @param {?proto.ml_metadata.Event|undefined} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.setEvent = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.clearEvent = function() {
return this.setEvent(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.hasEvent = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutLineageSubgraphRequest.Options.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutLineageSubgraphRequest.Options} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.toObject = function(includeInstance, msg) {
var f, obj = {
reuseContextIfAlreadyExist: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f,
reuseArtifactIfAlreadyExistByExternalId: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options}
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutLineageSubgraphRequest.Options;
return proto.ml_metadata.PutLineageSubgraphRequest.Options.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutLineageSubgraphRequest.Options} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options}
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {boolean} */ (reader.readBool());
msg.setReuseContextIfAlreadyExist(value);
break;
case 2:
var value = /** @type {boolean} */ (reader.readBool());
msg.setReuseArtifactIfAlreadyExistByExternalId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutLineageSubgraphRequest.Options.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutLineageSubgraphRequest.Options} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {boolean} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeBool(
1,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeBool(
2,
f
);
}
};
/**
* optional bool reuse_context_if_already_exist = 1;
* @return {boolean}
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.getReuseContextIfAlreadyExist = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.setReuseContextIfAlreadyExist = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.clearReuseContextIfAlreadyExist = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.hasReuseContextIfAlreadyExist = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bool reuse_artifact_if_already_exist_by_external_id = 2;
* @return {boolean}
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.getReuseArtifactIfAlreadyExistByExternalId = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.setReuseArtifactIfAlreadyExistByExternalId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.clearReuseArtifactIfAlreadyExistByExternalId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.hasReuseArtifactIfAlreadyExistByExternalId = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* repeated Execution executions = 1;
* @return {!Array<!proto.ml_metadata.Execution>}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.getExecutionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Execution>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Execution>} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.setExecutionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Execution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.addExecutions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearExecutionsList = function() {
return this.setExecutionsList([]);
};
/**
* repeated Artifact artifacts = 2;
* @return {!Array<!proto.ml_metadata.Artifact>}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_metadata.Artifact>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 2));
};
/**
* @param {!Array<!proto.ml_metadata.Artifact>} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
/**
* @param {!proto.ml_metadata.Artifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.Artifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
/**
* repeated Context contexts = 3;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 3));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 3, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
/**
* repeated EventEdge event_edges = 4;
* @return {!Array<!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge>}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.getEventEdgesList = function() {
return /** @type{!Array<!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.PutLineageSubgraphRequest.EventEdge, 4));
};
/**
* @param {!Array<!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge>} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.setEventEdgesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 4, value);
};
/**
* @param {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.addEventEdges = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ml_metadata.PutLineageSubgraphRequest.EventEdge, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearEventEdgesList = function() {
return this.setEventEdgesList([]);
};
/**
* optional Options options = 5;
* @return {?proto.ml_metadata.PutLineageSubgraphRequest.Options}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.PutLineageSubgraphRequest.Options} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.PutLineageSubgraphRequest.Options, 5));
};
/**
* @param {?proto.ml_metadata.PutLineageSubgraphRequest.Options|undefined} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 5, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional TransactionOptions transaction_options = 6;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 6));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutLineageSubgraphRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutLineageSubgraphResponse.repeatedFields_ = [1,2,3];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutLineageSubgraphResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutLineageSubgraphResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutLineageSubgraphResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
contextIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutLineageSubgraphResponse}
*/
proto.ml_metadata.PutLineageSubgraphResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutLineageSubgraphResponse;
return proto.ml_metadata.PutLineageSubgraphResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutLineageSubgraphResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutLineageSubgraphResponse}
*/
proto.ml_metadata.PutLineageSubgraphResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addExecutionIds(values[i]);
}
break;
case 2:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addArtifactIds(values[i]);
}
break;
case 3:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addContextIds(values[i]);
}
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutLineageSubgraphResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutLineageSubgraphResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutLineageSubgraphResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionIdsList();
if (f.length > 0) {
writer.writePackedInt64(
1,
f
);
}
f = message.getArtifactIdsList();
if (f.length > 0) {
writer.writePackedInt64(
2,
f
);
}
f = message.getContextIdsList();
if (f.length > 0) {
writer.writePackedInt64(
3,
f
);
}
};
/**
* repeated int64 execution_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.getExecutionIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.setExecutionIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.addExecutionIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.clearExecutionIdsList = function() {
return this.setExecutionIdsList([]);
};
/**
* repeated int64 artifact_ids = 2;
* @return {!Array<number>}
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.getArtifactIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.setArtifactIdsList = function(value) {
return jspb.Message.setField(this, 2, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.addArtifactIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.clearArtifactIdsList = function() {
return this.setArtifactIdsList([]);
};
/**
* repeated int64 context_ids = 3;
* @return {!Array<number>}
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.getContextIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.setContextIdsList = function(value) {
return jspb.Message.setField(this, 3, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.addContextIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this
*/
proto.ml_metadata.PutLineageSubgraphResponse.prototype.clearContextIdsList = function() {
return this.setContextIdsList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutTypesRequest.repeatedFields_ = [1,2,3];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutTypesRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutTypesRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutTypesRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutTypesRequest.toObject = function(includeInstance, msg) {
var f, obj = {
artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(),
ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance),
executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(),
ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance),
contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(),
ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance),
canAddFields: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f,
canOmitFields: (f = jspb.Message.getBooleanField(msg, 7)) == null ? undefined : f,
canDeleteFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f,
allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 6, true),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutTypesRequest}
*/
proto.ml_metadata.PutTypesRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutTypesRequest;
return proto.ml_metadata.PutTypesRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutTypesRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutTypesRequest}
*/
proto.ml_metadata.PutTypesRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ArtifactType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader);
msg.addArtifactTypes(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.ExecutionType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader);
msg.addExecutionTypes(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.ContextType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader);
msg.addContextTypes(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanAddFields(value);
break;
case 7:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanOmitFields(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanDeleteFields(value);
break;
case 6:
var value = /** @type {boolean} */ (reader.readBool());
msg.setAllFieldsMatch(value);
break;
case 8:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutTypesRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutTypesRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutTypesRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutTypesRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter
);
}
f = message.getExecutionTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter
);
}
f = message.getContextTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeBool(
4,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeBool(
7,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeBool(
5,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeBool(
6,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
8,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactType artifact_types = 1;
* @return {!Array<!proto.ml_metadata.ArtifactType>}
*/
proto.ml_metadata.PutTypesRequest.prototype.getArtifactTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactType>} value
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.setArtifactTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ArtifactType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.PutTypesRequest.prototype.addArtifactTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.clearArtifactTypesList = function() {
return this.setArtifactTypesList([]);
};
/**
* repeated ExecutionType execution_types = 2;
* @return {!Array<!proto.ml_metadata.ExecutionType>}
*/
proto.ml_metadata.PutTypesRequest.prototype.getExecutionTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ExecutionType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 2));
};
/**
* @param {!Array<!proto.ml_metadata.ExecutionType>} value
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.setExecutionTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
/**
* @param {!proto.ml_metadata.ExecutionType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ExecutionType}
*/
proto.ml_metadata.PutTypesRequest.prototype.addExecutionTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.ExecutionType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.clearExecutionTypesList = function() {
return this.setExecutionTypesList([]);
};
/**
* repeated ContextType context_types = 3;
* @return {!Array<!proto.ml_metadata.ContextType>}
*/
proto.ml_metadata.PutTypesRequest.prototype.getContextTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ContextType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 3));
};
/**
* @param {!Array<!proto.ml_metadata.ContextType>} value
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.setContextTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 3, value);
};
/**
* @param {!proto.ml_metadata.ContextType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ContextType}
*/
proto.ml_metadata.PutTypesRequest.prototype.addContextTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ml_metadata.ContextType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.clearContextTypesList = function() {
return this.setContextTypesList([]);
};
/**
* optional bool can_add_fields = 4;
* @return {boolean}
*/
proto.ml_metadata.PutTypesRequest.prototype.getCanAddFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.setCanAddFields = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.clearCanAddFields = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutTypesRequest.prototype.hasCanAddFields = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional bool can_omit_fields = 7;
* @return {boolean}
*/
proto.ml_metadata.PutTypesRequest.prototype.getCanOmitFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.setCanOmitFields = function(value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.clearCanOmitFields = function() {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutTypesRequest.prototype.hasCanOmitFields = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional bool can_delete_fields = 5;
* @return {boolean}
*/
proto.ml_metadata.PutTypesRequest.prototype.getCanDeleteFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.setCanDeleteFields = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.clearCanDeleteFields = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutTypesRequest.prototype.hasCanDeleteFields = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional bool all_fields_match = 6;
* @return {boolean}
*/
proto.ml_metadata.PutTypesRequest.prototype.getAllFieldsMatch = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, true));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.setAllFieldsMatch = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.clearAllFieldsMatch = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutTypesRequest.prototype.hasAllFieldsMatch = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional TransactionOptions transaction_options = 8;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutTypesRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 8));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 8, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutTypesRequest} returns this
*/
proto.ml_metadata.PutTypesRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutTypesRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 8) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutTypesResponse.repeatedFields_ = [1,2,3];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutTypesResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutTypesResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutTypesResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutTypesResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactTypeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
executionTypeIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
contextTypeIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutTypesResponse}
*/
proto.ml_metadata.PutTypesResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutTypesResponse;
return proto.ml_metadata.PutTypesResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutTypesResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutTypesResponse}
*/
proto.ml_metadata.PutTypesResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addArtifactTypeIds(values[i]);
}
break;
case 2:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addExecutionTypeIds(values[i]);
}
break;
case 3:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addContextTypeIds(values[i]);
}
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutTypesResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutTypesResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutTypesResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutTypesResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactTypeIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
f = message.getExecutionTypeIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
2,
f
);
}
f = message.getContextTypeIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
3,
f
);
}
};
/**
* repeated int64 artifact_type_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.PutTypesResponse.prototype.getArtifactTypeIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutTypesResponse} returns this
*/
proto.ml_metadata.PutTypesResponse.prototype.setArtifactTypeIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutTypesResponse} returns this
*/
proto.ml_metadata.PutTypesResponse.prototype.addArtifactTypeIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutTypesResponse} returns this
*/
proto.ml_metadata.PutTypesResponse.prototype.clearArtifactTypeIdsList = function() {
return this.setArtifactTypeIdsList([]);
};
/**
* repeated int64 execution_type_ids = 2;
* @return {!Array<number>}
*/
proto.ml_metadata.PutTypesResponse.prototype.getExecutionTypeIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutTypesResponse} returns this
*/
proto.ml_metadata.PutTypesResponse.prototype.setExecutionTypeIdsList = function(value) {
return jspb.Message.setField(this, 2, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutTypesResponse} returns this
*/
proto.ml_metadata.PutTypesResponse.prototype.addExecutionTypeIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutTypesResponse} returns this
*/
proto.ml_metadata.PutTypesResponse.prototype.clearExecutionTypeIdsList = function() {
return this.setExecutionTypeIdsList([]);
};
/**
* repeated int64 context_type_ids = 3;
* @return {!Array<number>}
*/
proto.ml_metadata.PutTypesResponse.prototype.getContextTypeIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutTypesResponse} returns this
*/
proto.ml_metadata.PutTypesResponse.prototype.setContextTypeIdsList = function(value) {
return jspb.Message.setField(this, 3, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutTypesResponse} returns this
*/
proto.ml_metadata.PutTypesResponse.prototype.addContextTypeIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutTypesResponse} returns this
*/
proto.ml_metadata.PutTypesResponse.prototype.clearContextTypeIdsList = function() {
return this.setContextTypeIdsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutContextTypeRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutContextTypeRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutContextTypeRequest.toObject = function(includeInstance, msg) {
var f, obj = {
contextType: (f = msg.getContextType()) && ml_metadata_proto_metadata_store_pb.ContextType.toObject(includeInstance, f),
canAddFields: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f,
canOmitFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f,
canDeleteFields: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f,
allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 4, true),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutContextTypeRequest}
*/
proto.ml_metadata.PutContextTypeRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutContextTypeRequest;
return proto.ml_metadata.PutContextTypeRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutContextTypeRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutContextTypeRequest}
*/
proto.ml_metadata.PutContextTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ContextType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader);
msg.setContextType(value);
break;
case 2:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanAddFields(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanOmitFields(value);
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setCanDeleteFields(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setAllFieldsMatch(value);
break;
case 6:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutContextTypeRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutContextTypeRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutContextTypeRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextType();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeBool(
2,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeBool(
5,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeBool(
3,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeBool(
4,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
6,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional ContextType context_type = 1;
* @return {?proto.ml_metadata.ContextType}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.getContextType = function() {
return /** @type{?proto.ml_metadata.ContextType} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1));
};
/**
* @param {?proto.ml_metadata.ContextType|undefined} value
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.setContextType = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.clearContextType = function() {
return this.setContextType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.hasContextType = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bool can_add_fields = 2;
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.getCanAddFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.setCanAddFields = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.clearCanAddFields = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.hasCanAddFields = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional bool can_omit_fields = 5;
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.getCanOmitFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.setCanOmitFields = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.clearCanOmitFields = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.hasCanOmitFields = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional bool can_delete_fields = 3;
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.getCanDeleteFields = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.setCanDeleteFields = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.clearCanDeleteFields = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.hasCanDeleteFields = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional bool all_fields_match = 4;
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.getAllFieldsMatch = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.setAllFieldsMatch = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.clearAllFieldsMatch = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.hasAllFieldsMatch = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional TransactionOptions transaction_options = 6;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 6));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutContextTypeRequest} returns this
*/
proto.ml_metadata.PutContextTypeRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 6) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutContextTypeResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutContextTypeResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutContextTypeResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutContextTypeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
typeId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutContextTypeResponse}
*/
proto.ml_metadata.PutContextTypeResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutContextTypeResponse;
return proto.ml_metadata.PutContextTypeResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutContextTypeResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutContextTypeResponse}
*/
proto.ml_metadata.PutContextTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setTypeId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutContextTypeResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutContextTypeResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutContextTypeResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutContextTypeResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
};
/**
* optional int64 type_id = 1;
* @return {number}
*/
proto.ml_metadata.PutContextTypeResponse.prototype.getTypeId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.PutContextTypeResponse} returns this
*/
proto.ml_metadata.PutContextTypeResponse.prototype.setTypeId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PutContextTypeResponse} returns this
*/
proto.ml_metadata.PutContextTypeResponse.prototype.clearTypeId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutContextTypeResponse.prototype.hasTypeId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutContextsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutContextsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutContextsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutContextsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutContextsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f),
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutContextsRequest}
*/
proto.ml_metadata.PutContextsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutContextsRequest;
return proto.ml_metadata.PutContextsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutContextsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutContextsRequest}
*/
proto.ml_metadata.PutContextsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
case 3:
var value = new google_protobuf_field_mask_pb.FieldMask;
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
msg.setUpdateMask(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutContextsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutContextsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutContextsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutContextsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
f = message.getUpdateMask();
if (f != null) {
writer.writeMessage(
3,
f,
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
);
}
};
/**
* repeated Context contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.PutContextsRequest.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.PutContextsRequest} returns this
*/
proto.ml_metadata.PutContextsRequest.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.PutContextsRequest.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutContextsRequest} returns this
*/
proto.ml_metadata.PutContextsRequest.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutContextsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutContextsRequest} returns this
*/
proto.ml_metadata.PutContextsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutContextsRequest} returns this
*/
proto.ml_metadata.PutContextsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutContextsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional google.protobuf.FieldMask update_mask = 3;
* @return {?proto.google.protobuf.FieldMask}
*/
proto.ml_metadata.PutContextsRequest.prototype.getUpdateMask = function() {
return /** @type{?proto.google.protobuf.FieldMask} */ (
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
};
/**
* @param {?proto.google.protobuf.FieldMask|undefined} value
* @return {!proto.ml_metadata.PutContextsRequest} returns this
*/
proto.ml_metadata.PutContextsRequest.prototype.setUpdateMask = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutContextsRequest} returns this
*/
proto.ml_metadata.PutContextsRequest.prototype.clearUpdateMask = function() {
return this.setUpdateMask(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutContextsRequest.prototype.hasUpdateMask = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutContextsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutContextsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutContextsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutContextsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutContextsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutContextsResponse}
*/
proto.ml_metadata.PutContextsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutContextsResponse;
return proto.ml_metadata.PutContextsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutContextsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutContextsResponse}
*/
proto.ml_metadata.PutContextsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addContextIds(values[i]);
}
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutContextsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutContextsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutContextsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutContextsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
};
/**
* repeated int64 context_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.PutContextsResponse.prototype.getContextIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.PutContextsResponse} returns this
*/
proto.ml_metadata.PutContextsResponse.prototype.setContextIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.PutContextsResponse} returns this
*/
proto.ml_metadata.PutContextsResponse.prototype.addContextIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutContextsResponse} returns this
*/
proto.ml_metadata.PutContextsResponse.prototype.clearContextIdsList = function() {
return this.setContextIdsList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.repeatedFields_ = [1,2];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutAttributionsAndAssociationsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
attributionsList: jspb.Message.toObjectList(msg.getAttributionsList(),
ml_metadata_proto_metadata_store_pb.Attribution.toObject, includeInstance),
associationsList: jspb.Message.toObjectList(msg.getAssociationsList(),
ml_metadata_proto_metadata_store_pb.Association.toObject, includeInstance),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutAttributionsAndAssociationsRequest;
return proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Attribution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Attribution.deserializeBinaryFromReader);
msg.addAttributions(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.Association;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Association.deserializeBinaryFromReader);
msg.addAssociations(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutAttributionsAndAssociationsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getAttributionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Attribution.serializeBinaryToWriter
);
}
f = message.getAssociationsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.Association.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated Attribution attributions = 1;
* @return {!Array<!proto.ml_metadata.Attribution>}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.getAttributionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Attribution>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Attribution, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Attribution>} value
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.setAttributionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Attribution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Attribution}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.addAttributions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Attribution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.clearAttributionsList = function() {
return this.setAttributionsList([]);
};
/**
* repeated Association associations = 2;
* @return {!Array<!proto.ml_metadata.Association>}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.getAssociationsList = function() {
return /** @type{!Array<!proto.ml_metadata.Association>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Association, 2));
};
/**
* @param {!Array<!proto.ml_metadata.Association>} value
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.setAssociationsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
/**
* @param {!proto.ml_metadata.Association=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Association}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.addAssociations = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.Association, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.clearAssociationsList = function() {
return this.setAssociationsList([]);
};
/**
* optional TransactionOptions transaction_options = 3;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutAttributionsAndAssociationsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutAttributionsAndAssociationsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutAttributionsAndAssociationsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsResponse}
*/
proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutAttributionsAndAssociationsResponse;
return proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutAttributionsAndAssociationsResponse}
*/
proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutAttributionsAndAssociationsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutAttributionsAndAssociationsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutAttributionsAndAssociationsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.PutParentContextsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutParentContextsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutParentContextsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutParentContextsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutParentContextsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
parentContextsList: jspb.Message.toObjectList(msg.getParentContextsList(),
ml_metadata_proto_metadata_store_pb.ParentContext.toObject, includeInstance),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutParentContextsRequest}
*/
proto.ml_metadata.PutParentContextsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutParentContextsRequest;
return proto.ml_metadata.PutParentContextsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutParentContextsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutParentContextsRequest}
*/
proto.ml_metadata.PutParentContextsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ParentContext;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ParentContext.deserializeBinaryFromReader);
msg.addParentContexts(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutParentContextsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutParentContextsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutParentContextsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutParentContextsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParentContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ParentContext.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated ParentContext parent_contexts = 1;
* @return {!Array<!proto.ml_metadata.ParentContext>}
*/
proto.ml_metadata.PutParentContextsRequest.prototype.getParentContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.ParentContext>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ParentContext, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ParentContext>} value
* @return {!proto.ml_metadata.PutParentContextsRequest} returns this
*/
proto.ml_metadata.PutParentContextsRequest.prototype.setParentContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ParentContext=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ParentContext}
*/
proto.ml_metadata.PutParentContextsRequest.prototype.addParentContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ParentContext, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.PutParentContextsRequest} returns this
*/
proto.ml_metadata.PutParentContextsRequest.prototype.clearParentContextsList = function() {
return this.setParentContextsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.PutParentContextsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.PutParentContextsRequest} returns this
*/
proto.ml_metadata.PutParentContextsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PutParentContextsRequest} returns this
*/
proto.ml_metadata.PutParentContextsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PutParentContextsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PutParentContextsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PutParentContextsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PutParentContextsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutParentContextsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PutParentContextsResponse}
*/
proto.ml_metadata.PutParentContextsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PutParentContextsResponse;
return proto.ml_metadata.PutParentContextsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PutParentContextsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PutParentContextsResponse}
*/
proto.ml_metadata.PutParentContextsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PutParentContextsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PutParentContextsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PutParentContextsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PutParentContextsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByTypeRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByTypeRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByTypeRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByTypeRequest;
return proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByTypeRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setTypeVersion(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 4:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByTypeRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByTypeRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByTypeRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
4,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string type_version = 2;
* @return {string}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getTypeVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setTypeVersion = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTypeVersion = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTypeVersion = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional ListOperationOptions options = 3;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 3));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional TransactionOptions transaction_options = 4;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactsByTypeResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByTypeResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByTypeResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByTypeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance),
nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByTypeResponse}
*/
proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByTypeResponse;
return proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByTypeResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByTypeResponse}
*/
proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setNextPageToken(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByTypeResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByTypeResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByTypeResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
};
/**
* repeated Artifact artifacts = 1;
* @return {!Array<!proto.ml_metadata.Artifact>}
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_metadata.Artifact>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Artifact>} value
* @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Artifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
/**
* optional string next_page_token = 2;
* @return {string}
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.getNextPageToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.setNextPageToken = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.clearNextPageToken = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByTypeResponse.prototype.hasNextPageToken = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactByTypeAndNameRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
artifactName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactByTypeAndNameRequest;
return proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setTypeVersion(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setArtifactName(value);
break;
case 4:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactByTypeAndNameRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
4,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string type_version = 3;
* @return {string}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getTypeVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setTypeVersion = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTypeVersion = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasTypeVersion = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string artifact_name = 2;
* @return {string}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getArtifactName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setArtifactName = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearArtifactName = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasArtifactName = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 4;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 4) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactByTypeAndNameResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifact: (f = msg.getArtifact()) && ml_metadata_proto_metadata_store_pb.Artifact.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse}
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactByTypeAndNameResponse;
return proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse}
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.setArtifact(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactByTypeAndNameResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifact();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
};
/**
* optional Artifact artifact = 1;
* @return {?proto.ml_metadata.Artifact}
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.getArtifact = function() {
return /** @type{?proto.ml_metadata.Artifact} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {?proto.ml_metadata.Artifact|undefined} value
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.setArtifact = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} returns this
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.clearArtifact = function() {
return this.setArtifact(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.hasArtifact = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactsByIDRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByIDRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByIDRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByIDRequest.toObject = function(includeInstance, msg) {
var f, obj = {
artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
populateArtifactTypes: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByIDRequest}
*/
proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByIDRequest;
return proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByIDRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByIDRequest}
*/
proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addArtifactIds(values[i]);
}
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setPopulateArtifactTypes(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByIDRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByIDRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByIDRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeBool(
3,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 artifact_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.getArtifactIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.setArtifactIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.addArtifactIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearArtifactIdsList = function() {
return this.setArtifactIdsList([]);
};
/**
* optional bool populate_artifact_types = 3;
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.getPopulateArtifactTypes = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.setPopulateArtifactTypes = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearPopulateArtifactTypes = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.hasPopulateArtifactTypes = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByIDRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactsByIDResponse.repeatedFields_ = [1,2];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByIDResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByIDResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByIDResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance),
artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(),
ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByIDResponse}
*/
proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByIDResponse;
return proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByIDResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByIDResponse}
*/
proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.ArtifactType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader);
msg.addArtifactTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByIDResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByIDResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByIDResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
f = message.getArtifactTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter
);
}
};
/**
* repeated Artifact artifacts = 1;
* @return {!Array<!proto.ml_metadata.Artifact>}
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_metadata.Artifact>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Artifact>} value
* @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Artifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
/**
* repeated ArtifactType artifact_types = 2;
* @return {!Array<!proto.ml_metadata.ArtifactType>}
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.getArtifactTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 2));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactType>} value
* @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.setArtifactTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
/**
* @param {!proto.ml_metadata.ArtifactType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.addArtifactTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.ArtifactType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this
*/
proto.ml_metadata.GetArtifactsByIDResponse.prototype.clearArtifactTypesList = function() {
return this.setArtifactTypesList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsRequest}
*/
proto.ml_metadata.GetArtifactsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsRequest;
return proto.ml_metadata.GetArtifactsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsRequest}
*/
proto.ml_metadata.GetArtifactsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOptions();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional ListOperationOptions options = 1;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.GetArtifactsRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 1));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactsRequest} returns this
*/
proto.ml_metadata.GetArtifactsRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsRequest} returns this
*/
proto.ml_metadata.GetArtifactsRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactsRequest} returns this
*/
proto.ml_metadata.GetArtifactsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsRequest} returns this
*/
proto.ml_metadata.GetArtifactsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance),
nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsResponse}
*/
proto.ml_metadata.GetArtifactsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsResponse;
return proto.ml_metadata.GetArtifactsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsResponse}
*/
proto.ml_metadata.GetArtifactsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setNextPageToken(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
};
/**
* repeated Artifact artifacts = 1;
* @return {!Array<!proto.ml_metadata.Artifact>}
*/
proto.ml_metadata.GetArtifactsResponse.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_metadata.Artifact>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Artifact>} value
* @return {!proto.ml_metadata.GetArtifactsResponse} returns this
*/
proto.ml_metadata.GetArtifactsResponse.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Artifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.GetArtifactsResponse.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsResponse} returns this
*/
proto.ml_metadata.GetArtifactsResponse.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
/**
* optional string next_page_token = 2;
* @return {string}
*/
proto.ml_metadata.GetArtifactsResponse.prototype.getNextPageToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactsResponse} returns this
*/
proto.ml_metadata.GetArtifactsResponse.prototype.setNextPageToken = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsResponse} returns this
*/
proto.ml_metadata.GetArtifactsResponse.prototype.clearNextPageToken = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsResponse.prototype.hasNextPageToken = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactsByURIRequest.repeatedFields_ = [2];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByURIRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByURIRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByURIRequest.toObject = function(includeInstance, msg) {
var f, obj = {
urisList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByURIRequest}
*/
proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByURIRequest;
return proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByURIRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByURIRequest}
*/
proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 2:
var value = /** @type {string} */ (reader.readString());
msg.addUris(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByURIRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByURIRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByURIRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getUrisList();
if (f.length > 0) {
writer.writeRepeatedString(
2,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated string uris = 2;
* @return {!Array<string>}
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.getUrisList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.setUrisList = function(value) {
return jspb.Message.setField(this, 2, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.addUris = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.clearUrisList = function() {
return this.setUrisList([]);
};
/**
* optional TransactionOptions transaction_options = 3;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByURIRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactsByURIResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByURIResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByURIResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByURIResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByURIResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByURIResponse}
*/
proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByURIResponse;
return proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByURIResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByURIResponse}
*/
proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByURIResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByURIResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByURIResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByURIResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
};
/**
* repeated Artifact artifacts = 1;
* @return {!Array<!proto.ml_metadata.Artifact>}
*/
proto.ml_metadata.GetArtifactsByURIResponse.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_metadata.Artifact>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Artifact>} value
* @return {!proto.ml_metadata.GetArtifactsByURIResponse} returns this
*/
proto.ml_metadata.GetArtifactsByURIResponse.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Artifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.GetArtifactsByURIResponse.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsByURIResponse} returns this
*/
proto.ml_metadata.GetArtifactsByURIResponse.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsRequest}
*/
proto.ml_metadata.GetExecutionsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsRequest;
return proto.ml_metadata.GetExecutionsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsRequest}
*/
proto.ml_metadata.GetExecutionsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOptions();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional ListOperationOptions options = 1;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.GetExecutionsRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 1));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionsRequest} returns this
*/
proto.ml_metadata.GetExecutionsRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsRequest} returns this
*/
proto.ml_metadata.GetExecutionsRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionsRequest} returns this
*/
proto.ml_metadata.GetExecutionsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsRequest} returns this
*/
proto.ml_metadata.GetExecutionsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionsList: jspb.Message.toObjectList(msg.getExecutionsList(),
ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance),
nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsResponse}
*/
proto.ml_metadata.GetExecutionsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsResponse;
return proto.ml_metadata.GetExecutionsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsResponse}
*/
proto.ml_metadata.GetExecutionsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Execution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader);
msg.addExecutions(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setNextPageToken(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
};
/**
* repeated Execution executions = 1;
* @return {!Array<!proto.ml_metadata.Execution>}
*/
proto.ml_metadata.GetExecutionsResponse.prototype.getExecutionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Execution>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Execution>} value
* @return {!proto.ml_metadata.GetExecutionsResponse} returns this
*/
proto.ml_metadata.GetExecutionsResponse.prototype.setExecutionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Execution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.GetExecutionsResponse.prototype.addExecutions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionsResponse} returns this
*/
proto.ml_metadata.GetExecutionsResponse.prototype.clearExecutionsList = function() {
return this.setExecutionsList([]);
};
/**
* optional string next_page_token = 2;
* @return {string}
*/
proto.ml_metadata.GetExecutionsResponse.prototype.getNextPageToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionsResponse} returns this
*/
proto.ml_metadata.GetExecutionsResponse.prototype.setNextPageToken = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsResponse} returns this
*/
proto.ml_metadata.GetExecutionsResponse.prototype.clearNextPageToken = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsResponse.prototype.hasNextPageToken = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactTypeRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactTypeRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypeRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactTypeRequest}
*/
proto.ml_metadata.GetArtifactTypeRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactTypeRequest;
return proto.ml_metadata.GetArtifactTypeRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactTypeRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactTypeRequest}
*/
proto.ml_metadata.GetArtifactTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setTypeVersion(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactTypeRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactTypeRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypeRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string type_version = 2;
* @return {string}
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.getTypeVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.setTypeVersion = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTypeVersion = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.hasTypeVersion = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 3;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactTypeRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactTypeResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactTypeResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactTypeResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactType: (f = msg.getArtifactType()) && ml_metadata_proto_metadata_store_pb.ArtifactType.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactTypeResponse}
*/
proto.ml_metadata.GetArtifactTypeResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactTypeResponse;
return proto.ml_metadata.GetArtifactTypeResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactTypeResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactTypeResponse}
*/
proto.ml_metadata.GetArtifactTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ArtifactType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader);
msg.setArtifactType(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactTypeResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactTypeResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactTypeResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypeResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactType();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter
);
}
};
/**
* optional ArtifactType artifact_type = 1;
* @return {?proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.GetArtifactTypeResponse.prototype.getArtifactType = function() {
return /** @type{?proto.ml_metadata.ArtifactType} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1));
};
/**
* @param {?proto.ml_metadata.ArtifactType|undefined} value
* @return {!proto.ml_metadata.GetArtifactTypeResponse} returns this
*/
proto.ml_metadata.GetArtifactTypeResponse.prototype.setArtifactType = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactTypeResponse} returns this
*/
proto.ml_metadata.GetArtifactTypeResponse.prototype.clearArtifactType = function() {
return this.setArtifactType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactTypeResponse.prototype.hasArtifactType = function() {
return jspb.Message.getField(this, 1) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactTypesRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactTypesRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactTypesRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesRequest.toObject = function(includeInstance, msg) {
var f, obj = {
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactTypesRequest}
*/
proto.ml_metadata.GetArtifactTypesRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactTypesRequest;
return proto.ml_metadata.GetArtifactTypesRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactTypesRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactTypesRequest}
*/
proto.ml_metadata.GetArtifactTypesRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactTypesRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactTypesRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactTypesRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional TransactionOptions transaction_options = 1;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactTypesRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 1));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactTypesRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactTypesRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactTypesRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactTypesResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactTypesResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactTypesResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactTypesResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(),
ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactTypesResponse}
*/
proto.ml_metadata.GetArtifactTypesResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactTypesResponse;
return proto.ml_metadata.GetArtifactTypesResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactTypesResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactTypesResponse}
*/
proto.ml_metadata.GetArtifactTypesResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ArtifactType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader);
msg.addArtifactTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactTypesResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactTypesResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactTypesResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactType artifact_types = 1;
* @return {!Array<!proto.ml_metadata.ArtifactType>}
*/
proto.ml_metadata.GetArtifactTypesResponse.prototype.getArtifactTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactType>} value
* @return {!proto.ml_metadata.GetArtifactTypesResponse} returns this
*/
proto.ml_metadata.GetArtifactTypesResponse.prototype.setArtifactTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ArtifactType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.GetArtifactTypesResponse.prototype.addArtifactTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactTypesResponse} returns this
*/
proto.ml_metadata.GetArtifactTypesResponse.prototype.clearArtifactTypesList = function() {
return this.setArtifactTypesList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionTypesRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionTypesRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionTypesRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesRequest.toObject = function(includeInstance, msg) {
var f, obj = {
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionTypesRequest}
*/
proto.ml_metadata.GetExecutionTypesRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionTypesRequest;
return proto.ml_metadata.GetExecutionTypesRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionTypesRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionTypesRequest}
*/
proto.ml_metadata.GetExecutionTypesRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionTypesRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionTypesRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionTypesRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional TransactionOptions transaction_options = 1;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionTypesRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 1));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionTypesRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionTypesRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionTypesRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionTypesResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionTypesResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionTypesResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionTypesResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(),
ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionTypesResponse}
*/
proto.ml_metadata.GetExecutionTypesResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionTypesResponse;
return proto.ml_metadata.GetExecutionTypesResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionTypesResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionTypesResponse}
*/
proto.ml_metadata.GetExecutionTypesResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ExecutionType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader);
msg.addExecutionTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionTypesResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionTypesResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionTypesResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter
);
}
};
/**
* repeated ExecutionType execution_types = 1;
* @return {!Array<!proto.ml_metadata.ExecutionType>}
*/
proto.ml_metadata.GetExecutionTypesResponse.prototype.getExecutionTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ExecutionType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ExecutionType>} value
* @return {!proto.ml_metadata.GetExecutionTypesResponse} returns this
*/
proto.ml_metadata.GetExecutionTypesResponse.prototype.setExecutionTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ExecutionType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ExecutionType}
*/
proto.ml_metadata.GetExecutionTypesResponse.prototype.addExecutionTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ExecutionType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionTypesResponse} returns this
*/
proto.ml_metadata.GetExecutionTypesResponse.prototype.clearExecutionTypesList = function() {
return this.setExecutionTypesList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextTypesRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextTypesRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextTypesRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesRequest.toObject = function(includeInstance, msg) {
var f, obj = {
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextTypesRequest}
*/
proto.ml_metadata.GetContextTypesRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextTypesRequest;
return proto.ml_metadata.GetContextTypesRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextTypesRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextTypesRequest}
*/
proto.ml_metadata.GetContextTypesRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextTypesRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextTypesRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextTypesRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional TransactionOptions transaction_options = 1;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextTypesRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 1));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextTypesRequest} returns this
*/
proto.ml_metadata.GetContextTypesRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextTypesRequest} returns this
*/
proto.ml_metadata.GetContextTypesRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextTypesRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextTypesResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextTypesResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextTypesResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextTypesResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(),
ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextTypesResponse}
*/
proto.ml_metadata.GetContextTypesResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextTypesResponse;
return proto.ml_metadata.GetContextTypesResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextTypesResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextTypesResponse}
*/
proto.ml_metadata.GetContextTypesResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ContextType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader);
msg.addContextTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextTypesResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextTypesResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextTypesResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter
);
}
};
/**
* repeated ContextType context_types = 1;
* @return {!Array<!proto.ml_metadata.ContextType>}
*/
proto.ml_metadata.GetContextTypesResponse.prototype.getContextTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ContextType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ContextType>} value
* @return {!proto.ml_metadata.GetContextTypesResponse} returns this
*/
proto.ml_metadata.GetContextTypesResponse.prototype.setContextTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ContextType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ContextType}
*/
proto.ml_metadata.GetContextTypesResponse.prototype.addContextTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ContextType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextTypesResponse} returns this
*/
proto.ml_metadata.GetContextTypesResponse.prototype.clearContextTypesList = function() {
return this.setContextTypesList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByExternalIdsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest}
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByExternalIdsRequest;
return proto.ml_metadata.GetArtifactsByExternalIdsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest}
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.addExternalIds(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByExternalIdsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExternalIdsList();
if (f.length > 0) {
writer.writeRepeatedString(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated string external_ids = 1;
* @return {!Array<string>}
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.getExternalIdsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.setExternalIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.clearExternalIdsList = function() {
return this.setExternalIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByExternalIdsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsResponse}
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByExternalIdsResponse;
return proto.ml_metadata.GetArtifactsByExternalIdsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsResponse}
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByExternalIdsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
};
/**
* repeated Artifact artifacts = 1;
* @return {!Array<!proto.ml_metadata.Artifact>}
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_metadata.Artifact>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Artifact>} value
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Artifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsByExternalIdsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest}
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsByExternalIdsRequest;
return proto.ml_metadata.GetExecutionsByExternalIdsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest}
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.addExternalIds(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsByExternalIdsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExternalIdsList();
if (f.length > 0) {
writer.writeRepeatedString(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated string external_ids = 1;
* @return {!Array<string>}
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.getExternalIdsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.setExternalIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.clearExternalIdsList = function() {
return this.setExternalIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsByExternalIdsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionsList: jspb.Message.toObjectList(msg.getExecutionsList(),
ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsResponse}
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsByExternalIdsResponse;
return proto.ml_metadata.GetExecutionsByExternalIdsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsResponse}
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Execution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader);
msg.addExecutions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsByExternalIdsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter
);
}
};
/**
* repeated Execution executions = 1;
* @return {!Array<!proto.ml_metadata.Execution>}
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.getExecutionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Execution>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Execution>} value
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.setExecutionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Execution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.addExecutions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.clearExecutionsList = function() {
return this.setExecutionsList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByExternalIdsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByExternalIdsRequest}
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByExternalIdsRequest;
return proto.ml_metadata.GetContextsByExternalIdsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByExternalIdsRequest}
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.addExternalIds(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByExternalIdsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExternalIdsList();
if (f.length > 0) {
writer.writeRepeatedString(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated string external_ids = 1;
* @return {!Array<string>}
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.getExternalIdsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.setExternalIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.clearExternalIdsList = function() {
return this.setExternalIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByExternalIdsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByExternalIdsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByExternalIdsResponse}
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByExternalIdsResponse;
return proto.ml_metadata.GetContextsByExternalIdsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByExternalIdsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByExternalIdsResponse}
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByExternalIdsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByExternalIdsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
};
/**
* repeated Context contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetContextsByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextsByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactTypesByExternalIdsRequest;
return proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.addExternalIds(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExternalIdsList();
if (f.length > 0) {
writer.writeRepeatedString(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated string external_ids = 1;
* @return {!Array<string>}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.getExternalIdsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.setExternalIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.clearExternalIdsList = function() {
return this.setExternalIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(),
ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactTypesByExternalIdsResponse;
return proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ArtifactType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader);
msg.addArtifactTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactType artifact_types = 1;
* @return {!Array<!proto.ml_metadata.ArtifactType>}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.getArtifactTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactType>} value
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.setArtifactTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ArtifactType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.addArtifactTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.clearArtifactTypesList = function() {
return this.setArtifactTypesList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionTypesByExternalIdsRequest;
return proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.addExternalIds(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExternalIdsList();
if (f.length > 0) {
writer.writeRepeatedString(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated string external_ids = 1;
* @return {!Array<string>}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.getExternalIdsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.setExternalIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.clearExternalIdsList = function() {
return this.setExternalIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(),
ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionTypesByExternalIdsResponse;
return proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ExecutionType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader);
msg.addExecutionTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter
);
}
};
/**
* repeated ExecutionType execution_types = 1;
* @return {!Array<!proto.ml_metadata.ExecutionType>}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.getExecutionTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ExecutionType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ExecutionType>} value
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.setExecutionTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ExecutionType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ExecutionType}
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.addExecutionTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ExecutionType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.clearExecutionTypesList = function() {
return this.setExecutionTypesList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextTypesByExternalIdsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest}
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextTypesByExternalIdsRequest;
return proto.ml_metadata.GetContextTypesByExternalIdsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest}
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.addExternalIds(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextTypesByExternalIdsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExternalIdsList();
if (f.length > 0) {
writer.writeRepeatedString(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated string external_ids = 1;
* @return {!Array<string>}
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.getExternalIdsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.setExternalIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.clearExternalIdsList = function() {
return this.setExternalIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextTypesByExternalIdsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(),
ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsResponse}
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextTypesByExternalIdsResponse;
return proto.ml_metadata.GetContextTypesByExternalIdsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsResponse}
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ContextType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader);
msg.addContextTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextTypesByExternalIdsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter
);
}
};
/**
* repeated ContextType context_types = 1;
* @return {!Array<!proto.ml_metadata.ContextType>}
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.getContextTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ContextType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ContextType>} value
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.setContextTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ContextType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ContextType}
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.addContextTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ContextType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} returns this
*/
proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.clearContextTypesList = function() {
return this.setContextTypesList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsByTypeRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsByTypeRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByTypeRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsByTypeRequest;
return proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsByTypeRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setTypeVersion(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 4:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsByTypeRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsByTypeRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByTypeRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
4,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string type_version = 2;
* @return {string}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getTypeVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setTypeVersion = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTypeVersion = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTypeVersion = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional ListOperationOptions options = 3;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 3));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional TransactionOptions transaction_options = 4;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionsByTypeResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsByTypeResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsByTypeResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByTypeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionsList: jspb.Message.toObjectList(msg.getExecutionsList(),
ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance),
nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsByTypeResponse}
*/
proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsByTypeResponse;
return proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsByTypeResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsByTypeResponse}
*/
proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Execution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader);
msg.addExecutions(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setNextPageToken(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsByTypeResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsByTypeResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByTypeResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
};
/**
* repeated Execution executions = 1;
* @return {!Array<!proto.ml_metadata.Execution>}
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.getExecutionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Execution>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Execution>} value
* @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.setExecutionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Execution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.addExecutions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.clearExecutionsList = function() {
return this.setExecutionsList([]);
};
/**
* optional string next_page_token = 2;
* @return {string}
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.getNextPageToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.setNextPageToken = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.clearNextPageToken = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByTypeResponse.prototype.hasNextPageToken = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionByTypeAndNameRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
executionName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionByTypeAndNameRequest;
return proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setTypeVersion(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setExecutionName(value);
break;
case 4:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionByTypeAndNameRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
4,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string type_version = 3;
* @return {string}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getTypeVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setTypeVersion = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTypeVersion = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasTypeVersion = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string execution_name = 2;
* @return {string}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getExecutionName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setExecutionName = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearExecutionName = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasExecutionName = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 4;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 4) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionByTypeAndNameResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.toObject = function(includeInstance, msg) {
var f, obj = {
execution: (f = msg.getExecution()) && ml_metadata_proto_metadata_store_pb.Execution.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse}
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionByTypeAndNameResponse;
return proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse}
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Execution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader);
msg.setExecution(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionByTypeAndNameResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecution();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter
);
}
};
/**
* optional Execution execution = 1;
* @return {?proto.ml_metadata.Execution}
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.getExecution = function() {
return /** @type{?proto.ml_metadata.Execution} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1));
};
/**
* @param {?proto.ml_metadata.Execution|undefined} value
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.setExecution = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} returns this
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.clearExecution = function() {
return this.setExecution(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.hasExecution = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionsByIDRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsByIDRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsByIDRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByIDRequest.toObject = function(includeInstance, msg) {
var f, obj = {
executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsByIDRequest}
*/
proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsByIDRequest;
return proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsByIDRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsByIDRequest}
*/
proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addExecutionIds(values[i]);
}
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsByIDRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsByIDRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByIDRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 execution_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.getExecutionIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.setExecutionIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.addExecutionIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.clearExecutionIdsList = function() {
return this.setExecutionIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByIDRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionsByIDResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsByIDResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsByIDResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsByIDResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByIDResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionsList: jspb.Message.toObjectList(msg.getExecutionsList(),
ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsByIDResponse}
*/
proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsByIDResponse;
return proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsByIDResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsByIDResponse}
*/
proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Execution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader);
msg.addExecutions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsByIDResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsByIDResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsByIDResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByIDResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter
);
}
};
/**
* repeated Execution executions = 1;
* @return {!Array<!proto.ml_metadata.Execution>}
*/
proto.ml_metadata.GetExecutionsByIDResponse.prototype.getExecutionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Execution>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Execution>} value
* @return {!proto.ml_metadata.GetExecutionsByIDResponse} returns this
*/
proto.ml_metadata.GetExecutionsByIDResponse.prototype.setExecutionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Execution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.GetExecutionsByIDResponse.prototype.addExecutions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionsByIDResponse} returns this
*/
proto.ml_metadata.GetExecutionsByIDResponse.prototype.clearExecutionsList = function() {
return this.setExecutionsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionTypeRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionTypeRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypeRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionTypeRequest}
*/
proto.ml_metadata.GetExecutionTypeRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionTypeRequest;
return proto.ml_metadata.GetExecutionTypeRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionTypeRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionTypeRequest}
*/
proto.ml_metadata.GetExecutionTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setTypeVersion(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionTypeRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionTypeRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypeRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string type_version = 2;
* @return {string}
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.getTypeVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.setTypeVersion = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTypeVersion = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.hasTypeVersion = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 3;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionTypeRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionTypeResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionTypeResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionTypeResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionType: (f = msg.getExecutionType()) && ml_metadata_proto_metadata_store_pb.ExecutionType.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionTypeResponse}
*/
proto.ml_metadata.GetExecutionTypeResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionTypeResponse;
return proto.ml_metadata.GetExecutionTypeResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionTypeResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionTypeResponse}
*/
proto.ml_metadata.GetExecutionTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ExecutionType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader);
msg.setExecutionType(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionTypeResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionTypeResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionTypeResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypeResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionType();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter
);
}
};
/**
* optional ExecutionType execution_type = 1;
* @return {?proto.ml_metadata.ExecutionType}
*/
proto.ml_metadata.GetExecutionTypeResponse.prototype.getExecutionType = function() {
return /** @type{?proto.ml_metadata.ExecutionType} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1));
};
/**
* @param {?proto.ml_metadata.ExecutionType|undefined} value
* @return {!proto.ml_metadata.GetExecutionTypeResponse} returns this
*/
proto.ml_metadata.GetExecutionTypeResponse.prototype.setExecutionType = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionTypeResponse} returns this
*/
proto.ml_metadata.GetExecutionTypeResponse.prototype.clearExecutionType = function() {
return this.setExecutionType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionTypeResponse.prototype.hasExecutionType = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetEventsByExecutionIDsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest}
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetEventsByExecutionIDsRequest;
return proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest}
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addExecutionIds(values[i]);
}
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetEventsByExecutionIDsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 execution_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.getExecutionIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.setExecutionIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.addExecutionIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.clearExecutionIdsList = function() {
return this.setExecutionIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetEventsByExecutionIDsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetEventsByExecutionIDsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
eventsList: jspb.Message.toObjectList(msg.getEventsList(),
ml_metadata_proto_metadata_store_pb.Event.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse}
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetEventsByExecutionIDsResponse;
return proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetEventsByExecutionIDsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse}
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Event;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader);
msg.addEvents(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetEventsByExecutionIDsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetEventsByExecutionIDsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getEventsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter
);
}
};
/**
* repeated Event events = 1;
* @return {!Array<!proto.ml_metadata.Event>}
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.getEventsList = function() {
return /** @type{!Array<!proto.ml_metadata.Event>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Event>} value
* @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} returns this
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.setEventsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Event=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Event}
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.addEvents = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} returns this
*/
proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.clearEventsList = function() {
return this.setEventsList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetEventsByArtifactIDsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest}
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetEventsByArtifactIDsRequest;
return proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest}
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addArtifactIds(values[i]);
}
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetEventsByArtifactIDsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 artifact_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.getArtifactIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.setArtifactIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.addArtifactIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.clearArtifactIdsList = function() {
return this.setArtifactIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetEventsByArtifactIDsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetEventsByArtifactIDsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
eventsList: jspb.Message.toObjectList(msg.getEventsList(),
ml_metadata_proto_metadata_store_pb.Event.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse}
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetEventsByArtifactIDsResponse;
return proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetEventsByArtifactIDsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse}
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Event;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader);
msg.addEvents(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetEventsByArtifactIDsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetEventsByArtifactIDsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getEventsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter
);
}
};
/**
* repeated Event events = 1;
* @return {!Array<!proto.ml_metadata.Event>}
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.getEventsList = function() {
return /** @type{!Array<!proto.ml_metadata.Event>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Event>} value
* @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} returns this
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.setEventsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Event=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Event}
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.addEvents = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} returns this
*/
proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.clearEventsList = function() {
return this.setEventsList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactTypesByIDRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactTypesByIDRequest}
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactTypesByIDRequest;
return proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactTypesByIDRequest}
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addTypeIds(values[i]);
}
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactTypesByIDRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTypeIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 type_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.getTypeIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.setTypeIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.addTypeIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.clearTypeIdsList = function() {
return this.setTypeIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactTypesByIDResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactTypesByIDResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(),
ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactTypesByIDResponse}
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactTypesByIDResponse;
return proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactTypesByIDResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactTypesByIDResponse}
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ArtifactType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader);
msg.addArtifactTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactTypesByIDResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactTypesByIDResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactType artifact_types = 1;
* @return {!Array<!proto.ml_metadata.ArtifactType>}
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.getArtifactTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactType>} value
* @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} returns this
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.setArtifactTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ArtifactType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.addArtifactTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} returns this
*/
proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.clearArtifactTypesList = function() {
return this.setArtifactTypesList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionTypesByIDRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionTypesByIDRequest}
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionTypesByIDRequest;
return proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionTypesByIDRequest}
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addTypeIds(values[i]);
}
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionTypesByIDRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTypeIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 type_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.getTypeIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.setTypeIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.addTypeIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.clearTypeIdsList = function() {
return this.setTypeIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionTypesByIDResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionTypesByIDResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(),
ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionTypesByIDResponse}
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionTypesByIDResponse;
return proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionTypesByIDResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionTypesByIDResponse}
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ExecutionType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader);
msg.addExecutionTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionTypesByIDResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionTypesByIDResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter
);
}
};
/**
* repeated ExecutionType execution_types = 1;
* @return {!Array<!proto.ml_metadata.ExecutionType>}
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.getExecutionTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ExecutionType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ExecutionType>} value
* @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} returns this
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.setExecutionTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ExecutionType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ExecutionType}
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.addExecutionTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ExecutionType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} returns this
*/
proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.clearExecutionTypesList = function() {
return this.setExecutionTypesList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextTypeRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextTypeRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextTypeRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypeRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextTypeRequest}
*/
proto.ml_metadata.GetContextTypeRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextTypeRequest;
return proto.ml_metadata.GetContextTypeRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextTypeRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextTypeRequest}
*/
proto.ml_metadata.GetContextTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setTypeVersion(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextTypeRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextTypeRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextTypeRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypeRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.GetContextTypeRequest.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetContextTypeRequest} returns this
*/
proto.ml_metadata.GetContextTypeRequest.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextTypeRequest} returns this
*/
proto.ml_metadata.GetContextTypeRequest.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextTypeRequest.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string type_version = 2;
* @return {string}
*/
proto.ml_metadata.GetContextTypeRequest.prototype.getTypeVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetContextTypeRequest} returns this
*/
proto.ml_metadata.GetContextTypeRequest.prototype.setTypeVersion = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextTypeRequest} returns this
*/
proto.ml_metadata.GetContextTypeRequest.prototype.clearTypeVersion = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextTypeRequest.prototype.hasTypeVersion = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 3;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextTypeRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextTypeRequest} returns this
*/
proto.ml_metadata.GetContextTypeRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextTypeRequest} returns this
*/
proto.ml_metadata.GetContextTypeRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextTypeRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextTypeResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextTypeResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextTypeResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextType: (f = msg.getContextType()) && ml_metadata_proto_metadata_store_pb.ContextType.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextTypeResponse}
*/
proto.ml_metadata.GetContextTypeResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextTypeResponse;
return proto.ml_metadata.GetContextTypeResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextTypeResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextTypeResponse}
*/
proto.ml_metadata.GetContextTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ContextType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader);
msg.setContextType(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextTypeResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextTypeResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextTypeResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypeResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextType();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter
);
}
};
/**
* optional ContextType context_type = 1;
* @return {?proto.ml_metadata.ContextType}
*/
proto.ml_metadata.GetContextTypeResponse.prototype.getContextType = function() {
return /** @type{?proto.ml_metadata.ContextType} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1));
};
/**
* @param {?proto.ml_metadata.ContextType|undefined} value
* @return {!proto.ml_metadata.GetContextTypeResponse} returns this
*/
proto.ml_metadata.GetContextTypeResponse.prototype.setContextType = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextTypeResponse} returns this
*/
proto.ml_metadata.GetContextTypeResponse.prototype.clearContextType = function() {
return this.setContextType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextTypeResponse.prototype.hasContextType = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextTypesByIDRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextTypesByIDRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextTypesByIDRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesByIDRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextTypesByIDRequest}
*/
proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextTypesByIDRequest;
return proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextTypesByIDRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextTypesByIDRequest}
*/
proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addTypeIds(values[i]);
}
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextTypesByIDRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextTypesByIDRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesByIDRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTypeIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 type_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.getTypeIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.setTypeIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.addTypeIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.clearTypeIdsList = function() {
return this.setTypeIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextTypesByIDRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextTypesByIDResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextTypesByIDResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextTypesByIDResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextTypesByIDResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesByIDResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(),
ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextTypesByIDResponse}
*/
proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextTypesByIDResponse;
return proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextTypesByIDResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextTypesByIDResponse}
*/
proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ContextType;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader);
msg.addContextTypes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextTypesByIDResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextTypesByIDResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextTypesByIDResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextTypesByIDResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter
);
}
};
/**
* repeated ContextType context_types = 1;
* @return {!Array<!proto.ml_metadata.ContextType>}
*/
proto.ml_metadata.GetContextTypesByIDResponse.prototype.getContextTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ContextType>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ContextType>} value
* @return {!proto.ml_metadata.GetContextTypesByIDResponse} returns this
*/
proto.ml_metadata.GetContextTypesByIDResponse.prototype.setContextTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ContextType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ContextType}
*/
proto.ml_metadata.GetContextTypesByIDResponse.prototype.addContextTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ContextType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextTypesByIDResponse} returns this
*/
proto.ml_metadata.GetContextTypesByIDResponse.prototype.clearContextTypesList = function() {
return this.setContextTypesList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsRequest}
*/
proto.ml_metadata.GetContextsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsRequest;
return proto.ml_metadata.GetContextsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsRequest}
*/
proto.ml_metadata.GetContextsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOptions();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional ListOperationOptions options = 1;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.GetContextsRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 1));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.GetContextsRequest} returns this
*/
proto.ml_metadata.GetContextsRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextsRequest} returns this
*/
proto.ml_metadata.GetContextsRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextsRequest} returns this
*/
proto.ml_metadata.GetContextsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextsRequest} returns this
*/
proto.ml_metadata.GetContextsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance),
nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsResponse}
*/
proto.ml_metadata.GetContextsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsResponse;
return proto.ml_metadata.GetContextsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsResponse}
*/
proto.ml_metadata.GetContextsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setNextPageToken(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
};
/**
* repeated Context contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetContextsResponse.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetContextsResponse} returns this
*/
proto.ml_metadata.GetContextsResponse.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetContextsResponse.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextsResponse} returns this
*/
proto.ml_metadata.GetContextsResponse.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
/**
* optional string next_page_token = 2;
* @return {string}
*/
proto.ml_metadata.GetContextsResponse.prototype.getNextPageToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetContextsResponse} returns this
*/
proto.ml_metadata.GetContextsResponse.prototype.setNextPageToken = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextsResponse} returns this
*/
proto.ml_metadata.GetContextsResponse.prototype.clearNextPageToken = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsResponse.prototype.hasNextPageToken = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByTypeRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByTypeRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByTypeRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f),
typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByTypeRequest}
*/
proto.ml_metadata.GetContextsByTypeRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByTypeRequest;
return proto.ml_metadata.GetContextsByTypeRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByTypeRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByTypeRequest}
*/
proto.ml_metadata.GetContextsByTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setTypeVersion(value);
break;
case 4:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByTypeRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByTypeRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByTypeRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = message.getOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
4,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ListOperationOptions options = 2;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 2));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string type_version = 3;
* @return {string}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.getTypeVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.setTypeVersion = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTypeVersion = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTypeVersion = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional TransactionOptions transaction_options = 4;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextsByTypeResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByTypeResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByTypeResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByTypeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance),
nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByTypeResponse}
*/
proto.ml_metadata.GetContextsByTypeResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByTypeResponse;
return proto.ml_metadata.GetContextsByTypeResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByTypeResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByTypeResponse}
*/
proto.ml_metadata.GetContextsByTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setNextPageToken(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByTypeResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByTypeResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByTypeResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
};
/**
* repeated Context contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
/**
* optional string next_page_token = 2;
* @return {string}
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.getNextPageToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.setNextPageToken = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.clearNextPageToken = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByTypeResponse.prototype.hasNextPageToken = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextByTypeAndNameRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
contextName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextByTypeAndNameRequest;
return proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setTypeVersion(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setContextName(value);
break;
case 4:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextByTypeAndNameRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
4,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string type_version = 3;
* @return {string}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getTypeVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setTypeVersion = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTypeVersion = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasTypeVersion = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string context_name = 2;
* @return {string}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getContextName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setContextName = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearContextName = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasContextName = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 4;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 4) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextByTypeAndNameResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextByTypeAndNameResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.toObject = function(includeInstance, msg) {
var f, obj = {
context: (f = msg.getContext()) && ml_metadata_proto_metadata_store_pb.Context.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextByTypeAndNameResponse}
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextByTypeAndNameResponse;
return proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextByTypeAndNameResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextByTypeAndNameResponse}
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.setContext(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextByTypeAndNameResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextByTypeAndNameResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContext();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
};
/**
* optional Context context = 1;
* @return {?proto.ml_metadata.Context}
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.getContext = function() {
return /** @type{?proto.ml_metadata.Context} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {?proto.ml_metadata.Context|undefined} value
* @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.setContext = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} returns this
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.clearContext = function() {
return this.setContext(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.hasContext = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextsByIDRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByIDRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByIDRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByIDRequest.toObject = function(includeInstance, msg) {
var f, obj = {
contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByIDRequest}
*/
proto.ml_metadata.GetContextsByIDRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByIDRequest;
return proto.ml_metadata.GetContextsByIDRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByIDRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByIDRequest}
*/
proto.ml_metadata.GetContextsByIDRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addContextIds(values[i]);
}
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByIDRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByIDRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByIDRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 context_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.getContextIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetContextsByIDRequest} returns this
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.setContextIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetContextsByIDRequest} returns this
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.addContextIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextsByIDRequest} returns this
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.clearContextIdsList = function() {
return this.setContextIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextsByIDRequest} returns this
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextsByIDRequest} returns this
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByIDRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextsByIDResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByIDResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByIDResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByIDResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByIDResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByIDResponse}
*/
proto.ml_metadata.GetContextsByIDResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByIDResponse;
return proto.ml_metadata.GetContextsByIDResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByIDResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByIDResponse}
*/
proto.ml_metadata.GetContextsByIDResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByIDResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByIDResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByIDResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByIDResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
};
/**
* repeated Context contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetContextsByIDResponse.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetContextsByIDResponse} returns this
*/
proto.ml_metadata.GetContextsByIDResponse.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetContextsByIDResponse.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextsByIDResponse} returns this
*/
proto.ml_metadata.GetContextsByIDResponse.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByArtifactRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByArtifactRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByArtifactRequest.toObject = function(includeInstance, msg) {
var f, obj = {
artifactId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByArtifactRequest}
*/
proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByArtifactRequest;
return proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByArtifactRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByArtifactRequest}
*/
proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setArtifactId(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByArtifactRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByArtifactRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByArtifactRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional int64 artifact_id = 1;
* @return {number}
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.getArtifactId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.setArtifactId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.clearArtifactId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.hasArtifactId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByArtifactRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextsByArtifactResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByArtifactResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByArtifactResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByArtifactResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByArtifactResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByArtifactResponse}
*/
proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByArtifactResponse;
return proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByArtifactResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByArtifactResponse}
*/
proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByArtifactResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByArtifactResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByArtifactResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByArtifactResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
};
/**
* repeated Context contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetContextsByArtifactResponse.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetContextsByArtifactResponse} returns this
*/
proto.ml_metadata.GetContextsByArtifactResponse.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetContextsByArtifactResponse.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextsByArtifactResponse} returns this
*/
proto.ml_metadata.GetContextsByArtifactResponse.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByExecutionRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByExecutionRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByExecutionRequest.toObject = function(includeInstance, msg) {
var f, obj = {
executionId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByExecutionRequest}
*/
proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByExecutionRequest;
return proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByExecutionRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByExecutionRequest}
*/
proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setExecutionId(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByExecutionRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByExecutionRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByExecutionRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional int64 execution_id = 1;
* @return {number}
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.getExecutionId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.setExecutionId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.clearExecutionId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.hasExecutionId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetContextsByExecutionRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetContextsByExecutionResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetContextsByExecutionResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetContextsByExecutionResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetContextsByExecutionResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByExecutionResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetContextsByExecutionResponse}
*/
proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetContextsByExecutionResponse;
return proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetContextsByExecutionResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetContextsByExecutionResponse}
*/
proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetContextsByExecutionResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetContextsByExecutionResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetContextsByExecutionResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetContextsByExecutionResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
};
/**
* repeated Context contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetContextsByExecutionResponse.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetContextsByExecutionResponse} returns this
*/
proto.ml_metadata.GetContextsByExecutionResponse.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetContextsByExecutionResponse.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetContextsByExecutionResponse} returns this
*/
proto.ml_metadata.GetContextsByExecutionResponse.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetParentContextsByContextRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetParentContextsByContextRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextRequest.toObject = function(includeInstance, msg) {
var f, obj = {
contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetParentContextsByContextRequest}
*/
proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetParentContextsByContextRequest;
return proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetParentContextsByContextRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetParentContextsByContextRequest}
*/
proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setContextId(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetParentContextsByContextRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetParentContextsByContextRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional int64 context_id = 1;
* @return {number}
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.getContextId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.setContextId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.clearContextId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.hasContextId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetParentContextsByContextRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetParentContextsByContextResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetParentContextsByContextResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetParentContextsByContextResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetParentContextsByContextResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetParentContextsByContextResponse}
*/
proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetParentContextsByContextResponse;
return proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetParentContextsByContextResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetParentContextsByContextResponse}
*/
proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetParentContextsByContextResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetParentContextsByContextResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetParentContextsByContextResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
};
/**
* repeated Context contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetParentContextsByContextResponse.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetParentContextsByContextResponse} returns this
*/
proto.ml_metadata.GetParentContextsByContextResponse.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetParentContextsByContextResponse.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetParentContextsByContextResponse} returns this
*/
proto.ml_metadata.GetParentContextsByContextResponse.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetChildrenContextsByContextRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.toObject = function(includeInstance, msg) {
var f, obj = {
contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetChildrenContextsByContextRequest}
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetChildrenContextsByContextRequest;
return proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetChildrenContextsByContextRequest}
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setContextId(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetChildrenContextsByContextRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional int64 context_id = 1;
* @return {number}
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.getContextId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.setContextId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.clearContextId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.hasContextId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetChildrenContextsByContextResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetChildrenContextsByContextResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetChildrenContextsByContextResponse}
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetChildrenContextsByContextResponse;
return proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetChildrenContextsByContextResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetChildrenContextsByContextResponse}
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetChildrenContextsByContextResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetChildrenContextsByContextResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
};
/**
* repeated Context contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetParentContextsByContextsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetParentContextsByContextsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetParentContextsByContextsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetParentContextsByContextsRequest}
*/
proto.ml_metadata.GetParentContextsByContextsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetParentContextsByContextsRequest;
return proto.ml_metadata.GetParentContextsByContextsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetParentContextsByContextsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetParentContextsByContextsRequest}
*/
proto.ml_metadata.GetParentContextsByContextsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addContextIds(values[i]);
}
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetParentContextsByContextsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetParentContextsByContextsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextIdsList();
if (f.length > 0) {
writer.writePackedInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 context_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.getContextIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.setContextIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.addContextIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.clearContextIdsList = function() {
return this.setContextIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetParentContextsByContextsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetParentContextsByContextsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetParentContextsByContextsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsMap: (f = msg.getContextsMap()) ? f.toObject(includeInstance, proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetParentContextsByContextsResponse}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetParentContextsByContextsResponse;
return proto.ml_metadata.GetParentContextsByContextsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetParentContextsByContextsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetParentContextsByContextsResponse}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 2:
var value = msg.getContextsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.deserializeBinaryFromReader, 0, new proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetParentContextsByContextsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetParentContextsByContextsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.serializeBinaryToWriter);
}
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.toObject = function(includeInstance, msg) {
var f, obj = {
parentContextsList: jspb.Message.toObjectList(msg.getParentContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild;
return proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addParentContexts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParentContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
};
/**
* repeated Context parent_contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.getParentContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} returns this
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.setParentContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.addParentContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} returns this
*/
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.clearParentContextsList = function() {
return this.setParentContextsList([]);
};
/**
* map<int64, ParentContextsPerChild> contexts = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<number,!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild>}
*/
proto.ml_metadata.GetParentContextsByContextsResponse.prototype.getContextsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<number,!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.GetParentContextsByContextsResponse} returns this
*/
proto.ml_metadata.GetParentContextsByContextsResponse.prototype.clearContextsMap = function() {
this.getContextsMap().clear();
return this;};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetChildrenContextsByContextsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest}
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetChildrenContextsByContextsRequest;
return proto.ml_metadata.GetChildrenContextsByContextsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest}
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addContextIds(values[i]);
}
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetChildrenContextsByContextsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextIdsList();
if (f.length > 0) {
writer.writePackedInt64(
1,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated int64 context_ids = 1;
* @return {!Array<number>}
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.getContextIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.setContextIdsList = function(value) {
return jspb.Message.setField(this, 1, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.addContextIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.clearContextIdsList = function() {
return this.setContextIdsList([]);
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetChildrenContextsByContextsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.toObject = function(includeInstance, msg) {
var f, obj = {
contextsMap: (f = msg.getContextsMap()) ? f.toObject(includeInstance, proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetChildrenContextsByContextsResponse;
return proto.ml_metadata.GetChildrenContextsByContextsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 2:
var value = msg.getContextsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.deserializeBinaryFromReader, 0, new proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetChildrenContextsByContextsResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContextsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.serializeBinaryToWriter);
}
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.toObject = function(includeInstance, msg) {
var f, obj = {
childrenContextsList: jspb.Message.toObjectList(msg.getChildrenContextsList(),
ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent;
return proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Context;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader);
msg.addChildrenContexts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getChildrenContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter
);
}
};
/**
* repeated Context children_contexts = 1;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.getChildrenContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.setChildrenContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.addChildrenContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.clearChildrenContextsList = function() {
return this.setChildrenContextsList([]);
};
/**
* map<int64, ChildrenContextsPerParent> contexts = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<number,!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent>}
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.prototype.getContextsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<number,!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse} returns this
*/
proto.ml_metadata.GetChildrenContextsByContextsResponse.prototype.clearContextsMap = function() {
this.getContextsMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByContextRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByContextRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByContextRequest.toObject = function(includeInstance, msg) {
var f, obj = {
contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByContextRequest}
*/
proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByContextRequest;
return proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByContextRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByContextRequest}
*/
proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setContextId(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByContextRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByContextRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByContextRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = message.getOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional int64 context_id = 1;
* @return {number}
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.getContextId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.setContextId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearContextId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasContextId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ListOperationOptions options = 2;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 2));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 3;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetArtifactsByContextResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetArtifactsByContextResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetArtifactsByContextResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByContextResponse.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance),
nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetArtifactsByContextResponse}
*/
proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetArtifactsByContextResponse;
return proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetArtifactsByContextResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetArtifactsByContextResponse}
*/
proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Artifact;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setNextPageToken(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetArtifactsByContextResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetArtifactsByContextResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetArtifactsByContextResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
};
/**
* repeated Artifact artifacts = 1;
* @return {!Array<!proto.ml_metadata.Artifact>}
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_metadata.Artifact>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Artifact>} value
* @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Artifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
/**
* optional string next_page_token = 2;
* @return {string}
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.getNextPageToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.setNextPageToken = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.clearNextPageToken = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetArtifactsByContextResponse.prototype.hasNextPageToken = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsByContextRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsByContextRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByContextRequest.toObject = function(includeInstance, msg) {
var f, obj = {
contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsByContextRequest}
*/
proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsByContextRequest;
return proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsByContextRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsByContextRequest}
*/
proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setContextId(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsByContextRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsByContextRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByContextRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = message.getOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional int64 context_id = 1;
* @return {number}
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.getContextId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.setContextId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearContextId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.hasContextId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ListOperationOptions options = 2;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 2));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 3;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByContextRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.GetExecutionsByContextResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetExecutionsByContextResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetExecutionsByContextResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByContextResponse.toObject = function(includeInstance, msg) {
var f, obj = {
executionsList: jspb.Message.toObjectList(msg.getExecutionsList(),
ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance),
nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetExecutionsByContextResponse}
*/
proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetExecutionsByContextResponse;
return proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetExecutionsByContextResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetExecutionsByContextResponse}
*/
proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.Execution;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader);
msg.addExecutions(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setNextPageToken(value);
break;
case 3:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetExecutionsByContextResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetExecutionsByContextResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetExecutionsByContextResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
3,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* repeated Execution executions = 1;
* @return {!Array<!proto.ml_metadata.Execution>}
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.getExecutionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Execution>} */ (
jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Execution>} value
* @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.setExecutionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Execution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.addExecutions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearExecutionsList = function() {
return this.setExecutionsList([]);
};
/**
* optional string next_page_token = 2;
* @return {string}
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.getNextPageToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.setNextPageToken = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearNextPageToken = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.hasNextPageToken = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional TransactionOptions transaction_options = 3;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetExecutionsByContextResponse.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetLineageGraphRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetLineageGraphRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetLineageGraphRequest.toObject = function(includeInstance, msg) {
var f, obj = {
options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetLineageGraphRequest}
*/
proto.ml_metadata.GetLineageGraphRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetLineageGraphRequest;
return proto.ml_metadata.GetLineageGraphRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetLineageGraphRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetLineageGraphRequest}
*/
proto.ml_metadata.GetLineageGraphRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetLineageGraphRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetLineageGraphRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetLineageGraphRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOptions();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional LineageGraphQueryOptions options = 1;
* @return {?proto.ml_metadata.LineageGraphQueryOptions}
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.getOptions = function() {
return /** @type{?proto.ml_metadata.LineageGraphQueryOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions, 1));
};
/**
* @param {?proto.ml_metadata.LineageGraphQueryOptions|undefined} value
* @return {!proto.ml_metadata.GetLineageGraphRequest} returns this
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.setOptions = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetLineageGraphRequest} returns this
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.clearOptions = function() {
return this.setOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.hasOptions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetLineageGraphRequest} returns this
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetLineageGraphRequest} returns this
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetLineageGraphRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetLineageGraphResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetLineageGraphResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetLineageGraphResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetLineageGraphResponse.toObject = function(includeInstance, msg) {
var f, obj = {
subgraph: (f = msg.getSubgraph()) && ml_metadata_proto_metadata_store_pb.LineageGraph.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetLineageGraphResponse}
*/
proto.ml_metadata.GetLineageGraphResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetLineageGraphResponse;
return proto.ml_metadata.GetLineageGraphResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetLineageGraphResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetLineageGraphResponse}
*/
proto.ml_metadata.GetLineageGraphResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.LineageGraph;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.LineageGraph.deserializeBinaryFromReader);
msg.setSubgraph(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetLineageGraphResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetLineageGraphResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetLineageGraphResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetLineageGraphResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getSubgraph();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.LineageGraph.serializeBinaryToWriter
);
}
};
/**
* optional LineageGraph subgraph = 1;
* @return {?proto.ml_metadata.LineageGraph}
*/
proto.ml_metadata.GetLineageGraphResponse.prototype.getSubgraph = function() {
return /** @type{?proto.ml_metadata.LineageGraph} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.LineageGraph, 1));
};
/**
* @param {?proto.ml_metadata.LineageGraph|undefined} value
* @return {!proto.ml_metadata.GetLineageGraphResponse} returns this
*/
proto.ml_metadata.GetLineageGraphResponse.prototype.setSubgraph = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetLineageGraphResponse} returns this
*/
proto.ml_metadata.GetLineageGraphResponse.prototype.clearSubgraph = function() {
return this.setSubgraph(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetLineageGraphResponse.prototype.hasSubgraph = function() {
return jspb.Message.getField(this, 1) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetLineageSubgraphRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetLineageSubgraphRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetLineageSubgraphRequest.toObject = function(includeInstance, msg) {
var f, obj = {
lineageSubgraphQueryOptions: (f = msg.getLineageSubgraphQueryOptions()) && ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions.toObject(includeInstance, f),
readMask: (f = msg.getReadMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetLineageSubgraphRequest}
*/
proto.ml_metadata.GetLineageSubgraphRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetLineageSubgraphRequest;
return proto.ml_metadata.GetLineageSubgraphRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetLineageSubgraphRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetLineageSubgraphRequest}
*/
proto.ml_metadata.GetLineageSubgraphRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions.deserializeBinaryFromReader);
msg.setLineageSubgraphQueryOptions(value);
break;
case 3:
var value = new google_protobuf_field_mask_pb.FieldMask;
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
msg.setReadMask(value);
break;
case 2:
var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader);
msg.setTransactionOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetLineageSubgraphRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetLineageSubgraphRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetLineageSubgraphRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getLineageSubgraphQueryOptions();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions.serializeBinaryToWriter
);
}
f = message.getReadMask();
if (f != null) {
writer.writeMessage(
3,
f,
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
);
}
f = message.getTransactionOptions();
if (f != null) {
writer.writeMessage(
2,
f,
ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter
);
}
};
/**
* optional LineageSubgraphQueryOptions lineage_subgraph_query_options = 1;
* @return {?proto.ml_metadata.LineageSubgraphQueryOptions}
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.getLineageSubgraphQueryOptions = function() {
return /** @type{?proto.ml_metadata.LineageSubgraphQueryOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions, 1));
};
/**
* @param {?proto.ml_metadata.LineageSubgraphQueryOptions|undefined} value
* @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.setLineageSubgraphQueryOptions = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.clearLineageSubgraphQueryOptions = function() {
return this.setLineageSubgraphQueryOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.hasLineageSubgraphQueryOptions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional google.protobuf.FieldMask read_mask = 3;
* @return {?proto.google.protobuf.FieldMask}
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.getReadMask = function() {
return /** @type{?proto.google.protobuf.FieldMask} */ (
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
};
/**
* @param {?proto.google.protobuf.FieldMask|undefined} value
* @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.setReadMask = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.clearReadMask = function() {
return this.setReadMask(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.hasReadMask = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional TransactionOptions transaction_options = 2;
* @return {?proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.getTransactionOptions = function() {
return /** @type{?proto.ml_metadata.TransactionOptions} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2));
};
/**
* @param {?proto.ml_metadata.TransactionOptions|undefined} value
* @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.setTransactionOptions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.clearTransactionOptions = function() {
return this.setTransactionOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetLineageSubgraphRequest.prototype.hasTransactionOptions = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GetLineageSubgraphResponse.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GetLineageSubgraphResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GetLineageSubgraphResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetLineageSubgraphResponse.toObject = function(includeInstance, msg) {
var f, obj = {
lineageSubgraph: (f = msg.getLineageSubgraph()) && ml_metadata_proto_metadata_store_pb.LineageGraph.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GetLineageSubgraphResponse}
*/
proto.ml_metadata.GetLineageSubgraphResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GetLineageSubgraphResponse;
return proto.ml_metadata.GetLineageSubgraphResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GetLineageSubgraphResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GetLineageSubgraphResponse}
*/
proto.ml_metadata.GetLineageSubgraphResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new ml_metadata_proto_metadata_store_pb.LineageGraph;
reader.readMessage(value,ml_metadata_proto_metadata_store_pb.LineageGraph.deserializeBinaryFromReader);
msg.setLineageSubgraph(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GetLineageSubgraphResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GetLineageSubgraphResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GetLineageSubgraphResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GetLineageSubgraphResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getLineageSubgraph();
if (f != null) {
writer.writeMessage(
1,
f,
ml_metadata_proto_metadata_store_pb.LineageGraph.serializeBinaryToWriter
);
}
};
/**
* optional LineageGraph lineage_subgraph = 1;
* @return {?proto.ml_metadata.LineageGraph}
*/
proto.ml_metadata.GetLineageSubgraphResponse.prototype.getLineageSubgraph = function() {
return /** @type{?proto.ml_metadata.LineageGraph} */ (
jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.LineageGraph, 1));
};
/**
* @param {?proto.ml_metadata.LineageGraph|undefined} value
* @return {!proto.ml_metadata.GetLineageSubgraphResponse} returns this
*/
proto.ml_metadata.GetLineageSubgraphResponse.prototype.setLineageSubgraph = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.GetLineageSubgraphResponse} returns this
*/
proto.ml_metadata.GetLineageSubgraphResponse.prototype.clearLineageSubgraph = function() {
return this.setLineageSubgraph(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GetLineageSubgraphResponse.prototype.hasLineageSubgraph = function() {
return jspb.Message.getField(this, 1) != null;
};
goog.object.extend(exports, proto.ml_metadata);
| 363 |
0 | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.js | // source: ml_metadata/proto/metadata_store.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return this')();
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
goog.object.extend(proto, google_protobuf_any_pb);
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
goog.object.extend(proto, google_protobuf_struct_pb);
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
goog.object.extend(proto, google_protobuf_descriptor_pb);
goog.exportSymbol('proto.ml_metadata.AnyArtifactStructType', null, global);
goog.exportSymbol('proto.ml_metadata.Artifact', null, global);
goog.exportSymbol('proto.ml_metadata.Artifact.State', null, global);
goog.exportSymbol('proto.ml_metadata.ArtifactStructType', null, global);
goog.exportSymbol('proto.ml_metadata.ArtifactStructType.KindCase', null, global);
goog.exportSymbol('proto.ml_metadata.ArtifactType', null, global);
goog.exportSymbol('proto.ml_metadata.ArtifactType.SystemDefinedBaseType', null, global);
goog.exportSymbol('proto.ml_metadata.Association', null, global);
goog.exportSymbol('proto.ml_metadata.Attribution', null, global);
goog.exportSymbol('proto.ml_metadata.ConnectionConfig', null, global);
goog.exportSymbol('proto.ml_metadata.ConnectionConfig.ConfigCase', null, global);
goog.exportSymbol('proto.ml_metadata.Context', null, global);
goog.exportSymbol('proto.ml_metadata.ContextType', null, global);
goog.exportSymbol('proto.ml_metadata.ContextType.SystemDefinedBaseType', null, global);
goog.exportSymbol('proto.ml_metadata.DictArtifactStructType', null, global);
goog.exportSymbol('proto.ml_metadata.Event', null, global);
goog.exportSymbol('proto.ml_metadata.Event.Path', null, global);
goog.exportSymbol('proto.ml_metadata.Event.Path.Step', null, global);
goog.exportSymbol('proto.ml_metadata.Event.Path.Step.ValueCase', null, global);
goog.exportSymbol('proto.ml_metadata.Event.Type', null, global);
goog.exportSymbol('proto.ml_metadata.Execution', null, global);
goog.exportSymbol('proto.ml_metadata.Execution.State', null, global);
goog.exportSymbol('proto.ml_metadata.ExecutionType', null, global);
goog.exportSymbol('proto.ml_metadata.ExecutionType.SystemDefinedBaseType', null, global);
goog.exportSymbol('proto.ml_metadata.FakeDatabaseConfig', null, global);
goog.exportSymbol('proto.ml_metadata.GrpcChannelArguments', null, global);
goog.exportSymbol('proto.ml_metadata.IntersectionArtifactStructType', null, global);
goog.exportSymbol('proto.ml_metadata.LineageGraph', null, global);
goog.exportSymbol('proto.ml_metadata.LineageGraphQueryOptions', null, global);
goog.exportSymbol('proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint', null, global);
goog.exportSymbol('proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase', null, global);
goog.exportSymbol('proto.ml_metadata.LineageSubgraphQueryOptions', null, global);
goog.exportSymbol('proto.ml_metadata.LineageSubgraphQueryOptions.Direction', null, global);
goog.exportSymbol('proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes', null, global);
goog.exportSymbol('proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodesCase', null, global);
goog.exportSymbol('proto.ml_metadata.ListArtifactStructType', null, global);
goog.exportSymbol('proto.ml_metadata.ListOperationNextPageToken', null, global);
goog.exportSymbol('proto.ml_metadata.ListOperationOptions', null, global);
goog.exportSymbol('proto.ml_metadata.ListOperationOptions.OrderByField', null, global);
goog.exportSymbol('proto.ml_metadata.ListOperationOptions.OrderByField.Field', null, global);
goog.exportSymbol('proto.ml_metadata.MetadataStoreClientConfig', null, global);
goog.exportSymbol('proto.ml_metadata.MetadataStoreClientConfig.SSLConfig', null, global);
goog.exportSymbol('proto.ml_metadata.MetadataStoreServerConfig', null, global);
goog.exportSymbol('proto.ml_metadata.MetadataStoreServerConfig.SSLConfig', null, global);
goog.exportSymbol('proto.ml_metadata.MigrationOptions', null, global);
goog.exportSymbol('proto.ml_metadata.MySQLDatabaseConfig', null, global);
goog.exportSymbol('proto.ml_metadata.MySQLDatabaseConfig.SSLOptions', null, global);
goog.exportSymbol('proto.ml_metadata.NoneArtifactStructType', null, global);
goog.exportSymbol('proto.ml_metadata.ParentContext', null, global);
goog.exportSymbol('proto.ml_metadata.PostgreSQLDatabaseConfig', null, global);
goog.exportSymbol('proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions', null, global);
goog.exportSymbol('proto.ml_metadata.PropertyType', null, global);
goog.exportSymbol('proto.ml_metadata.RetryOptions', null, global);
goog.exportSymbol('proto.ml_metadata.SqliteMetadataSourceConfig', null, global);
goog.exportSymbol('proto.ml_metadata.SqliteMetadataSourceConfig.ConnectionMode', null, global);
goog.exportSymbol('proto.ml_metadata.SystemTypeExtension', null, global);
goog.exportSymbol('proto.ml_metadata.TransactionOptions', null, global);
goog.exportSymbol('proto.ml_metadata.TupleArtifactStructType', null, global);
goog.exportSymbol('proto.ml_metadata.UnionArtifactStructType', null, global);
goog.exportSymbol('proto.ml_metadata.Value', null, global);
goog.exportSymbol('proto.ml_metadata.Value.ValueCase', null, global);
goog.exportSymbol('proto.ml_metadata.systemTypeExtension', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.SystemTypeExtension = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.SystemTypeExtension, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.SystemTypeExtension.displayName = 'proto.ml_metadata.SystemTypeExtension';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.Value = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_metadata.Value.oneofGroups_);
};
goog.inherits(proto.ml_metadata.Value, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.Value.displayName = 'proto.ml_metadata.Value';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.Artifact = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.Artifact, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.Artifact.displayName = 'proto.ml_metadata.Artifact';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ArtifactType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.ArtifactType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ArtifactType.displayName = 'proto.ml_metadata.ArtifactType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.Event = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.Event, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.Event.displayName = 'proto.ml_metadata.Event';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.Event.Path = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.Event.Path.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.Event.Path, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.Event.Path.displayName = 'proto.ml_metadata.Event.Path';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.Event.Path.Step = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_metadata.Event.Path.Step.oneofGroups_);
};
goog.inherits(proto.ml_metadata.Event.Path.Step, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.Event.Path.Step.displayName = 'proto.ml_metadata.Event.Path.Step';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.Execution = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.Execution, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.Execution.displayName = 'proto.ml_metadata.Execution';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ExecutionType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.ExecutionType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ExecutionType.displayName = 'proto.ml_metadata.ExecutionType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ContextType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.ContextType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ContextType.displayName = 'proto.ml_metadata.ContextType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.Context = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.Context, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.Context.displayName = 'proto.ml_metadata.Context';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.Attribution = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.Attribution, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.Attribution.displayName = 'proto.ml_metadata.Attribution';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.Association = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.Association, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.Association.displayName = 'proto.ml_metadata.Association';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ParentContext = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.ParentContext, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ParentContext.displayName = 'proto.ml_metadata.ParentContext';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.LineageGraph = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.LineageGraph.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.LineageGraph, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.LineageGraph.displayName = 'proto.ml_metadata.LineageGraph';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ArtifactStructType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_metadata.ArtifactStructType.oneofGroups_);
};
goog.inherits(proto.ml_metadata.ArtifactStructType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ArtifactStructType.displayName = 'proto.ml_metadata.ArtifactStructType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.UnionArtifactStructType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.UnionArtifactStructType.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.UnionArtifactStructType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.UnionArtifactStructType.displayName = 'proto.ml_metadata.UnionArtifactStructType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.IntersectionArtifactStructType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.IntersectionArtifactStructType.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.IntersectionArtifactStructType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.IntersectionArtifactStructType.displayName = 'proto.ml_metadata.IntersectionArtifactStructType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ListArtifactStructType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.ListArtifactStructType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ListArtifactStructType.displayName = 'proto.ml_metadata.ListArtifactStructType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.NoneArtifactStructType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.NoneArtifactStructType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.NoneArtifactStructType.displayName = 'proto.ml_metadata.NoneArtifactStructType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.AnyArtifactStructType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.AnyArtifactStructType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.AnyArtifactStructType.displayName = 'proto.ml_metadata.AnyArtifactStructType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.TupleArtifactStructType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.TupleArtifactStructType.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.TupleArtifactStructType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.TupleArtifactStructType.displayName = 'proto.ml_metadata.TupleArtifactStructType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.DictArtifactStructType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.DictArtifactStructType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.DictArtifactStructType.displayName = 'proto.ml_metadata.DictArtifactStructType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.FakeDatabaseConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.FakeDatabaseConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.FakeDatabaseConfig.displayName = 'proto.ml_metadata.FakeDatabaseConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.MySQLDatabaseConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.MySQLDatabaseConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.MySQLDatabaseConfig.displayName = 'proto.ml_metadata.MySQLDatabaseConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.MySQLDatabaseConfig.SSLOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.displayName = 'proto.ml_metadata.MySQLDatabaseConfig.SSLOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.SqliteMetadataSourceConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.SqliteMetadataSourceConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.SqliteMetadataSourceConfig.displayName = 'proto.ml_metadata.SqliteMetadataSourceConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PostgreSQLDatabaseConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PostgreSQLDatabaseConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.displayName = 'proto.ml_metadata.PostgreSQLDatabaseConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.displayName = 'proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.MigrationOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.MigrationOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.MigrationOptions.displayName = 'proto.ml_metadata.MigrationOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.RetryOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.RetryOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.RetryOptions.displayName = 'proto.ml_metadata.RetryOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ConnectionConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_metadata.ConnectionConfig.oneofGroups_);
};
goog.inherits(proto.ml_metadata.ConnectionConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ConnectionConfig.displayName = 'proto.ml_metadata.ConnectionConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.GrpcChannelArguments = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.GrpcChannelArguments, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.GrpcChannelArguments.displayName = 'proto.ml_metadata.GrpcChannelArguments';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.MetadataStoreClientConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.MetadataStoreClientConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.MetadataStoreClientConfig.displayName = 'proto.ml_metadata.MetadataStoreClientConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.MetadataStoreClientConfig.SSLConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.displayName = 'proto.ml_metadata.MetadataStoreClientConfig.SSLConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.MetadataStoreServerConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.MetadataStoreServerConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.MetadataStoreServerConfig.displayName = 'proto.ml_metadata.MetadataStoreServerConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.MetadataStoreServerConfig.SSLConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.displayName = 'proto.ml_metadata.MetadataStoreServerConfig.SSLConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ListOperationOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.ListOperationOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ListOperationOptions.displayName = 'proto.ml_metadata.ListOperationOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ListOperationOptions.OrderByField = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.ListOperationOptions.OrderByField, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ListOperationOptions.OrderByField.displayName = 'proto.ml_metadata.ListOperationOptions.OrderByField';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.ListOperationNextPageToken = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.ListOperationNextPageToken.repeatedFields_, null);
};
goog.inherits(proto.ml_metadata.ListOperationNextPageToken, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.ListOperationNextPageToken.displayName = 'proto.ml_metadata.ListOperationNextPageToken';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.TransactionOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, 2, null, null);
};
goog.inherits(proto.ml_metadata.TransactionOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.TransactionOptions.displayName = 'proto.ml_metadata.TransactionOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.ml_metadata.TransactionOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.ml_metadata.TransactionOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.LineageGraphQueryOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_);
};
goog.inherits(proto.ml_metadata.LineageGraphQueryOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.LineageGraphQueryOptions.displayName = 'proto.ml_metadata.LineageGraphQueryOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.displayName = 'proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.LineageSubgraphQueryOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_);
};
goog.inherits(proto.ml_metadata.LineageSubgraphQueryOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.LineageSubgraphQueryOptions.displayName = 'proto.ml_metadata.LineageSubgraphQueryOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.displayName = 'proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.SystemTypeExtension.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.SystemTypeExtension.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.SystemTypeExtension} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.SystemTypeExtension.toObject = function(includeInstance, msg) {
var f, obj = {
typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.SystemTypeExtension}
*/
proto.ml_metadata.SystemTypeExtension.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.SystemTypeExtension;
return proto.ml_metadata.SystemTypeExtension.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.SystemTypeExtension} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.SystemTypeExtension}
*/
proto.ml_metadata.SystemTypeExtension.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTypeName(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.SystemTypeExtension.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.SystemTypeExtension.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.SystemTypeExtension} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.SystemTypeExtension.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
};
/**
* optional string type_name = 1;
* @return {string}
*/
proto.ml_metadata.SystemTypeExtension.prototype.getTypeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.SystemTypeExtension} returns this
*/
proto.ml_metadata.SystemTypeExtension.prototype.setTypeName = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.SystemTypeExtension} returns this
*/
proto.ml_metadata.SystemTypeExtension.prototype.clearTypeName = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.SystemTypeExtension.prototype.hasTypeName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_metadata.Value.oneofGroups_ = [[1,2,3,4,5,6]];
/**
* @enum {number}
*/
proto.ml_metadata.Value.ValueCase = {
VALUE_NOT_SET: 0,
INT_VALUE: 1,
DOUBLE_VALUE: 2,
STRING_VALUE: 3,
STRUCT_VALUE: 4,
PROTO_VALUE: 5,
BOOL_VALUE: 6
};
/**
* @return {proto.ml_metadata.Value.ValueCase}
*/
proto.ml_metadata.Value.prototype.getValueCase = function() {
return /** @type {proto.ml_metadata.Value.ValueCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.Value.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.Value.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.Value.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.Value} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Value.toObject = function(includeInstance, msg) {
var f, obj = {
intValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f,
stringValue: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
structValue: (f = msg.getStructValue()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
protoValue: (f = msg.getProtoValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
boolValue: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.Value}
*/
proto.ml_metadata.Value.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.Value;
return proto.ml_metadata.Value.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.Value} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.Value}
*/
proto.ml_metadata.Value.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setIntValue(value);
break;
case 2:
var value = /** @type {number} */ (reader.readDouble());
msg.setDoubleValue(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setStringValue(value);
break;
case 4:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setStructValue(value);
break;
case 5:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setProtoValue(value);
break;
case 6:
var value = /** @type {boolean} */ (reader.readBool());
msg.setBoolValue(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.Value.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.Value.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.Value} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Value.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeDouble(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = message.getStructValue();
if (f != null) {
writer.writeMessage(
4,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
f = message.getProtoValue();
if (f != null) {
writer.writeMessage(
5,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeBool(
6,
f
);
}
};
/**
* optional int64 int_value = 1;
* @return {number}
*/
proto.ml_metadata.Value.prototype.getIntValue = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.setIntValue = function(value) {
return jspb.Message.setOneofField(this, 1, proto.ml_metadata.Value.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.clearIntValue = function() {
return jspb.Message.setOneofField(this, 1, proto.ml_metadata.Value.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Value.prototype.hasIntValue = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional double double_value = 2;
* @return {number}
*/
proto.ml_metadata.Value.prototype.getDoubleValue = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.setDoubleValue = function(value) {
return jspb.Message.setOneofField(this, 2, proto.ml_metadata.Value.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.clearDoubleValue = function() {
return jspb.Message.setOneofField(this, 2, proto.ml_metadata.Value.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Value.prototype.hasDoubleValue = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string string_value = 3;
* @return {string}
*/
proto.ml_metadata.Value.prototype.getStringValue = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.setStringValue = function(value) {
return jspb.Message.setOneofField(this, 3, proto.ml_metadata.Value.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.clearStringValue = function() {
return jspb.Message.setOneofField(this, 3, proto.ml_metadata.Value.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Value.prototype.hasStringValue = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional google.protobuf.Struct struct_value = 4;
* @return {?proto.google.protobuf.Struct}
*/
proto.ml_metadata.Value.prototype.getStructValue = function() {
return /** @type{?proto.google.protobuf.Struct} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 4));
};
/**
* @param {?proto.google.protobuf.Struct|undefined} value
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.setStructValue = function(value) {
return jspb.Message.setOneofWrapperField(this, 4, proto.ml_metadata.Value.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.clearStructValue = function() {
return this.setStructValue(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Value.prototype.hasStructValue = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional google.protobuf.Any proto_value = 5;
* @return {?proto.google.protobuf.Any}
*/
proto.ml_metadata.Value.prototype.getProtoValue = function() {
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 5));
};
/**
* @param {?proto.google.protobuf.Any|undefined} value
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.setProtoValue = function(value) {
return jspb.Message.setOneofWrapperField(this, 5, proto.ml_metadata.Value.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.clearProtoValue = function() {
return this.setProtoValue(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Value.prototype.hasProtoValue = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional bool bool_value = 6;
* @return {boolean}
*/
proto.ml_metadata.Value.prototype.getBoolValue = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.setBoolValue = function(value) {
return jspb.Message.setOneofField(this, 6, proto.ml_metadata.Value.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Value} returns this
*/
proto.ml_metadata.Value.prototype.clearBoolValue = function() {
return jspb.Message.setOneofField(this, 6, proto.ml_metadata.Value.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Value.prototype.hasBoolValue = function() {
return jspb.Message.getField(this, 6) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.Artifact.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.Artifact.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.Artifact} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Artifact.toObject = function(includeInstance, msg) {
var f, obj = {
id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
name: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
typeId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
type: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
uri: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
externalId: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f,
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [],
customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [],
state: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
createTimeSinceEpoch: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f,
lastUpdateTimeSinceEpoch: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f,
systemMetadata: (f = msg.getSystemMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.Artifact.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.Artifact;
return proto.ml_metadata.Artifact.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.Artifact} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.Artifact.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setId(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setTypeId(value);
break;
case 8:
var value = /** @type {string} */ (reader.readString());
msg.setType(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setUri(value);
break;
case 11:
var value = /** @type {string} */ (reader.readString());
msg.setExternalId(value);
break;
case 4:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.Value.deserializeBinaryFromReader, "", new proto.ml_metadata.Value());
});
break;
case 5:
var value = msg.getCustomPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.Value.deserializeBinaryFromReader, "", new proto.ml_metadata.Value());
});
break;
case 6:
var value = /** @type {!proto.ml_metadata.Artifact.State} */ (reader.readEnum());
msg.setState(value);
break;
case 9:
var value = /** @type {number} */ (reader.readInt64());
msg.setCreateTimeSinceEpoch(value);
break;
case 10:
var value = /** @type {number} */ (reader.readInt64());
msg.setLastUpdateTimeSinceEpoch(value);
break;
case 12:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setSystemMetadata(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.Artifact.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.Artifact.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.Artifact} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Artifact.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeString(
7,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 8));
if (f != null) {
writer.writeString(
8,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 11));
if (f != null) {
writer.writeString(
11,
f
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.Value.serializeBinaryToWriter);
}
f = message.getCustomPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.Value.serializeBinaryToWriter);
}
f = /** @type {!proto.ml_metadata.Artifact.State} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeEnum(
6,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 9));
if (f != null) {
writer.writeInt64(
9,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 10));
if (f != null) {
writer.writeInt64(
10,
f
);
}
f = message.getSystemMetadata();
if (f != null) {
writer.writeMessage(
12,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**
* @enum {number}
*/
proto.ml_metadata.Artifact.State = {
UNKNOWN: 0,
PENDING: 1,
LIVE: 2,
MARKED_FOR_DELETION: 3,
DELETED: 4,
ABANDONED: 5,
REFERENCE: 6
};
/**
* optional int64 id = 1;
* @return {number}
*/
proto.ml_metadata.Artifact.prototype.getId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string name = 7;
* @return {string}
*/
proto.ml_metadata.Artifact.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setName = function(value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearName = function() {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasName = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional int64 type_id = 2;
* @return {number}
*/
proto.ml_metadata.Artifact.prototype.getTypeId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setTypeId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearTypeId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasTypeId = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string type = 8;
* @return {string}
*/
proto.ml_metadata.Artifact.prototype.getType = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setType = function(value) {
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearType = function() {
return jspb.Message.setField(this, 8, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasType = function() {
return jspb.Message.getField(this, 8) != null;
};
/**
* optional string uri = 3;
* @return {string}
*/
proto.ml_metadata.Artifact.prototype.getUri = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setUri = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearUri = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasUri = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string external_id = 11;
* @return {string}
*/
proto.ml_metadata.Artifact.prototype.getExternalId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setExternalId = function(value) {
return jspb.Message.setField(this, 11, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearExternalId = function() {
return jspb.Message.setField(this, 11, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasExternalId = function() {
return jspb.Message.getField(this, 11) != null;
};
/**
* map<string, Value> properties = 4;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.Value>}
*/
proto.ml_metadata.Artifact.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.Value>} */ (
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
proto.ml_metadata.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* map<string, Value> custom_properties = 5;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.Value>}
*/
proto.ml_metadata.Artifact.prototype.getCustomPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.Value>} */ (
jspb.Message.getMapField(this, 5, opt_noLazyCreate,
proto.ml_metadata.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearCustomPropertiesMap = function() {
this.getCustomPropertiesMap().clear();
return this;};
/**
* optional State state = 6;
* @return {!proto.ml_metadata.Artifact.State}
*/
proto.ml_metadata.Artifact.prototype.getState = function() {
return /** @type {!proto.ml_metadata.Artifact.State} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};
/**
* @param {!proto.ml_metadata.Artifact.State} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setState = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearState = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasState = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional int64 create_time_since_epoch = 9;
* @return {number}
*/
proto.ml_metadata.Artifact.prototype.getCreateTimeSinceEpoch = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setCreateTimeSinceEpoch = function(value) {
return jspb.Message.setField(this, 9, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearCreateTimeSinceEpoch = function() {
return jspb.Message.setField(this, 9, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasCreateTimeSinceEpoch = function() {
return jspb.Message.getField(this, 9) != null;
};
/**
* optional int64 last_update_time_since_epoch = 10;
* @return {number}
*/
proto.ml_metadata.Artifact.prototype.getLastUpdateTimeSinceEpoch = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setLastUpdateTimeSinceEpoch = function(value) {
return jspb.Message.setField(this, 10, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearLastUpdateTimeSinceEpoch = function() {
return jspb.Message.setField(this, 10, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasLastUpdateTimeSinceEpoch = function() {
return jspb.Message.getField(this, 10) != null;
};
/**
* optional google.protobuf.Any system_metadata = 12;
* @return {?proto.google.protobuf.Any}
*/
proto.ml_metadata.Artifact.prototype.getSystemMetadata = function() {
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 12));
};
/**
* @param {?proto.google.protobuf.Any|undefined} value
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.setSystemMetadata = function(value) {
return jspb.Message.setWrapperField(this, 12, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.Artifact} returns this
*/
proto.ml_metadata.Artifact.prototype.clearSystemMetadata = function() {
return this.setSystemMetadata(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Artifact.prototype.hasSystemMetadata = function() {
return jspb.Message.getField(this, 12) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ArtifactType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ArtifactType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ArtifactType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactType.toObject = function(includeInstance, msg) {
var f, obj = {
id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
version: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
description: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
externalId: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : [],
baseType: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.ArtifactType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ArtifactType;
return proto.ml_metadata.ArtifactType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ArtifactType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.ArtifactType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setVersion(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setExternalId(value);
break;
case 3:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readEnum, null, "", 0);
});
break;
case 6:
var value = /** @type {!proto.ml_metadata.ArtifactType.SystemDefinedBaseType} */ (reader.readEnum());
msg.setBaseType(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ArtifactType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ArtifactType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ArtifactType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(
4,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeString(
7,
f
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeEnum);
}
f = /** @type {!proto.ml_metadata.ArtifactType.SystemDefinedBaseType} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeEnum(
6,
f
);
}
};
/**
* @enum {number}
*/
proto.ml_metadata.ArtifactType.SystemDefinedBaseType = {
UNSET: 0,
DATASET: 1,
MODEL: 2,
METRICS: 3,
STATISTICS: 4
};
/**
* optional int64 id = 1;
* @return {number}
*/
proto.ml_metadata.ArtifactType.prototype.getId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.setId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.clearId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactType.prototype.hasId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string name = 2;
* @return {string}
*/
proto.ml_metadata.ArtifactType.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.setName = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.clearName = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactType.prototype.hasName = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string version = 4;
* @return {string}
*/
proto.ml_metadata.ArtifactType.prototype.getVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.setVersion = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.clearVersion = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactType.prototype.hasVersion = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string description = 5;
* @return {string}
*/
proto.ml_metadata.ArtifactType.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.setDescription = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.clearDescription = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactType.prototype.hasDescription = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional string external_id = 7;
* @return {string}
*/
proto.ml_metadata.ArtifactType.prototype.getExternalId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.setExternalId = function(value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.clearExternalId = function() {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactType.prototype.hasExternalId = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* map<string, PropertyType> properties = 3;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.PropertyType>}
*/
proto.ml_metadata.ArtifactType.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.PropertyType>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
null));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* optional SystemDefinedBaseType base_type = 6;
* @return {!proto.ml_metadata.ArtifactType.SystemDefinedBaseType}
*/
proto.ml_metadata.ArtifactType.prototype.getBaseType = function() {
return /** @type {!proto.ml_metadata.ArtifactType.SystemDefinedBaseType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};
/**
* @param {!proto.ml_metadata.ArtifactType.SystemDefinedBaseType} value
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.setBaseType = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ArtifactType} returns this
*/
proto.ml_metadata.ArtifactType.prototype.clearBaseType = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactType.prototype.hasBaseType = function() {
return jspb.Message.getField(this, 6) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.Event.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.Event.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.Event} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Event.toObject = function(includeInstance, msg) {
var f, obj = {
artifactId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
executionId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
path: (f = msg.getPath()) && proto.ml_metadata.Event.Path.toObject(includeInstance, f),
type: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
millisecondsSinceEpoch: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
systemMetadata: (f = msg.getSystemMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.Event}
*/
proto.ml_metadata.Event.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.Event;
return proto.ml_metadata.Event.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.Event} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.Event}
*/
proto.ml_metadata.Event.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setArtifactId(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setExecutionId(value);
break;
case 3:
var value = new proto.ml_metadata.Event.Path;
reader.readMessage(value,proto.ml_metadata.Event.Path.deserializeBinaryFromReader);
msg.setPath(value);
break;
case 4:
var value = /** @type {!proto.ml_metadata.Event.Type} */ (reader.readEnum());
msg.setType(value);
break;
case 5:
var value = /** @type {number} */ (reader.readInt64());
msg.setMillisecondsSinceEpoch(value);
break;
case 6:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setSystemMetadata(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.Event.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.Event.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.Event} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Event.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
f = message.getPath();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_metadata.Event.Path.serializeBinaryToWriter
);
}
f = /** @type {!proto.ml_metadata.Event.Type} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeEnum(
4,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeInt64(
5,
f
);
}
f = message.getSystemMetadata();
if (f != null) {
writer.writeMessage(
6,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**
* @enum {number}
*/
proto.ml_metadata.Event.Type = {
UNKNOWN: 0,
DECLARED_OUTPUT: 1,
DECLARED_INPUT: 2,
INPUT: 3,
OUTPUT: 4,
INTERNAL_INPUT: 5,
INTERNAL_OUTPUT: 6,
PENDING_OUTPUT: 7
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.Event.Path.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.Event.Path.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.Event.Path.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.Event.Path} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Event.Path.toObject = function(includeInstance, msg) {
var f, obj = {
stepsList: jspb.Message.toObjectList(msg.getStepsList(),
proto.ml_metadata.Event.Path.Step.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.Event.Path}
*/
proto.ml_metadata.Event.Path.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.Event.Path;
return proto.ml_metadata.Event.Path.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.Event.Path} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.Event.Path}
*/
proto.ml_metadata.Event.Path.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.Event.Path.Step;
reader.readMessage(value,proto.ml_metadata.Event.Path.Step.deserializeBinaryFromReader);
msg.addSteps(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.Event.Path.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.Event.Path.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.Event.Path} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Event.Path.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getStepsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ml_metadata.Event.Path.Step.serializeBinaryToWriter
);
}
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_metadata.Event.Path.Step.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
proto.ml_metadata.Event.Path.Step.ValueCase = {
VALUE_NOT_SET: 0,
INDEX: 1,
KEY: 2
};
/**
* @return {proto.ml_metadata.Event.Path.Step.ValueCase}
*/
proto.ml_metadata.Event.Path.Step.prototype.getValueCase = function() {
return /** @type {proto.ml_metadata.Event.Path.Step.ValueCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.Event.Path.Step.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.Event.Path.Step.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.Event.Path.Step.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.Event.Path.Step} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Event.Path.Step.toObject = function(includeInstance, msg) {
var f, obj = {
index: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
key: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.Event.Path.Step}
*/
proto.ml_metadata.Event.Path.Step.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.Event.Path.Step;
return proto.ml_metadata.Event.Path.Step.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.Event.Path.Step} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.Event.Path.Step}
*/
proto.ml_metadata.Event.Path.Step.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setIndex(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setKey(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.Event.Path.Step.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.Event.Path.Step.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.Event.Path.Step} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Event.Path.Step.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
};
/**
* optional int64 index = 1;
* @return {number}
*/
proto.ml_metadata.Event.Path.Step.prototype.getIndex = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Event.Path.Step} returns this
*/
proto.ml_metadata.Event.Path.Step.prototype.setIndex = function(value) {
return jspb.Message.setOneofField(this, 1, proto.ml_metadata.Event.Path.Step.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Event.Path.Step} returns this
*/
proto.ml_metadata.Event.Path.Step.prototype.clearIndex = function() {
return jspb.Message.setOneofField(this, 1, proto.ml_metadata.Event.Path.Step.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Event.Path.Step.prototype.hasIndex = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string key = 2;
* @return {string}
*/
proto.ml_metadata.Event.Path.Step.prototype.getKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Event.Path.Step} returns this
*/
proto.ml_metadata.Event.Path.Step.prototype.setKey = function(value) {
return jspb.Message.setOneofField(this, 2, proto.ml_metadata.Event.Path.Step.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Event.Path.Step} returns this
*/
proto.ml_metadata.Event.Path.Step.prototype.clearKey = function() {
return jspb.Message.setOneofField(this, 2, proto.ml_metadata.Event.Path.Step.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Event.Path.Step.prototype.hasKey = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* repeated Step steps = 1;
* @return {!Array<!proto.ml_metadata.Event.Path.Step>}
*/
proto.ml_metadata.Event.Path.prototype.getStepsList = function() {
return /** @type{!Array<!proto.ml_metadata.Event.Path.Step>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.Event.Path.Step, 1));
};
/**
* @param {!Array<!proto.ml_metadata.Event.Path.Step>} value
* @return {!proto.ml_metadata.Event.Path} returns this
*/
proto.ml_metadata.Event.Path.prototype.setStepsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.Event.Path.Step=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Event.Path.Step}
*/
proto.ml_metadata.Event.Path.prototype.addSteps = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event.Path.Step, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.Event.Path} returns this
*/
proto.ml_metadata.Event.Path.prototype.clearStepsList = function() {
return this.setStepsList([]);
};
/**
* optional int64 artifact_id = 1;
* @return {number}
*/
proto.ml_metadata.Event.prototype.getArtifactId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.setArtifactId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.clearArtifactId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Event.prototype.hasArtifactId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional int64 execution_id = 2;
* @return {number}
*/
proto.ml_metadata.Event.prototype.getExecutionId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.setExecutionId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.clearExecutionId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Event.prototype.hasExecutionId = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional Path path = 3;
* @return {?proto.ml_metadata.Event.Path}
*/
proto.ml_metadata.Event.prototype.getPath = function() {
return /** @type{?proto.ml_metadata.Event.Path} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.Event.Path, 3));
};
/**
* @param {?proto.ml_metadata.Event.Path|undefined} value
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.setPath = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.clearPath = function() {
return this.setPath(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Event.prototype.hasPath = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional Type type = 4;
* @return {!proto.ml_metadata.Event.Type}
*/
proto.ml_metadata.Event.prototype.getType = function() {
return /** @type {!proto.ml_metadata.Event.Type} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};
/**
* @param {!proto.ml_metadata.Event.Type} value
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.setType = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.clearType = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Event.prototype.hasType = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional int64 milliseconds_since_epoch = 5;
* @return {number}
*/
proto.ml_metadata.Event.prototype.getMillisecondsSinceEpoch = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.setMillisecondsSinceEpoch = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.clearMillisecondsSinceEpoch = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Event.prototype.hasMillisecondsSinceEpoch = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional google.protobuf.Any system_metadata = 6;
* @return {?proto.google.protobuf.Any}
*/
proto.ml_metadata.Event.prototype.getSystemMetadata = function() {
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 6));
};
/**
* @param {?proto.google.protobuf.Any|undefined} value
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.setSystemMetadata = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.Event} returns this
*/
proto.ml_metadata.Event.prototype.clearSystemMetadata = function() {
return this.setSystemMetadata(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Event.prototype.hasSystemMetadata = function() {
return jspb.Message.getField(this, 6) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.Execution.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.Execution.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.Execution} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Execution.toObject = function(includeInstance, msg) {
var f, obj = {
id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
name: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
typeId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
type: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
externalId: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f,
lastKnownState: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [],
customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [],
createTimeSinceEpoch: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
lastUpdateTimeSinceEpoch: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f,
systemMetadata: (f = msg.getSystemMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.Execution.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.Execution;
return proto.ml_metadata.Execution.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.Execution} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.Execution.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setId(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setTypeId(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setType(value);
break;
case 10:
var value = /** @type {string} */ (reader.readString());
msg.setExternalId(value);
break;
case 3:
var value = /** @type {!proto.ml_metadata.Execution.State} */ (reader.readEnum());
msg.setLastKnownState(value);
break;
case 4:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.Value.deserializeBinaryFromReader, "", new proto.ml_metadata.Value());
});
break;
case 5:
var value = msg.getCustomPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.Value.deserializeBinaryFromReader, "", new proto.ml_metadata.Value());
});
break;
case 8:
var value = /** @type {number} */ (reader.readInt64());
msg.setCreateTimeSinceEpoch(value);
break;
case 9:
var value = /** @type {number} */ (reader.readInt64());
msg.setLastUpdateTimeSinceEpoch(value);
break;
case 11:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setSystemMetadata(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.Execution.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.Execution.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.Execution} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Execution.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(
6,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeString(
7,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 10));
if (f != null) {
writer.writeString(
10,
f
);
}
f = /** @type {!proto.ml_metadata.Execution.State} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeEnum(
3,
f
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.Value.serializeBinaryToWriter);
}
f = message.getCustomPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.Value.serializeBinaryToWriter);
}
f = /** @type {number} */ (jspb.Message.getField(message, 8));
if (f != null) {
writer.writeInt64(
8,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 9));
if (f != null) {
writer.writeInt64(
9,
f
);
}
f = message.getSystemMetadata();
if (f != null) {
writer.writeMessage(
11,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**
* @enum {number}
*/
proto.ml_metadata.Execution.State = {
UNKNOWN: 0,
NEW: 1,
RUNNING: 2,
COMPLETE: 3,
FAILED: 4,
CACHED: 5,
CANCELED: 6
};
/**
* optional int64 id = 1;
* @return {number}
*/
proto.ml_metadata.Execution.prototype.getId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.setId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Execution.prototype.hasId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string name = 6;
* @return {string}
*/
proto.ml_metadata.Execution.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.setName = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearName = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Execution.prototype.hasName = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional int64 type_id = 2;
* @return {number}
*/
proto.ml_metadata.Execution.prototype.getTypeId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.setTypeId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearTypeId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Execution.prototype.hasTypeId = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string type = 7;
* @return {string}
*/
proto.ml_metadata.Execution.prototype.getType = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.setType = function(value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearType = function() {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Execution.prototype.hasType = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional string external_id = 10;
* @return {string}
*/
proto.ml_metadata.Execution.prototype.getExternalId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.setExternalId = function(value) {
return jspb.Message.setField(this, 10, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearExternalId = function() {
return jspb.Message.setField(this, 10, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Execution.prototype.hasExternalId = function() {
return jspb.Message.getField(this, 10) != null;
};
/**
* optional State last_known_state = 3;
* @return {!proto.ml_metadata.Execution.State}
*/
proto.ml_metadata.Execution.prototype.getLastKnownState = function() {
return /** @type {!proto.ml_metadata.Execution.State} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {!proto.ml_metadata.Execution.State} value
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.setLastKnownState = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearLastKnownState = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Execution.prototype.hasLastKnownState = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* map<string, Value> properties = 4;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.Value>}
*/
proto.ml_metadata.Execution.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.Value>} */ (
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
proto.ml_metadata.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* map<string, Value> custom_properties = 5;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.Value>}
*/
proto.ml_metadata.Execution.prototype.getCustomPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.Value>} */ (
jspb.Message.getMapField(this, 5, opt_noLazyCreate,
proto.ml_metadata.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearCustomPropertiesMap = function() {
this.getCustomPropertiesMap().clear();
return this;};
/**
* optional int64 create_time_since_epoch = 8;
* @return {number}
*/
proto.ml_metadata.Execution.prototype.getCreateTimeSinceEpoch = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.setCreateTimeSinceEpoch = function(value) {
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearCreateTimeSinceEpoch = function() {
return jspb.Message.setField(this, 8, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Execution.prototype.hasCreateTimeSinceEpoch = function() {
return jspb.Message.getField(this, 8) != null;
};
/**
* optional int64 last_update_time_since_epoch = 9;
* @return {number}
*/
proto.ml_metadata.Execution.prototype.getLastUpdateTimeSinceEpoch = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.setLastUpdateTimeSinceEpoch = function(value) {
return jspb.Message.setField(this, 9, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearLastUpdateTimeSinceEpoch = function() {
return jspb.Message.setField(this, 9, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Execution.prototype.hasLastUpdateTimeSinceEpoch = function() {
return jspb.Message.getField(this, 9) != null;
};
/**
* optional google.protobuf.Any system_metadata = 11;
* @return {?proto.google.protobuf.Any}
*/
proto.ml_metadata.Execution.prototype.getSystemMetadata = function() {
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 11));
};
/**
* @param {?proto.google.protobuf.Any|undefined} value
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.setSystemMetadata = function(value) {
return jspb.Message.setWrapperField(this, 11, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.Execution} returns this
*/
proto.ml_metadata.Execution.prototype.clearSystemMetadata = function() {
return this.setSystemMetadata(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Execution.prototype.hasSystemMetadata = function() {
return jspb.Message.getField(this, 11) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ExecutionType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ExecutionType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ExecutionType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ExecutionType.toObject = function(includeInstance, msg) {
var f, obj = {
id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
version: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
description: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
externalId: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f,
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : [],
inputType: (f = msg.getInputType()) && proto.ml_metadata.ArtifactStructType.toObject(includeInstance, f),
outputType: (f = msg.getOutputType()) && proto.ml_metadata.ArtifactStructType.toObject(includeInstance, f),
baseType: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ExecutionType}
*/
proto.ml_metadata.ExecutionType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ExecutionType;
return proto.ml_metadata.ExecutionType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ExecutionType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ExecutionType}
*/
proto.ml_metadata.ExecutionType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setVersion(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
case 9:
var value = /** @type {string} */ (reader.readString());
msg.setExternalId(value);
break;
case 3:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readEnum, null, "", 0);
});
break;
case 4:
var value = new proto.ml_metadata.ArtifactStructType;
reader.readMessage(value,proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader);
msg.setInputType(value);
break;
case 5:
var value = new proto.ml_metadata.ArtifactStructType;
reader.readMessage(value,proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader);
msg.setOutputType(value);
break;
case 8:
var value = /** @type {!proto.ml_metadata.ExecutionType.SystemDefinedBaseType} */ (reader.readEnum());
msg.setBaseType(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ExecutionType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ExecutionType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ExecutionType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ExecutionType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(
6,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeString(
7,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 9));
if (f != null) {
writer.writeString(
9,
f
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeEnum);
}
f = message.getInputType();
if (f != null) {
writer.writeMessage(
4,
f,
proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter
);
}
f = message.getOutputType();
if (f != null) {
writer.writeMessage(
5,
f,
proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter
);
}
f = /** @type {!proto.ml_metadata.ExecutionType.SystemDefinedBaseType} */ (jspb.Message.getField(message, 8));
if (f != null) {
writer.writeEnum(
8,
f
);
}
};
/**
* @enum {number}
*/
proto.ml_metadata.ExecutionType.SystemDefinedBaseType = {
UNSET: 0,
TRAIN: 1,
TRANSFORM: 2,
PROCESS: 3,
EVALUATE: 4,
DEPLOY: 5
};
/**
* optional int64 id = 1;
* @return {number}
*/
proto.ml_metadata.ExecutionType.prototype.getId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.setId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.clearId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ExecutionType.prototype.hasId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string name = 2;
* @return {string}
*/
proto.ml_metadata.ExecutionType.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.setName = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.clearName = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ExecutionType.prototype.hasName = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string version = 6;
* @return {string}
*/
proto.ml_metadata.ExecutionType.prototype.getVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.setVersion = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.clearVersion = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ExecutionType.prototype.hasVersion = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional string description = 7;
* @return {string}
*/
proto.ml_metadata.ExecutionType.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.setDescription = function(value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.clearDescription = function() {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ExecutionType.prototype.hasDescription = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional string external_id = 9;
* @return {string}
*/
proto.ml_metadata.ExecutionType.prototype.getExternalId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.setExternalId = function(value) {
return jspb.Message.setField(this, 9, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.clearExternalId = function() {
return jspb.Message.setField(this, 9, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ExecutionType.prototype.hasExternalId = function() {
return jspb.Message.getField(this, 9) != null;
};
/**
* map<string, PropertyType> properties = 3;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.PropertyType>}
*/
proto.ml_metadata.ExecutionType.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.PropertyType>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
null));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* optional ArtifactStructType input_type = 4;
* @return {?proto.ml_metadata.ArtifactStructType}
*/
proto.ml_metadata.ExecutionType.prototype.getInputType = function() {
return /** @type{?proto.ml_metadata.ArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructType, 4));
};
/**
* @param {?proto.ml_metadata.ArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.setInputType = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.clearInputType = function() {
return this.setInputType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ExecutionType.prototype.hasInputType = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional ArtifactStructType output_type = 5;
* @return {?proto.ml_metadata.ArtifactStructType}
*/
proto.ml_metadata.ExecutionType.prototype.getOutputType = function() {
return /** @type{?proto.ml_metadata.ArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructType, 5));
};
/**
* @param {?proto.ml_metadata.ArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.setOutputType = function(value) {
return jspb.Message.setWrapperField(this, 5, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.clearOutputType = function() {
return this.setOutputType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ExecutionType.prototype.hasOutputType = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional SystemDefinedBaseType base_type = 8;
* @return {!proto.ml_metadata.ExecutionType.SystemDefinedBaseType}
*/
proto.ml_metadata.ExecutionType.prototype.getBaseType = function() {
return /** @type {!proto.ml_metadata.ExecutionType.SystemDefinedBaseType} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};
/**
* @param {!proto.ml_metadata.ExecutionType.SystemDefinedBaseType} value
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.setBaseType = function(value) {
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ExecutionType} returns this
*/
proto.ml_metadata.ExecutionType.prototype.clearBaseType = function() {
return jspb.Message.setField(this, 8, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ExecutionType.prototype.hasBaseType = function() {
return jspb.Message.getField(this, 8) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ContextType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ContextType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ContextType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ContextType.toObject = function(includeInstance, msg) {
var f, obj = {
id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
version: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
description: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
externalId: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : [],
baseType: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ContextType}
*/
proto.ml_metadata.ContextType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ContextType;
return proto.ml_metadata.ContextType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ContextType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ContextType}
*/
proto.ml_metadata.ContextType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setVersion(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setExternalId(value);
break;
case 3:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readEnum, null, "", 0);
});
break;
case 6:
var value = /** @type {!proto.ml_metadata.ContextType.SystemDefinedBaseType} */ (reader.readEnum());
msg.setBaseType(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ContextType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ContextType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ContextType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ContextType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(
4,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeString(
7,
f
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeEnum);
}
f = /** @type {!proto.ml_metadata.ContextType.SystemDefinedBaseType} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeEnum(
6,
f
);
}
};
/**
* @enum {number}
*/
proto.ml_metadata.ContextType.SystemDefinedBaseType = {
UNSET: 0
};
/**
* optional int64 id = 1;
* @return {number}
*/
proto.ml_metadata.ContextType.prototype.getId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.setId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.clearId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ContextType.prototype.hasId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string name = 2;
* @return {string}
*/
proto.ml_metadata.ContextType.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.setName = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.clearName = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ContextType.prototype.hasName = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string version = 4;
* @return {string}
*/
proto.ml_metadata.ContextType.prototype.getVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.setVersion = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.clearVersion = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ContextType.prototype.hasVersion = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string description = 5;
* @return {string}
*/
proto.ml_metadata.ContextType.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.setDescription = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.clearDescription = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ContextType.prototype.hasDescription = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional string external_id = 7;
* @return {string}
*/
proto.ml_metadata.ContextType.prototype.getExternalId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.setExternalId = function(value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.clearExternalId = function() {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ContextType.prototype.hasExternalId = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* map<string, PropertyType> properties = 3;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.PropertyType>}
*/
proto.ml_metadata.ContextType.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.PropertyType>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
null));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* optional SystemDefinedBaseType base_type = 6;
* @return {!proto.ml_metadata.ContextType.SystemDefinedBaseType}
*/
proto.ml_metadata.ContextType.prototype.getBaseType = function() {
return /** @type {!proto.ml_metadata.ContextType.SystemDefinedBaseType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};
/**
* @param {!proto.ml_metadata.ContextType.SystemDefinedBaseType} value
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.setBaseType = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ContextType} returns this
*/
proto.ml_metadata.ContextType.prototype.clearBaseType = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ContextType.prototype.hasBaseType = function() {
return jspb.Message.getField(this, 6) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.Context.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.Context.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.Context} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Context.toObject = function(includeInstance, msg) {
var f, obj = {
id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
name: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
typeId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
type: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
externalId: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f,
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [],
customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [],
createTimeSinceEpoch: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
lastUpdateTimeSinceEpoch: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
systemMetadata: (f = msg.getSystemMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.Context.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.Context;
return proto.ml_metadata.Context.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.Context} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.Context.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setId(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setTypeId(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setType(value);
break;
case 9:
var value = /** @type {string} */ (reader.readString());
msg.setExternalId(value);
break;
case 4:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.Value.deserializeBinaryFromReader, "", new proto.ml_metadata.Value());
});
break;
case 5:
var value = msg.getCustomPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.Value.deserializeBinaryFromReader, "", new proto.ml_metadata.Value());
});
break;
case 7:
var value = /** @type {number} */ (reader.readInt64());
msg.setCreateTimeSinceEpoch(value);
break;
case 8:
var value = /** @type {number} */ (reader.readInt64());
msg.setLastUpdateTimeSinceEpoch(value);
break;
case 10:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setSystemMetadata(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.Context.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.Context.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.Context} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Context.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(
6,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 9));
if (f != null) {
writer.writeString(
9,
f
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.Value.serializeBinaryToWriter);
}
f = message.getCustomPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.Value.serializeBinaryToWriter);
}
f = /** @type {number} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeInt64(
7,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 8));
if (f != null) {
writer.writeInt64(
8,
f
);
}
f = message.getSystemMetadata();
if (f != null) {
writer.writeMessage(
10,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**
* optional int64 id = 1;
* @return {number}
*/
proto.ml_metadata.Context.prototype.getId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.setId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Context.prototype.hasId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string name = 3;
* @return {string}
*/
proto.ml_metadata.Context.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.setName = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearName = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Context.prototype.hasName = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional int64 type_id = 2;
* @return {number}
*/
proto.ml_metadata.Context.prototype.getTypeId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.setTypeId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearTypeId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Context.prototype.hasTypeId = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string type = 6;
* @return {string}
*/
proto.ml_metadata.Context.prototype.getType = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.setType = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearType = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Context.prototype.hasType = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional string external_id = 9;
* @return {string}
*/
proto.ml_metadata.Context.prototype.getExternalId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.setExternalId = function(value) {
return jspb.Message.setField(this, 9, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearExternalId = function() {
return jspb.Message.setField(this, 9, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Context.prototype.hasExternalId = function() {
return jspb.Message.getField(this, 9) != null;
};
/**
* map<string, Value> properties = 4;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.Value>}
*/
proto.ml_metadata.Context.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.Value>} */ (
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
proto.ml_metadata.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* map<string, Value> custom_properties = 5;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.Value>}
*/
proto.ml_metadata.Context.prototype.getCustomPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.Value>} */ (
jspb.Message.getMapField(this, 5, opt_noLazyCreate,
proto.ml_metadata.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearCustomPropertiesMap = function() {
this.getCustomPropertiesMap().clear();
return this;};
/**
* optional int64 create_time_since_epoch = 7;
* @return {number}
*/
proto.ml_metadata.Context.prototype.getCreateTimeSinceEpoch = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.setCreateTimeSinceEpoch = function(value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearCreateTimeSinceEpoch = function() {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Context.prototype.hasCreateTimeSinceEpoch = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional int64 last_update_time_since_epoch = 8;
* @return {number}
*/
proto.ml_metadata.Context.prototype.getLastUpdateTimeSinceEpoch = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.setLastUpdateTimeSinceEpoch = function(value) {
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearLastUpdateTimeSinceEpoch = function() {
return jspb.Message.setField(this, 8, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Context.prototype.hasLastUpdateTimeSinceEpoch = function() {
return jspb.Message.getField(this, 8) != null;
};
/**
* optional google.protobuf.Any system_metadata = 10;
* @return {?proto.google.protobuf.Any}
*/
proto.ml_metadata.Context.prototype.getSystemMetadata = function() {
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 10));
};
/**
* @param {?proto.google.protobuf.Any|undefined} value
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.setSystemMetadata = function(value) {
return jspb.Message.setWrapperField(this, 10, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.Context} returns this
*/
proto.ml_metadata.Context.prototype.clearSystemMetadata = function() {
return this.setSystemMetadata(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Context.prototype.hasSystemMetadata = function() {
return jspb.Message.getField(this, 10) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.Attribution.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.Attribution.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.Attribution} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Attribution.toObject = function(includeInstance, msg) {
var f, obj = {
artifactId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
contextId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.Attribution}
*/
proto.ml_metadata.Attribution.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.Attribution;
return proto.ml_metadata.Attribution.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.Attribution} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.Attribution}
*/
proto.ml_metadata.Attribution.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setArtifactId(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setContextId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.Attribution.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.Attribution.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.Attribution} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Attribution.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
};
/**
* optional int64 artifact_id = 1;
* @return {number}
*/
proto.ml_metadata.Attribution.prototype.getArtifactId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Attribution} returns this
*/
proto.ml_metadata.Attribution.prototype.setArtifactId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Attribution} returns this
*/
proto.ml_metadata.Attribution.prototype.clearArtifactId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Attribution.prototype.hasArtifactId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional int64 context_id = 2;
* @return {number}
*/
proto.ml_metadata.Attribution.prototype.getContextId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Attribution} returns this
*/
proto.ml_metadata.Attribution.prototype.setContextId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Attribution} returns this
*/
proto.ml_metadata.Attribution.prototype.clearContextId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Attribution.prototype.hasContextId = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.Association.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.Association.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.Association} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Association.toObject = function(includeInstance, msg) {
var f, obj = {
executionId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
contextId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.Association}
*/
proto.ml_metadata.Association.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.Association;
return proto.ml_metadata.Association.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.Association} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.Association}
*/
proto.ml_metadata.Association.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setExecutionId(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setContextId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.Association.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.Association.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.Association} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.Association.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
};
/**
* optional int64 execution_id = 1;
* @return {number}
*/
proto.ml_metadata.Association.prototype.getExecutionId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Association} returns this
*/
proto.ml_metadata.Association.prototype.setExecutionId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Association} returns this
*/
proto.ml_metadata.Association.prototype.clearExecutionId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Association.prototype.hasExecutionId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional int64 context_id = 2;
* @return {number}
*/
proto.ml_metadata.Association.prototype.getContextId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.Association} returns this
*/
proto.ml_metadata.Association.prototype.setContextId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.Association} returns this
*/
proto.ml_metadata.Association.prototype.clearContextId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.Association.prototype.hasContextId = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ParentContext.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ParentContext.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ParentContext} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ParentContext.toObject = function(includeInstance, msg) {
var f, obj = {
childId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
parentId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ParentContext}
*/
proto.ml_metadata.ParentContext.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ParentContext;
return proto.ml_metadata.ParentContext.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ParentContext} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ParentContext}
*/
proto.ml_metadata.ParentContext.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setChildId(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setParentId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ParentContext.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ParentContext.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ParentContext} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ParentContext.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
};
/**
* optional int64 child_id = 1;
* @return {number}
*/
proto.ml_metadata.ParentContext.prototype.getChildId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.ParentContext} returns this
*/
proto.ml_metadata.ParentContext.prototype.setChildId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ParentContext} returns this
*/
proto.ml_metadata.ParentContext.prototype.clearChildId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ParentContext.prototype.hasChildId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional int64 parent_id = 2;
* @return {number}
*/
proto.ml_metadata.ParentContext.prototype.getParentId = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.ParentContext} returns this
*/
proto.ml_metadata.ParentContext.prototype.setParentId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ParentContext} returns this
*/
proto.ml_metadata.ParentContext.prototype.clearParentId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ParentContext.prototype.hasParentId = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.LineageGraph.repeatedFields_ = [1,2,3,4,5,6,7,8,9];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.LineageGraph.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.LineageGraph.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.LineageGraph} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageGraph.toObject = function(includeInstance, msg) {
var f, obj = {
artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(),
proto.ml_metadata.ArtifactType.toObject, includeInstance),
executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(),
proto.ml_metadata.ExecutionType.toObject, includeInstance),
contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(),
proto.ml_metadata.ContextType.toObject, includeInstance),
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
proto.ml_metadata.Artifact.toObject, includeInstance),
executionsList: jspb.Message.toObjectList(msg.getExecutionsList(),
proto.ml_metadata.Execution.toObject, includeInstance),
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
proto.ml_metadata.Context.toObject, includeInstance),
eventsList: jspb.Message.toObjectList(msg.getEventsList(),
proto.ml_metadata.Event.toObject, includeInstance),
attributionsList: jspb.Message.toObjectList(msg.getAttributionsList(),
proto.ml_metadata.Attribution.toObject, includeInstance),
associationsList: jspb.Message.toObjectList(msg.getAssociationsList(),
proto.ml_metadata.Association.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.LineageGraph}
*/
proto.ml_metadata.LineageGraph.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.LineageGraph;
return proto.ml_metadata.LineageGraph.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.LineageGraph} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.LineageGraph}
*/
proto.ml_metadata.LineageGraph.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ArtifactType;
reader.readMessage(value,proto.ml_metadata.ArtifactType.deserializeBinaryFromReader);
msg.addArtifactTypes(value);
break;
case 2:
var value = new proto.ml_metadata.ExecutionType;
reader.readMessage(value,proto.ml_metadata.ExecutionType.deserializeBinaryFromReader);
msg.addExecutionTypes(value);
break;
case 3:
var value = new proto.ml_metadata.ContextType;
reader.readMessage(value,proto.ml_metadata.ContextType.deserializeBinaryFromReader);
msg.addContextTypes(value);
break;
case 4:
var value = new proto.ml_metadata.Artifact;
reader.readMessage(value,proto.ml_metadata.Artifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
case 5:
var value = new proto.ml_metadata.Execution;
reader.readMessage(value,proto.ml_metadata.Execution.deserializeBinaryFromReader);
msg.addExecutions(value);
break;
case 6:
var value = new proto.ml_metadata.Context;
reader.readMessage(value,proto.ml_metadata.Context.deserializeBinaryFromReader);
msg.addContexts(value);
break;
case 7:
var value = new proto.ml_metadata.Event;
reader.readMessage(value,proto.ml_metadata.Event.deserializeBinaryFromReader);
msg.addEvents(value);
break;
case 8:
var value = new proto.ml_metadata.Attribution;
reader.readMessage(value,proto.ml_metadata.Attribution.deserializeBinaryFromReader);
msg.addAttributions(value);
break;
case 9:
var value = new proto.ml_metadata.Association;
reader.readMessage(value,proto.ml_metadata.Association.deserializeBinaryFromReader);
msg.addAssociations(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.LineageGraph.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.LineageGraph.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.LineageGraph} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageGraph.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ml_metadata.ArtifactType.serializeBinaryToWriter
);
}
f = message.getExecutionTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
proto.ml_metadata.ExecutionType.serializeBinaryToWriter
);
}
f = message.getContextTypesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
3,
f,
proto.ml_metadata.ContextType.serializeBinaryToWriter
);
}
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
4,
f,
proto.ml_metadata.Artifact.serializeBinaryToWriter
);
}
f = message.getExecutionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
5,
f,
proto.ml_metadata.Execution.serializeBinaryToWriter
);
}
f = message.getContextsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
6,
f,
proto.ml_metadata.Context.serializeBinaryToWriter
);
}
f = message.getEventsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
7,
f,
proto.ml_metadata.Event.serializeBinaryToWriter
);
}
f = message.getAttributionsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
8,
f,
proto.ml_metadata.Attribution.serializeBinaryToWriter
);
}
f = message.getAssociationsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
9,
f,
proto.ml_metadata.Association.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactType artifact_types = 1;
* @return {!Array<!proto.ml_metadata.ArtifactType>}
*/
proto.ml_metadata.LineageGraph.prototype.getArtifactTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactType>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.ArtifactType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactType>} value
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.setArtifactTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ArtifactType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.LineageGraph.prototype.addArtifactTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.clearArtifactTypesList = function() {
return this.setArtifactTypesList([]);
};
/**
* repeated ExecutionType execution_types = 2;
* @return {!Array<!proto.ml_metadata.ExecutionType>}
*/
proto.ml_metadata.LineageGraph.prototype.getExecutionTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ExecutionType>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.ExecutionType, 2));
};
/**
* @param {!Array<!proto.ml_metadata.ExecutionType>} value
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.setExecutionTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
/**
* @param {!proto.ml_metadata.ExecutionType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ExecutionType}
*/
proto.ml_metadata.LineageGraph.prototype.addExecutionTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.ExecutionType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.clearExecutionTypesList = function() {
return this.setExecutionTypesList([]);
};
/**
* repeated ContextType context_types = 3;
* @return {!Array<!proto.ml_metadata.ContextType>}
*/
proto.ml_metadata.LineageGraph.prototype.getContextTypesList = function() {
return /** @type{!Array<!proto.ml_metadata.ContextType>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.ContextType, 3));
};
/**
* @param {!Array<!proto.ml_metadata.ContextType>} value
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.setContextTypesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 3, value);
};
/**
* @param {!proto.ml_metadata.ContextType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ContextType}
*/
proto.ml_metadata.LineageGraph.prototype.addContextTypes = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ml_metadata.ContextType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.clearContextTypesList = function() {
return this.setContextTypesList([]);
};
/**
* repeated Artifact artifacts = 4;
* @return {!Array<!proto.ml_metadata.Artifact>}
*/
proto.ml_metadata.LineageGraph.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_metadata.Artifact>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.Artifact, 4));
};
/**
* @param {!Array<!proto.ml_metadata.Artifact>} value
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 4, value);
};
/**
* @param {!proto.ml_metadata.Artifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Artifact}
*/
proto.ml_metadata.LineageGraph.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ml_metadata.Artifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
/**
* repeated Execution executions = 5;
* @return {!Array<!proto.ml_metadata.Execution>}
*/
proto.ml_metadata.LineageGraph.prototype.getExecutionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Execution>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.Execution, 5));
};
/**
* @param {!Array<!proto.ml_metadata.Execution>} value
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.setExecutionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 5, value);
};
/**
* @param {!proto.ml_metadata.Execution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Execution}
*/
proto.ml_metadata.LineageGraph.prototype.addExecutions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ml_metadata.Execution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.clearExecutionsList = function() {
return this.setExecutionsList([]);
};
/**
* repeated Context contexts = 6;
* @return {!Array<!proto.ml_metadata.Context>}
*/
proto.ml_metadata.LineageGraph.prototype.getContextsList = function() {
return /** @type{!Array<!proto.ml_metadata.Context>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.Context, 6));
};
/**
* @param {!Array<!proto.ml_metadata.Context>} value
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.setContextsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 6, value);
};
/**
* @param {!proto.ml_metadata.Context=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Context}
*/
proto.ml_metadata.LineageGraph.prototype.addContexts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.ml_metadata.Context, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.clearContextsList = function() {
return this.setContextsList([]);
};
/**
* repeated Event events = 7;
* @return {!Array<!proto.ml_metadata.Event>}
*/
proto.ml_metadata.LineageGraph.prototype.getEventsList = function() {
return /** @type{!Array<!proto.ml_metadata.Event>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.Event, 7));
};
/**
* @param {!Array<!proto.ml_metadata.Event>} value
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.setEventsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 7, value);
};
/**
* @param {!proto.ml_metadata.Event=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Event}
*/
proto.ml_metadata.LineageGraph.prototype.addEvents = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.ml_metadata.Event, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.clearEventsList = function() {
return this.setEventsList([]);
};
/**
* repeated Attribution attributions = 8;
* @return {!Array<!proto.ml_metadata.Attribution>}
*/
proto.ml_metadata.LineageGraph.prototype.getAttributionsList = function() {
return /** @type{!Array<!proto.ml_metadata.Attribution>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.Attribution, 8));
};
/**
* @param {!Array<!proto.ml_metadata.Attribution>} value
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.setAttributionsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 8, value);
};
/**
* @param {!proto.ml_metadata.Attribution=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Attribution}
*/
proto.ml_metadata.LineageGraph.prototype.addAttributions = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.ml_metadata.Attribution, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.clearAttributionsList = function() {
return this.setAttributionsList([]);
};
/**
* repeated Association associations = 9;
* @return {!Array<!proto.ml_metadata.Association>}
*/
proto.ml_metadata.LineageGraph.prototype.getAssociationsList = function() {
return /** @type{!Array<!proto.ml_metadata.Association>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.Association, 9));
};
/**
* @param {!Array<!proto.ml_metadata.Association>} value
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.setAssociationsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 9, value);
};
/**
* @param {!proto.ml_metadata.Association=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.Association}
*/
proto.ml_metadata.LineageGraph.prototype.addAssociations = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.ml_metadata.Association, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.LineageGraph} returns this
*/
proto.ml_metadata.LineageGraph.prototype.clearAssociationsList = function() {
return this.setAssociationsList([]);
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_metadata.ArtifactStructType.oneofGroups_ = [[1,2,3,4,5,6,7,8]];
/**
* @enum {number}
*/
proto.ml_metadata.ArtifactStructType.KindCase = {
KIND_NOT_SET: 0,
SIMPLE: 1,
UNION_TYPE: 2,
INTERSECTION: 3,
LIST: 4,
NONE: 5,
ANY: 6,
TUPLE: 7,
DICT: 8
};
/**
* @return {proto.ml_metadata.ArtifactStructType.KindCase}
*/
proto.ml_metadata.ArtifactStructType.prototype.getKindCase = function() {
return /** @type {proto.ml_metadata.ArtifactStructType.KindCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.ArtifactStructType.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ArtifactStructType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ArtifactStructType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ArtifactStructType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactStructType.toObject = function(includeInstance, msg) {
var f, obj = {
simple: (f = msg.getSimple()) && proto.ml_metadata.ArtifactType.toObject(includeInstance, f),
unionType: (f = msg.getUnionType()) && proto.ml_metadata.UnionArtifactStructType.toObject(includeInstance, f),
intersection: (f = msg.getIntersection()) && proto.ml_metadata.IntersectionArtifactStructType.toObject(includeInstance, f),
list: (f = msg.getList()) && proto.ml_metadata.ListArtifactStructType.toObject(includeInstance, f),
none: (f = msg.getNone()) && proto.ml_metadata.NoneArtifactStructType.toObject(includeInstance, f),
any: (f = msg.getAny()) && proto.ml_metadata.AnyArtifactStructType.toObject(includeInstance, f),
tuple: (f = msg.getTuple()) && proto.ml_metadata.TupleArtifactStructType.toObject(includeInstance, f),
dict: (f = msg.getDict()) && proto.ml_metadata.DictArtifactStructType.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ArtifactStructType}
*/
proto.ml_metadata.ArtifactStructType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ArtifactStructType;
return proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ArtifactStructType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ArtifactStructType}
*/
proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ArtifactType;
reader.readMessage(value,proto.ml_metadata.ArtifactType.deserializeBinaryFromReader);
msg.setSimple(value);
break;
case 2:
var value = new proto.ml_metadata.UnionArtifactStructType;
reader.readMessage(value,proto.ml_metadata.UnionArtifactStructType.deserializeBinaryFromReader);
msg.setUnionType(value);
break;
case 3:
var value = new proto.ml_metadata.IntersectionArtifactStructType;
reader.readMessage(value,proto.ml_metadata.IntersectionArtifactStructType.deserializeBinaryFromReader);
msg.setIntersection(value);
break;
case 4:
var value = new proto.ml_metadata.ListArtifactStructType;
reader.readMessage(value,proto.ml_metadata.ListArtifactStructType.deserializeBinaryFromReader);
msg.setList(value);
break;
case 5:
var value = new proto.ml_metadata.NoneArtifactStructType;
reader.readMessage(value,proto.ml_metadata.NoneArtifactStructType.deserializeBinaryFromReader);
msg.setNone(value);
break;
case 6:
var value = new proto.ml_metadata.AnyArtifactStructType;
reader.readMessage(value,proto.ml_metadata.AnyArtifactStructType.deserializeBinaryFromReader);
msg.setAny(value);
break;
case 7:
var value = new proto.ml_metadata.TupleArtifactStructType;
reader.readMessage(value,proto.ml_metadata.TupleArtifactStructType.deserializeBinaryFromReader);
msg.setTuple(value);
break;
case 8:
var value = new proto.ml_metadata.DictArtifactStructType;
reader.readMessage(value,proto.ml_metadata.DictArtifactStructType.deserializeBinaryFromReader);
msg.setDict(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ArtifactStructType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ArtifactStructType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getSimple();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_metadata.ArtifactType.serializeBinaryToWriter
);
}
f = message.getUnionType();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_metadata.UnionArtifactStructType.serializeBinaryToWriter
);
}
f = message.getIntersection();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_metadata.IntersectionArtifactStructType.serializeBinaryToWriter
);
}
f = message.getList();
if (f != null) {
writer.writeMessage(
4,
f,
proto.ml_metadata.ListArtifactStructType.serializeBinaryToWriter
);
}
f = message.getNone();
if (f != null) {
writer.writeMessage(
5,
f,
proto.ml_metadata.NoneArtifactStructType.serializeBinaryToWriter
);
}
f = message.getAny();
if (f != null) {
writer.writeMessage(
6,
f,
proto.ml_metadata.AnyArtifactStructType.serializeBinaryToWriter
);
}
f = message.getTuple();
if (f != null) {
writer.writeMessage(
7,
f,
proto.ml_metadata.TupleArtifactStructType.serializeBinaryToWriter
);
}
f = message.getDict();
if (f != null) {
writer.writeMessage(
8,
f,
proto.ml_metadata.DictArtifactStructType.serializeBinaryToWriter
);
}
};
/**
* optional ArtifactType simple = 1;
* @return {?proto.ml_metadata.ArtifactType}
*/
proto.ml_metadata.ArtifactStructType.prototype.getSimple = function() {
return /** @type{?proto.ml_metadata.ArtifactType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactType, 1));
};
/**
* @param {?proto.ml_metadata.ArtifactType|undefined} value
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.setSimple = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.ArtifactStructType.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.clearSimple = function() {
return this.setSimple(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStructType.prototype.hasSimple = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional UnionArtifactStructType union_type = 2;
* @return {?proto.ml_metadata.UnionArtifactStructType}
*/
proto.ml_metadata.ArtifactStructType.prototype.getUnionType = function() {
return /** @type{?proto.ml_metadata.UnionArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.UnionArtifactStructType, 2));
};
/**
* @param {?proto.ml_metadata.UnionArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.setUnionType = function(value) {
return jspb.Message.setOneofWrapperField(this, 2, proto.ml_metadata.ArtifactStructType.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.clearUnionType = function() {
return this.setUnionType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStructType.prototype.hasUnionType = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional IntersectionArtifactStructType intersection = 3;
* @return {?proto.ml_metadata.IntersectionArtifactStructType}
*/
proto.ml_metadata.ArtifactStructType.prototype.getIntersection = function() {
return /** @type{?proto.ml_metadata.IntersectionArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.IntersectionArtifactStructType, 3));
};
/**
* @param {?proto.ml_metadata.IntersectionArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.setIntersection = function(value) {
return jspb.Message.setOneofWrapperField(this, 3, proto.ml_metadata.ArtifactStructType.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.clearIntersection = function() {
return this.setIntersection(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStructType.prototype.hasIntersection = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional ListArtifactStructType list = 4;
* @return {?proto.ml_metadata.ListArtifactStructType}
*/
proto.ml_metadata.ArtifactStructType.prototype.getList = function() {
return /** @type{?proto.ml_metadata.ListArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ListArtifactStructType, 4));
};
/**
* @param {?proto.ml_metadata.ListArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.setList = function(value) {
return jspb.Message.setOneofWrapperField(this, 4, proto.ml_metadata.ArtifactStructType.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.clearList = function() {
return this.setList(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStructType.prototype.hasList = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional NoneArtifactStructType none = 5;
* @return {?proto.ml_metadata.NoneArtifactStructType}
*/
proto.ml_metadata.ArtifactStructType.prototype.getNone = function() {
return /** @type{?proto.ml_metadata.NoneArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.NoneArtifactStructType, 5));
};
/**
* @param {?proto.ml_metadata.NoneArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.setNone = function(value) {
return jspb.Message.setOneofWrapperField(this, 5, proto.ml_metadata.ArtifactStructType.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.clearNone = function() {
return this.setNone(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStructType.prototype.hasNone = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional AnyArtifactStructType any = 6;
* @return {?proto.ml_metadata.AnyArtifactStructType}
*/
proto.ml_metadata.ArtifactStructType.prototype.getAny = function() {
return /** @type{?proto.ml_metadata.AnyArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.AnyArtifactStructType, 6));
};
/**
* @param {?proto.ml_metadata.AnyArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.setAny = function(value) {
return jspb.Message.setOneofWrapperField(this, 6, proto.ml_metadata.ArtifactStructType.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.clearAny = function() {
return this.setAny(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStructType.prototype.hasAny = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional TupleArtifactStructType tuple = 7;
* @return {?proto.ml_metadata.TupleArtifactStructType}
*/
proto.ml_metadata.ArtifactStructType.prototype.getTuple = function() {
return /** @type{?proto.ml_metadata.TupleArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.TupleArtifactStructType, 7));
};
/**
* @param {?proto.ml_metadata.TupleArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.setTuple = function(value) {
return jspb.Message.setOneofWrapperField(this, 7, proto.ml_metadata.ArtifactStructType.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.clearTuple = function() {
return this.setTuple(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStructType.prototype.hasTuple = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional DictArtifactStructType dict = 8;
* @return {?proto.ml_metadata.DictArtifactStructType}
*/
proto.ml_metadata.ArtifactStructType.prototype.getDict = function() {
return /** @type{?proto.ml_metadata.DictArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.DictArtifactStructType, 8));
};
/**
* @param {?proto.ml_metadata.DictArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.setDict = function(value) {
return jspb.Message.setOneofWrapperField(this, 8, proto.ml_metadata.ArtifactStructType.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ArtifactStructType} returns this
*/
proto.ml_metadata.ArtifactStructType.prototype.clearDict = function() {
return this.setDict(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ArtifactStructType.prototype.hasDict = function() {
return jspb.Message.getField(this, 8) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.UnionArtifactStructType.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.UnionArtifactStructType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.UnionArtifactStructType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.UnionArtifactStructType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.UnionArtifactStructType.toObject = function(includeInstance, msg) {
var f, obj = {
candidatesList: jspb.Message.toObjectList(msg.getCandidatesList(),
proto.ml_metadata.ArtifactStructType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.UnionArtifactStructType}
*/
proto.ml_metadata.UnionArtifactStructType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.UnionArtifactStructType;
return proto.ml_metadata.UnionArtifactStructType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.UnionArtifactStructType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.UnionArtifactStructType}
*/
proto.ml_metadata.UnionArtifactStructType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ArtifactStructType;
reader.readMessage(value,proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader);
msg.addCandidates(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.UnionArtifactStructType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.UnionArtifactStructType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.UnionArtifactStructType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.UnionArtifactStructType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCandidatesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactStructType candidates = 1;
* @return {!Array<!proto.ml_metadata.ArtifactStructType>}
*/
proto.ml_metadata.UnionArtifactStructType.prototype.getCandidatesList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactStructType>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.ArtifactStructType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactStructType>} value
* @return {!proto.ml_metadata.UnionArtifactStructType} returns this
*/
proto.ml_metadata.UnionArtifactStructType.prototype.setCandidatesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ArtifactStructType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactStructType}
*/
proto.ml_metadata.UnionArtifactStructType.prototype.addCandidates = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactStructType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.UnionArtifactStructType} returns this
*/
proto.ml_metadata.UnionArtifactStructType.prototype.clearCandidatesList = function() {
return this.setCandidatesList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.IntersectionArtifactStructType.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.IntersectionArtifactStructType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.IntersectionArtifactStructType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.IntersectionArtifactStructType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.IntersectionArtifactStructType.toObject = function(includeInstance, msg) {
var f, obj = {
constraintsList: jspb.Message.toObjectList(msg.getConstraintsList(),
proto.ml_metadata.ArtifactStructType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.IntersectionArtifactStructType}
*/
proto.ml_metadata.IntersectionArtifactStructType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.IntersectionArtifactStructType;
return proto.ml_metadata.IntersectionArtifactStructType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.IntersectionArtifactStructType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.IntersectionArtifactStructType}
*/
proto.ml_metadata.IntersectionArtifactStructType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ArtifactStructType;
reader.readMessage(value,proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader);
msg.addConstraints(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.IntersectionArtifactStructType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.IntersectionArtifactStructType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.IntersectionArtifactStructType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.IntersectionArtifactStructType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getConstraintsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactStructType constraints = 1;
* @return {!Array<!proto.ml_metadata.ArtifactStructType>}
*/
proto.ml_metadata.IntersectionArtifactStructType.prototype.getConstraintsList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactStructType>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.ArtifactStructType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactStructType>} value
* @return {!proto.ml_metadata.IntersectionArtifactStructType} returns this
*/
proto.ml_metadata.IntersectionArtifactStructType.prototype.setConstraintsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ArtifactStructType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactStructType}
*/
proto.ml_metadata.IntersectionArtifactStructType.prototype.addConstraints = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactStructType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.IntersectionArtifactStructType} returns this
*/
proto.ml_metadata.IntersectionArtifactStructType.prototype.clearConstraintsList = function() {
return this.setConstraintsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ListArtifactStructType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ListArtifactStructType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ListArtifactStructType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ListArtifactStructType.toObject = function(includeInstance, msg) {
var f, obj = {
element: (f = msg.getElement()) && proto.ml_metadata.ArtifactStructType.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ListArtifactStructType}
*/
proto.ml_metadata.ListArtifactStructType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ListArtifactStructType;
return proto.ml_metadata.ListArtifactStructType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ListArtifactStructType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ListArtifactStructType}
*/
proto.ml_metadata.ListArtifactStructType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ArtifactStructType;
reader.readMessage(value,proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader);
msg.setElement(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ListArtifactStructType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ListArtifactStructType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ListArtifactStructType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ListArtifactStructType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getElement();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter
);
}
};
/**
* optional ArtifactStructType element = 1;
* @return {?proto.ml_metadata.ArtifactStructType}
*/
proto.ml_metadata.ListArtifactStructType.prototype.getElement = function() {
return /** @type{?proto.ml_metadata.ArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructType, 1));
};
/**
* @param {?proto.ml_metadata.ArtifactStructType|undefined} value
* @return {!proto.ml_metadata.ListArtifactStructType} returns this
*/
proto.ml_metadata.ListArtifactStructType.prototype.setElement = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ListArtifactStructType} returns this
*/
proto.ml_metadata.ListArtifactStructType.prototype.clearElement = function() {
return this.setElement(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListArtifactStructType.prototype.hasElement = function() {
return jspb.Message.getField(this, 1) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.NoneArtifactStructType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.NoneArtifactStructType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.NoneArtifactStructType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.NoneArtifactStructType.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.NoneArtifactStructType}
*/
proto.ml_metadata.NoneArtifactStructType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.NoneArtifactStructType;
return proto.ml_metadata.NoneArtifactStructType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.NoneArtifactStructType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.NoneArtifactStructType}
*/
proto.ml_metadata.NoneArtifactStructType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.NoneArtifactStructType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.NoneArtifactStructType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.NoneArtifactStructType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.NoneArtifactStructType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.AnyArtifactStructType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.AnyArtifactStructType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.AnyArtifactStructType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.AnyArtifactStructType.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.AnyArtifactStructType}
*/
proto.ml_metadata.AnyArtifactStructType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.AnyArtifactStructType;
return proto.ml_metadata.AnyArtifactStructType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.AnyArtifactStructType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.AnyArtifactStructType}
*/
proto.ml_metadata.AnyArtifactStructType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.AnyArtifactStructType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.AnyArtifactStructType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.AnyArtifactStructType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.AnyArtifactStructType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.TupleArtifactStructType.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.TupleArtifactStructType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.TupleArtifactStructType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.TupleArtifactStructType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.TupleArtifactStructType.toObject = function(includeInstance, msg) {
var f, obj = {
elementsList: jspb.Message.toObjectList(msg.getElementsList(),
proto.ml_metadata.ArtifactStructType.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.TupleArtifactStructType}
*/
proto.ml_metadata.TupleArtifactStructType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.TupleArtifactStructType;
return proto.ml_metadata.TupleArtifactStructType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.TupleArtifactStructType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.TupleArtifactStructType}
*/
proto.ml_metadata.TupleArtifactStructType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ArtifactStructType;
reader.readMessage(value,proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader);
msg.addElements(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.TupleArtifactStructType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.TupleArtifactStructType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.TupleArtifactStructType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.TupleArtifactStructType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getElementsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactStructType elements = 1;
* @return {!Array<!proto.ml_metadata.ArtifactStructType>}
*/
proto.ml_metadata.TupleArtifactStructType.prototype.getElementsList = function() {
return /** @type{!Array<!proto.ml_metadata.ArtifactStructType>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.ArtifactStructType, 1));
};
/**
* @param {!Array<!proto.ml_metadata.ArtifactStructType>} value
* @return {!proto.ml_metadata.TupleArtifactStructType} returns this
*/
proto.ml_metadata.TupleArtifactStructType.prototype.setElementsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_metadata.ArtifactStructType=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ArtifactStructType}
*/
proto.ml_metadata.TupleArtifactStructType.prototype.addElements = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactStructType, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.TupleArtifactStructType} returns this
*/
proto.ml_metadata.TupleArtifactStructType.prototype.clearElementsList = function() {
return this.setElementsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.DictArtifactStructType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.DictArtifactStructType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.DictArtifactStructType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.DictArtifactStructType.toObject = function(includeInstance, msg) {
var f, obj = {
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.ArtifactStructType.toObject) : [],
noneTypeNotRequired: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f,
extraPropertiesType: (f = msg.getExtraPropertiesType()) && proto.ml_metadata.ArtifactStructType.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.DictArtifactStructType}
*/
proto.ml_metadata.DictArtifactStructType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.DictArtifactStructType;
return proto.ml_metadata.DictArtifactStructType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.DictArtifactStructType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.DictArtifactStructType}
*/
proto.ml_metadata.DictArtifactStructType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader, "", new proto.ml_metadata.ArtifactStructType());
});
break;
case 2:
var value = /** @type {boolean} */ (reader.readBool());
msg.setNoneTypeNotRequired(value);
break;
case 3:
var value = new proto.ml_metadata.ArtifactStructType;
reader.readMessage(value,proto.ml_metadata.ArtifactStructType.deserializeBinaryFromReader);
msg.setExtraPropertiesType(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.DictArtifactStructType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.DictArtifactStructType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.DictArtifactStructType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.DictArtifactStructType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeBool(
2,
f
);
}
f = message.getExtraPropertiesType();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_metadata.ArtifactStructType.serializeBinaryToWriter
);
}
};
/**
* map<string, ArtifactStructType> properties = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_metadata.ArtifactStructType>}
*/
proto.ml_metadata.DictArtifactStructType.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_metadata.ArtifactStructType>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_metadata.ArtifactStructType));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_metadata.DictArtifactStructType} returns this
*/
proto.ml_metadata.DictArtifactStructType.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* optional bool none_type_not_required = 2;
* @return {boolean}
*/
proto.ml_metadata.DictArtifactStructType.prototype.getNoneTypeNotRequired = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.DictArtifactStructType} returns this
*/
proto.ml_metadata.DictArtifactStructType.prototype.setNoneTypeNotRequired = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.DictArtifactStructType} returns this
*/
proto.ml_metadata.DictArtifactStructType.prototype.clearNoneTypeNotRequired = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.DictArtifactStructType.prototype.hasNoneTypeNotRequired = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional ArtifactStructType extra_properties_type = 3;
* @return {?proto.ml_metadata.ArtifactStructType}
*/
proto.ml_metadata.DictArtifactStructType.prototype.getExtraPropertiesType = function() {
return /** @type{?proto.ml_metadata.ArtifactStructType} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructType, 3));
};
/**
* @param {?proto.ml_metadata.ArtifactStructType|undefined} value
* @return {!proto.ml_metadata.DictArtifactStructType} returns this
*/
proto.ml_metadata.DictArtifactStructType.prototype.setExtraPropertiesType = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.DictArtifactStructType} returns this
*/
proto.ml_metadata.DictArtifactStructType.prototype.clearExtraPropertiesType = function() {
return this.setExtraPropertiesType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.DictArtifactStructType.prototype.hasExtraPropertiesType = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.FakeDatabaseConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.FakeDatabaseConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.FakeDatabaseConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.FakeDatabaseConfig.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.FakeDatabaseConfig}
*/
proto.ml_metadata.FakeDatabaseConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.FakeDatabaseConfig;
return proto.ml_metadata.FakeDatabaseConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.FakeDatabaseConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.FakeDatabaseConfig}
*/
proto.ml_metadata.FakeDatabaseConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.FakeDatabaseConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.FakeDatabaseConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.FakeDatabaseConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.FakeDatabaseConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.MySQLDatabaseConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.MySQLDatabaseConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MySQLDatabaseConfig.toObject = function(includeInstance, msg) {
var f, obj = {
host: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
port: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
database: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
user: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
password: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
socket: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
sslOptions: (f = msg.getSslOptions()) && proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.toObject(includeInstance, f),
skipDbCreation: (f = jspb.Message.getBooleanField(msg, 8)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.MySQLDatabaseConfig}
*/
proto.ml_metadata.MySQLDatabaseConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.MySQLDatabaseConfig;
return proto.ml_metadata.MySQLDatabaseConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.MySQLDatabaseConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.MySQLDatabaseConfig}
*/
proto.ml_metadata.MySQLDatabaseConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setHost(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setPort(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setDatabase(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setUser(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setPassword(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setSocket(value);
break;
case 7:
var value = new proto.ml_metadata.MySQLDatabaseConfig.SSLOptions;
reader.readMessage(value,proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.deserializeBinaryFromReader);
msg.setSslOptions(value);
break;
case 8:
var value = /** @type {boolean} */ (reader.readBool());
msg.setSkipDbCreation(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.MySQLDatabaseConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.MySQLDatabaseConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MySQLDatabaseConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(
4,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(
6,
f
);
}
f = message.getSslOptions();
if (f != null) {
writer.writeMessage(
7,
f,
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.serializeBinaryToWriter
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
if (f != null) {
writer.writeBool(
8,
f
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.toObject = function(includeInstance, msg) {
var f, obj = {
key: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
cert: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
ca: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
capath: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
cipher: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
verifyServerCert: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.MySQLDatabaseConfig.SSLOptions;
return proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setKey(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setCert(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setCa(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setCapath(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setCipher(value);
break;
case 6:
var value = /** @type {boolean} */ (reader.readBool());
msg.setVerifyServerCert(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(
4,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeBool(
6,
f
);
}
};
/**
* optional string key = 1;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.getKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.setKey = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.clearKey = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.hasKey = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string cert = 2;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.getCert = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.setCert = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.clearCert = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.hasCert = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string ca = 3;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.getCa = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.setCa = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.clearCa = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.hasCa = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string capath = 4;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.getCapath = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.setCapath = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.clearCapath = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.hasCapath = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string cipher = 5;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.getCipher = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.setCipher = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.clearCipher = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.hasCipher = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional bool verify_server_cert = 6;
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.getVerifyServerCert = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.setVerifyServerCert = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.clearVerifyServerCert = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.SSLOptions.prototype.hasVerifyServerCert = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional string host = 1;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.getHost = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.setHost = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.clearHost = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.hasHost = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional int64 port = 2;
* @return {number}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.getPort = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.setPort = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.clearPort = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.hasPort = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string database = 3;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.getDatabase = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.setDatabase = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.clearDatabase = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.hasDatabase = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string user = 4;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.getUser = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.setUser = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.clearUser = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.hasUser = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string password = 5;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.getPassword = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.setPassword = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.clearPassword = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.hasPassword = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional string socket = 6;
* @return {string}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.getSocket = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.setSocket = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.clearSocket = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.hasSocket = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional SSLOptions ssl_options = 7;
* @return {?proto.ml_metadata.MySQLDatabaseConfig.SSLOptions}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.getSslOptions = function() {
return /** @type{?proto.ml_metadata.MySQLDatabaseConfig.SSLOptions} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.MySQLDatabaseConfig.SSLOptions, 7));
};
/**
* @param {?proto.ml_metadata.MySQLDatabaseConfig.SSLOptions|undefined} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.setSslOptions = function(value) {
return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.clearSslOptions = function() {
return this.setSslOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.hasSslOptions = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional bool skip_db_creation = 8;
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.getSkipDbCreation = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.setSkipDbCreation = function(value) {
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MySQLDatabaseConfig} returns this
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.clearSkipDbCreation = function() {
return jspb.Message.setField(this, 8, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MySQLDatabaseConfig.prototype.hasSkipDbCreation = function() {
return jspb.Message.getField(this, 8) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.SqliteMetadataSourceConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.SqliteMetadataSourceConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.SqliteMetadataSourceConfig.toObject = function(includeInstance, msg) {
var f, obj = {
filenameUri: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
connectionMode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.SqliteMetadataSourceConfig}
*/
proto.ml_metadata.SqliteMetadataSourceConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.SqliteMetadataSourceConfig;
return proto.ml_metadata.SqliteMetadataSourceConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.SqliteMetadataSourceConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.SqliteMetadataSourceConfig}
*/
proto.ml_metadata.SqliteMetadataSourceConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setFilenameUri(value);
break;
case 2:
var value = /** @type {!proto.ml_metadata.SqliteMetadataSourceConfig.ConnectionMode} */ (reader.readEnum());
msg.setConnectionMode(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.SqliteMetadataSourceConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.SqliteMetadataSourceConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.SqliteMetadataSourceConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {!proto.ml_metadata.SqliteMetadataSourceConfig.ConnectionMode} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeEnum(
2,
f
);
}
};
/**
* @enum {number}
*/
proto.ml_metadata.SqliteMetadataSourceConfig.ConnectionMode = {
UNKNOWN: 0,
READONLY: 1,
READWRITE: 2,
READWRITE_OPENCREATE: 3
};
/**
* optional string filename_uri = 1;
* @return {string}
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.getFilenameUri = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.SqliteMetadataSourceConfig} returns this
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.setFilenameUri = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.SqliteMetadataSourceConfig} returns this
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.clearFilenameUri = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.hasFilenameUri = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ConnectionMode connection_mode = 2;
* @return {!proto.ml_metadata.SqliteMetadataSourceConfig.ConnectionMode}
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.getConnectionMode = function() {
return /** @type {!proto.ml_metadata.SqliteMetadataSourceConfig.ConnectionMode} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {!proto.ml_metadata.SqliteMetadataSourceConfig.ConnectionMode} value
* @return {!proto.ml_metadata.SqliteMetadataSourceConfig} returns this
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.setConnectionMode = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.SqliteMetadataSourceConfig} returns this
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.clearConnectionMode = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.SqliteMetadataSourceConfig.prototype.hasConnectionMode = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PostgreSQLDatabaseConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PostgreSQLDatabaseConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.toObject = function(includeInstance, msg) {
var f, obj = {
host: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
hostaddr: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
port: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
user: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
password: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
passfile: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
dbname: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
skipDbCreation: (f = jspb.Message.getBooleanField(msg, 8)) == null ? undefined : f,
ssloption: (f = msg.getSsloption()) && proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PostgreSQLDatabaseConfig;
return proto.ml_metadata.PostgreSQLDatabaseConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PostgreSQLDatabaseConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setHost(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setHostaddr(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setPort(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setUser(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setPassword(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setPassfile(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setDbname(value);
break;
case 8:
var value = /** @type {boolean} */ (reader.readBool());
msg.setSkipDbCreation(value);
break;
case 9:
var value = new proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions;
reader.readMessage(value,proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.deserializeBinaryFromReader);
msg.setSsloption(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PostgreSQLDatabaseConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PostgreSQLDatabaseConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(
4,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(
6,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeString(
7,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
if (f != null) {
writer.writeBool(
8,
f
);
}
f = message.getSsloption();
if (f != null) {
writer.writeMessage(
9,
f,
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.toObject = function(includeInstance, msg) {
var f, obj = {
sslmode: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
sslcert: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
sslkey: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
sslpassword: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
sslrootcert: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions;
return proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setSslmode(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setSslcert(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setSslkey(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setSslpassword(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setSslrootcert(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(
4,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
};
/**
* optional string sslmode = 1;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslmode = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslmode = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslmode = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslmode = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string sslcert = 2;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslcert = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslcert = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslcert = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslcert = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string sslkey = 3;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslkey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslkey = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslkey = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslkey = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string sslpassword = 4;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslpassword = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslpassword = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslpassword = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslpassword = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string sslrootcert = 5;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslrootcert = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslrootcert = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslrootcert = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslrootcert = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional string host = 1;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getHost = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setHost = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearHost = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasHost = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string hostaddr = 2;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getHostaddr = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setHostaddr = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearHostaddr = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasHostaddr = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string port = 3;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getPort = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setPort = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearPort = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasPort = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string user = 4;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getUser = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setUser = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearUser = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasUser = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string password = 5;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getPassword = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setPassword = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearPassword = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasPassword = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional string passfile = 6;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getPassfile = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setPassfile = function(value) {
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearPassfile = function() {
return jspb.Message.setField(this, 6, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasPassfile = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional string dbname = 7;
* @return {string}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getDbname = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setDbname = function(value) {
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearDbname = function() {
return jspb.Message.setField(this, 7, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasDbname = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional bool skip_db_creation = 8;
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getSkipDbCreation = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setSkipDbCreation = function(value) {
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearSkipDbCreation = function() {
return jspb.Message.setField(this, 8, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasSkipDbCreation = function() {
return jspb.Message.getField(this, 8) != null;
};
/**
* optional SSLOptions ssloption = 9;
* @return {?proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getSsloption = function() {
return /** @type{?proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions, 9));
};
/**
* @param {?proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions|undefined} value
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setSsloption = function(value) {
return jspb.Message.setWrapperField(this, 9, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearSsloption = function() {
return this.setSsloption(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasSsloption = function() {
return jspb.Message.getField(this, 9) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.MigrationOptions.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.MigrationOptions.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.MigrationOptions} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MigrationOptions.toObject = function(includeInstance, msg) {
var f, obj = {
enableUpgradeMigration: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f,
downgradeToSchemaVersion: jspb.Message.getFieldWithDefault(msg, 2, -1)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.MigrationOptions}
*/
proto.ml_metadata.MigrationOptions.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.MigrationOptions;
return proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.MigrationOptions} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.MigrationOptions}
*/
proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setEnableUpgradeMigration(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setDowngradeToSchemaVersion(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.MigrationOptions.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.MigrationOptions.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.MigrationOptions} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MigrationOptions.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeBool(
3,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
};
/**
* optional bool enable_upgrade_migration = 3;
* @return {boolean}
*/
proto.ml_metadata.MigrationOptions.prototype.getEnableUpgradeMigration = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.MigrationOptions} returns this
*/
proto.ml_metadata.MigrationOptions.prototype.setEnableUpgradeMigration = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MigrationOptions} returns this
*/
proto.ml_metadata.MigrationOptions.prototype.clearEnableUpgradeMigration = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MigrationOptions.prototype.hasEnableUpgradeMigration = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional int64 downgrade_to_schema_version = 2;
* @return {number}
*/
proto.ml_metadata.MigrationOptions.prototype.getDowngradeToSchemaVersion = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, -1));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.MigrationOptions} returns this
*/
proto.ml_metadata.MigrationOptions.prototype.setDowngradeToSchemaVersion = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MigrationOptions} returns this
*/
proto.ml_metadata.MigrationOptions.prototype.clearDowngradeToSchemaVersion = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MigrationOptions.prototype.hasDowngradeToSchemaVersion = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.RetryOptions.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.RetryOptions.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.RetryOptions} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.RetryOptions.toObject = function(includeInstance, msg) {
var f, obj = {
maxNumRetries: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.RetryOptions}
*/
proto.ml_metadata.RetryOptions.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.RetryOptions;
return proto.ml_metadata.RetryOptions.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.RetryOptions} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.RetryOptions}
*/
proto.ml_metadata.RetryOptions.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setMaxNumRetries(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.RetryOptions.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.RetryOptions.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.RetryOptions} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.RetryOptions.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
};
/**
* optional int64 max_num_retries = 1;
* @return {number}
*/
proto.ml_metadata.RetryOptions.prototype.getMaxNumRetries = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.RetryOptions} returns this
*/
proto.ml_metadata.RetryOptions.prototype.setMaxNumRetries = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.RetryOptions} returns this
*/
proto.ml_metadata.RetryOptions.prototype.clearMaxNumRetries = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.RetryOptions.prototype.hasMaxNumRetries = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_metadata.ConnectionConfig.oneofGroups_ = [[1,2,3,5]];
/**
* @enum {number}
*/
proto.ml_metadata.ConnectionConfig.ConfigCase = {
CONFIG_NOT_SET: 0,
FAKE_DATABASE: 1,
MYSQL: 2,
SQLITE: 3,
POSTGRESQL: 5
};
/**
* @return {proto.ml_metadata.ConnectionConfig.ConfigCase}
*/
proto.ml_metadata.ConnectionConfig.prototype.getConfigCase = function() {
return /** @type {proto.ml_metadata.ConnectionConfig.ConfigCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.ConnectionConfig.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ConnectionConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ConnectionConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ConnectionConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ConnectionConfig.toObject = function(includeInstance, msg) {
var f, obj = {
fakeDatabase: (f = msg.getFakeDatabase()) && proto.ml_metadata.FakeDatabaseConfig.toObject(includeInstance, f),
mysql: (f = msg.getMysql()) && proto.ml_metadata.MySQLDatabaseConfig.toObject(includeInstance, f),
sqlite: (f = msg.getSqlite()) && proto.ml_metadata.SqliteMetadataSourceConfig.toObject(includeInstance, f),
postgresql: (f = msg.getPostgresql()) && proto.ml_metadata.PostgreSQLDatabaseConfig.toObject(includeInstance, f),
retryOptions: (f = msg.getRetryOptions()) && proto.ml_metadata.RetryOptions.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ConnectionConfig}
*/
proto.ml_metadata.ConnectionConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ConnectionConfig;
return proto.ml_metadata.ConnectionConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ConnectionConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ConnectionConfig}
*/
proto.ml_metadata.ConnectionConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.FakeDatabaseConfig;
reader.readMessage(value,proto.ml_metadata.FakeDatabaseConfig.deserializeBinaryFromReader);
msg.setFakeDatabase(value);
break;
case 2:
var value = new proto.ml_metadata.MySQLDatabaseConfig;
reader.readMessage(value,proto.ml_metadata.MySQLDatabaseConfig.deserializeBinaryFromReader);
msg.setMysql(value);
break;
case 3:
var value = new proto.ml_metadata.SqliteMetadataSourceConfig;
reader.readMessage(value,proto.ml_metadata.SqliteMetadataSourceConfig.deserializeBinaryFromReader);
msg.setSqlite(value);
break;
case 5:
var value = new proto.ml_metadata.PostgreSQLDatabaseConfig;
reader.readMessage(value,proto.ml_metadata.PostgreSQLDatabaseConfig.deserializeBinaryFromReader);
msg.setPostgresql(value);
break;
case 4:
var value = new proto.ml_metadata.RetryOptions;
reader.readMessage(value,proto.ml_metadata.RetryOptions.deserializeBinaryFromReader);
msg.setRetryOptions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ConnectionConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ConnectionConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ConnectionConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ConnectionConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getFakeDatabase();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_metadata.FakeDatabaseConfig.serializeBinaryToWriter
);
}
f = message.getMysql();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_metadata.MySQLDatabaseConfig.serializeBinaryToWriter
);
}
f = message.getSqlite();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_metadata.SqliteMetadataSourceConfig.serializeBinaryToWriter
);
}
f = message.getPostgresql();
if (f != null) {
writer.writeMessage(
5,
f,
proto.ml_metadata.PostgreSQLDatabaseConfig.serializeBinaryToWriter
);
}
f = message.getRetryOptions();
if (f != null) {
writer.writeMessage(
4,
f,
proto.ml_metadata.RetryOptions.serializeBinaryToWriter
);
}
};
/**
* optional FakeDatabaseConfig fake_database = 1;
* @return {?proto.ml_metadata.FakeDatabaseConfig}
*/
proto.ml_metadata.ConnectionConfig.prototype.getFakeDatabase = function() {
return /** @type{?proto.ml_metadata.FakeDatabaseConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.FakeDatabaseConfig, 1));
};
/**
* @param {?proto.ml_metadata.FakeDatabaseConfig|undefined} value
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.setFakeDatabase = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.clearFakeDatabase = function() {
return this.setFakeDatabase(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ConnectionConfig.prototype.hasFakeDatabase = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional MySQLDatabaseConfig mysql = 2;
* @return {?proto.ml_metadata.MySQLDatabaseConfig}
*/
proto.ml_metadata.ConnectionConfig.prototype.getMysql = function() {
return /** @type{?proto.ml_metadata.MySQLDatabaseConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.MySQLDatabaseConfig, 2));
};
/**
* @param {?proto.ml_metadata.MySQLDatabaseConfig|undefined} value
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.setMysql = function(value) {
return jspb.Message.setOneofWrapperField(this, 2, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.clearMysql = function() {
return this.setMysql(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ConnectionConfig.prototype.hasMysql = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional SqliteMetadataSourceConfig sqlite = 3;
* @return {?proto.ml_metadata.SqliteMetadataSourceConfig}
*/
proto.ml_metadata.ConnectionConfig.prototype.getSqlite = function() {
return /** @type{?proto.ml_metadata.SqliteMetadataSourceConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.SqliteMetadataSourceConfig, 3));
};
/**
* @param {?proto.ml_metadata.SqliteMetadataSourceConfig|undefined} value
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.setSqlite = function(value) {
return jspb.Message.setOneofWrapperField(this, 3, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.clearSqlite = function() {
return this.setSqlite(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ConnectionConfig.prototype.hasSqlite = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional PostgreSQLDatabaseConfig postgresql = 5;
* @return {?proto.ml_metadata.PostgreSQLDatabaseConfig}
*/
proto.ml_metadata.ConnectionConfig.prototype.getPostgresql = function() {
return /** @type{?proto.ml_metadata.PostgreSQLDatabaseConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.PostgreSQLDatabaseConfig, 5));
};
/**
* @param {?proto.ml_metadata.PostgreSQLDatabaseConfig|undefined} value
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.setPostgresql = function(value) {
return jspb.Message.setOneofWrapperField(this, 5, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.clearPostgresql = function() {
return this.setPostgresql(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ConnectionConfig.prototype.hasPostgresql = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional RetryOptions retry_options = 4;
* @return {?proto.ml_metadata.RetryOptions}
*/
proto.ml_metadata.ConnectionConfig.prototype.getRetryOptions = function() {
return /** @type{?proto.ml_metadata.RetryOptions} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.RetryOptions, 4));
};
/**
* @param {?proto.ml_metadata.RetryOptions|undefined} value
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.setRetryOptions = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ConnectionConfig} returns this
*/
proto.ml_metadata.ConnectionConfig.prototype.clearRetryOptions = function() {
return this.setRetryOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ConnectionConfig.prototype.hasRetryOptions = function() {
return jspb.Message.getField(this, 4) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.GrpcChannelArguments.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.GrpcChannelArguments.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.GrpcChannelArguments} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GrpcChannelArguments.toObject = function(includeInstance, msg) {
var f, obj = {
maxReceiveMessageLength: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
http2MaxPingStrikes: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.GrpcChannelArguments}
*/
proto.ml_metadata.GrpcChannelArguments.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.GrpcChannelArguments;
return proto.ml_metadata.GrpcChannelArguments.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.GrpcChannelArguments} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.GrpcChannelArguments}
*/
proto.ml_metadata.GrpcChannelArguments.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setMaxReceiveMessageLength(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setHttp2MaxPingStrikes(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.GrpcChannelArguments.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.GrpcChannelArguments.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.GrpcChannelArguments} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.GrpcChannelArguments.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
};
/**
* optional int64 max_receive_message_length = 1;
* @return {number}
*/
proto.ml_metadata.GrpcChannelArguments.prototype.getMaxReceiveMessageLength = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.GrpcChannelArguments} returns this
*/
proto.ml_metadata.GrpcChannelArguments.prototype.setMaxReceiveMessageLength = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GrpcChannelArguments} returns this
*/
proto.ml_metadata.GrpcChannelArguments.prototype.clearMaxReceiveMessageLength = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GrpcChannelArguments.prototype.hasMaxReceiveMessageLength = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional int64 http2_max_ping_strikes = 2;
* @return {number}
*/
proto.ml_metadata.GrpcChannelArguments.prototype.getHttp2MaxPingStrikes = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.GrpcChannelArguments} returns this
*/
proto.ml_metadata.GrpcChannelArguments.prototype.setHttp2MaxPingStrikes = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.GrpcChannelArguments} returns this
*/
proto.ml_metadata.GrpcChannelArguments.prototype.clearHttp2MaxPingStrikes = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.GrpcChannelArguments.prototype.hasHttp2MaxPingStrikes = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.MetadataStoreClientConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.MetadataStoreClientConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MetadataStoreClientConfig.toObject = function(includeInstance, msg) {
var f, obj = {
host: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
port: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
sslConfig: (f = msg.getSslConfig()) && proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject(includeInstance, f),
channelArguments: (f = msg.getChannelArguments()) && proto.ml_metadata.GrpcChannelArguments.toObject(includeInstance, f),
clientTimeoutSec: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.MetadataStoreClientConfig}
*/
proto.ml_metadata.MetadataStoreClientConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.MetadataStoreClientConfig;
return proto.ml_metadata.MetadataStoreClientConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.MetadataStoreClientConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.MetadataStoreClientConfig}
*/
proto.ml_metadata.MetadataStoreClientConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setHost(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setPort(value);
break;
case 3:
var value = new proto.ml_metadata.MetadataStoreClientConfig.SSLConfig;
reader.readMessage(value,proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReader);
msg.setSslConfig(value);
break;
case 4:
var value = new proto.ml_metadata.GrpcChannelArguments;
reader.readMessage(value,proto.ml_metadata.GrpcChannelArguments.deserializeBinaryFromReader);
msg.setChannelArguments(value);
break;
case 5:
var value = /** @type {number} */ (reader.readDouble());
msg.setClientTimeoutSec(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.MetadataStoreClientConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.MetadataStoreClientConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MetadataStoreClientConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
f = message.getSslConfig();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.serializeBinaryToWriter
);
}
f = message.getChannelArguments();
if (f != null) {
writer.writeMessage(
4,
f,
proto.ml_metadata.GrpcChannelArguments.serializeBinaryToWriter
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeDouble(
5,
f
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject = function(includeInstance, msg) {
var f, obj = {
clientKey: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
serverCert: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
customCa: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.MetadataStoreClientConfig.SSLConfig;
return proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setClientKey(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setServerCert(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setCustomCa(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
};
/**
* optional string client_key = 1;
* @return {string}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.getClientKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.setClientKey = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearClientKey = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.hasClientKey = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string server_cert = 2;
* @return {string}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.getServerCert = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.setServerCert = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearServerCert = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.hasServerCert = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string custom_ca = 3;
* @return {string}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.getCustomCa = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.setCustomCa = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearCustomCa = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.hasCustomCa = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string host = 1;
* @return {string}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.getHost = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.setHost = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.clearHost = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.hasHost = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional int64 port = 2;
* @return {number}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.getPort = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.setPort = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.clearPort = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.hasPort = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional SSLConfig ssl_config = 3;
* @return {?proto.ml_metadata.MetadataStoreClientConfig.SSLConfig}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.getSslConfig = function() {
return /** @type{?proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.MetadataStoreClientConfig.SSLConfig, 3));
};
/**
* @param {?proto.ml_metadata.MetadataStoreClientConfig.SSLConfig|undefined} value
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.setSslConfig = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.clearSslConfig = function() {
return this.setSslConfig(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.hasSslConfig = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional GrpcChannelArguments channel_arguments = 4;
* @return {?proto.ml_metadata.GrpcChannelArguments}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.getChannelArguments = function() {
return /** @type{?proto.ml_metadata.GrpcChannelArguments} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.GrpcChannelArguments, 4));
};
/**
* @param {?proto.ml_metadata.GrpcChannelArguments|undefined} value
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.setChannelArguments = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.clearChannelArguments = function() {
return this.setChannelArguments(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.hasChannelArguments = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional double client_timeout_sec = 5;
* @return {number}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.getClientTimeoutSec = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.setClientTimeoutSec = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.clearClientTimeoutSec = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreClientConfig.prototype.hasClientTimeoutSec = function() {
return jspb.Message.getField(this, 5) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.MetadataStoreServerConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.MetadataStoreServerConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MetadataStoreServerConfig.toObject = function(includeInstance, msg) {
var f, obj = {
connectionConfig: (f = msg.getConnectionConfig()) && proto.ml_metadata.ConnectionConfig.toObject(includeInstance, f),
migrationOptions: (f = msg.getMigrationOptions()) && proto.ml_metadata.MigrationOptions.toObject(includeInstance, f),
sslConfig: (f = msg.getSslConfig()) && proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.MetadataStoreServerConfig}
*/
proto.ml_metadata.MetadataStoreServerConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.MetadataStoreServerConfig;
return proto.ml_metadata.MetadataStoreServerConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.MetadataStoreServerConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.MetadataStoreServerConfig}
*/
proto.ml_metadata.MetadataStoreServerConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ConnectionConfig;
reader.readMessage(value,proto.ml_metadata.ConnectionConfig.deserializeBinaryFromReader);
msg.setConnectionConfig(value);
break;
case 3:
var value = new proto.ml_metadata.MigrationOptions;
reader.readMessage(value,proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader);
msg.setMigrationOptions(value);
break;
case 2:
var value = new proto.ml_metadata.MetadataStoreServerConfig.SSLConfig;
reader.readMessage(value,proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinaryFromReader);
msg.setSslConfig(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.MetadataStoreServerConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.MetadataStoreServerConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MetadataStoreServerConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getConnectionConfig();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_metadata.ConnectionConfig.serializeBinaryToWriter
);
}
f = message.getMigrationOptions();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_metadata.MigrationOptions.serializeBinaryToWriter
);
}
f = message.getSslConfig();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.toObject = function(includeInstance, msg) {
var f, obj = {
serverKey: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
serverCert: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
customCa: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
clientVerify: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.MetadataStoreServerConfig.SSLConfig;
return proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setServerKey(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setServerCert(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setCustomCa(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setClientVerify(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeBool(
4,
f
);
}
};
/**
* optional string server_key = 1;
* @return {string}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getServerKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setServerKey = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearServerKey = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasServerKey = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string server_cert = 2;
* @return {string}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getServerCert = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setServerCert = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearServerCert = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasServerCert = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string custom_ca = 3;
* @return {string}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getCustomCa = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setCustomCa = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearCustomCa = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasCustomCa = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional bool client_verify = 4;
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getClientVerify = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setClientVerify = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearClientVerify = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasClientVerify = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional ConnectionConfig connection_config = 1;
* @return {?proto.ml_metadata.ConnectionConfig}
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.getConnectionConfig = function() {
return /** @type{?proto.ml_metadata.ConnectionConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ConnectionConfig, 1));
};
/**
* @param {?proto.ml_metadata.ConnectionConfig|undefined} value
* @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.setConnectionConfig = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.clearConnectionConfig = function() {
return this.setConnectionConfig(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.hasConnectionConfig = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional MigrationOptions migration_options = 3;
* @return {?proto.ml_metadata.MigrationOptions}
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.getMigrationOptions = function() {
return /** @type{?proto.ml_metadata.MigrationOptions} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.MigrationOptions, 3));
};
/**
* @param {?proto.ml_metadata.MigrationOptions|undefined} value
* @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.setMigrationOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.clearMigrationOptions = function() {
return this.setMigrationOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.hasMigrationOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional SSLConfig ssl_config = 2;
* @return {?proto.ml_metadata.MetadataStoreServerConfig.SSLConfig}
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.getSslConfig = function() {
return /** @type{?proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.MetadataStoreServerConfig.SSLConfig, 2));
};
/**
* @param {?proto.ml_metadata.MetadataStoreServerConfig.SSLConfig|undefined} value
* @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.setSslConfig = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.clearSslConfig = function() {
return this.setSslConfig(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.MetadataStoreServerConfig.prototype.hasSslConfig = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ListOperationOptions.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ListOperationOptions.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ListOperationOptions} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ListOperationOptions.toObject = function(includeInstance, msg) {
var f, obj = {
maxResultSize: jspb.Message.getFieldWithDefault(msg, 1, 20),
orderByField: (f = msg.getOrderByField()) && proto.ml_metadata.ListOperationOptions.OrderByField.toObject(includeInstance, f),
nextPageToken: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
filterQuery: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.ListOperationOptions.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ListOperationOptions;
return proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ListOperationOptions} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt32());
msg.setMaxResultSize(value);
break;
case 2:
var value = new proto.ml_metadata.ListOperationOptions.OrderByField;
reader.readMessage(value,proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader);
msg.setOrderByField(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setNextPageToken(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setFilterQuery(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ListOperationOptions.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ListOperationOptions} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt32(
1,
f
);
}
f = message.getOrderByField();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_metadata.ListOperationOptions.OrderByField.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(
4,
f
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ListOperationOptions.OrderByField.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ListOperationOptions.OrderByField} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ListOperationOptions.OrderByField.toObject = function(includeInstance, msg) {
var f, obj = {
field: jspb.Message.getFieldWithDefault(msg, 1, 3),
isAsc: jspb.Message.getBooleanFieldWithDefault(msg, 2, true)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ListOperationOptions.OrderByField}
*/
proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ListOperationOptions.OrderByField;
return proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ListOperationOptions.OrderByField} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ListOperationOptions.OrderByField}
*/
proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} */ (reader.readEnum());
msg.setField(value);
break;
case 2:
var value = /** @type {boolean} */ (reader.readBool());
msg.setIsAsc(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ListOperationOptions.OrderByField.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ListOperationOptions.OrderByField} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ListOperationOptions.OrderByField.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeEnum(
1,
f
);
}
f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeBool(
2,
f
);
}
};
/**
* @enum {number}
*/
proto.ml_metadata.ListOperationOptions.OrderByField.Field = {
FIELD_UNSPECIFIED: 0,
CREATE_TIME: 1,
LAST_UPDATE_TIME: 2,
ID: 3
};
/**
* optional Field field = 1;
* @return {!proto.ml_metadata.ListOperationOptions.OrderByField.Field}
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.getField = function() {
return /** @type {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} */ (jspb.Message.getFieldWithDefault(this, 1, 3));
};
/**
* @param {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} value
* @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.setField = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.clearField = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.hasField = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bool is_asc = 2;
* @return {boolean}
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.getIsAsc = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, true));
};
/**
* @param {boolean} value
* @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.setIsAsc = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.clearIsAsc = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListOperationOptions.OrderByField.prototype.hasIsAsc = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional int32 max_result_size = 1;
* @return {number}
*/
proto.ml_metadata.ListOperationOptions.prototype.getMaxResultSize = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 20));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.ListOperationOptions} returns this
*/
proto.ml_metadata.ListOperationOptions.prototype.setMaxResultSize = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ListOperationOptions} returns this
*/
proto.ml_metadata.ListOperationOptions.prototype.clearMaxResultSize = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListOperationOptions.prototype.hasMaxResultSize = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional OrderByField order_by_field = 2;
* @return {?proto.ml_metadata.ListOperationOptions.OrderByField}
*/
proto.ml_metadata.ListOperationOptions.prototype.getOrderByField = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions.OrderByField} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ListOperationOptions.OrderByField, 2));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions.OrderByField|undefined} value
* @return {!proto.ml_metadata.ListOperationOptions} returns this
*/
proto.ml_metadata.ListOperationOptions.prototype.setOrderByField = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ListOperationOptions} returns this
*/
proto.ml_metadata.ListOperationOptions.prototype.clearOrderByField = function() {
return this.setOrderByField(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListOperationOptions.prototype.hasOrderByField = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string next_page_token = 3;
* @return {string}
*/
proto.ml_metadata.ListOperationOptions.prototype.getNextPageToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ListOperationOptions} returns this
*/
proto.ml_metadata.ListOperationOptions.prototype.setNextPageToken = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ListOperationOptions} returns this
*/
proto.ml_metadata.ListOperationOptions.prototype.clearNextPageToken = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListOperationOptions.prototype.hasNextPageToken = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string filter_query = 4;
* @return {string}
*/
proto.ml_metadata.ListOperationOptions.prototype.getFilterQuery = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.ListOperationOptions} returns this
*/
proto.ml_metadata.ListOperationOptions.prototype.setFilterQuery = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ListOperationOptions} returns this
*/
proto.ml_metadata.ListOperationOptions.prototype.clearFilterQuery = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListOperationOptions.prototype.hasFilterQuery = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_metadata.ListOperationNextPageToken.repeatedFields_ = [4];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.ListOperationNextPageToken.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.ListOperationNextPageToken} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ListOperationNextPageToken.toObject = function(includeInstance, msg) {
var f, obj = {
idOffset: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
fieldOffset: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
setOptions: (f = msg.getSetOptions()) && proto.ml_metadata.ListOperationOptions.toObject(includeInstance, f),
listedIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.ListOperationNextPageToken}
*/
proto.ml_metadata.ListOperationNextPageToken.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.ListOperationNextPageToken;
return proto.ml_metadata.ListOperationNextPageToken.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.ListOperationNextPageToken} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.ListOperationNextPageToken}
*/
proto.ml_metadata.ListOperationNextPageToken.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setIdOffset(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setFieldOffset(value);
break;
case 3:
var value = new proto.ml_metadata.ListOperationOptions;
reader.readMessage(value,proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader);
msg.setSetOptions(value);
break;
case 4:
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
for (var i = 0; i < values.length; i++) {
msg.addListedIds(values[i]);
}
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.ListOperationNextPageToken.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.ListOperationNextPageToken} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.ListOperationNextPageToken.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeInt64(
2,
f
);
}
f = message.getSetOptions();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter
);
}
f = message.getListedIdsList();
if (f.length > 0) {
writer.writeRepeatedInt64(
4,
f
);
}
};
/**
* optional int64 id_offset = 1;
* @return {number}
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.getIdOffset = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.ListOperationNextPageToken} returns this
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.setIdOffset = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ListOperationNextPageToken} returns this
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.clearIdOffset = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.hasIdOffset = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional int64 field_offset = 2;
* @return {number}
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.getFieldOffset = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.ListOperationNextPageToken} returns this
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.setFieldOffset = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.ListOperationNextPageToken} returns this
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.clearFieldOffset = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.hasFieldOffset = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional ListOperationOptions set_options = 3;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.getSetOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ListOperationOptions, 3));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.ListOperationNextPageToken} returns this
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.setSetOptions = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.ListOperationNextPageToken} returns this
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.clearSetOptions = function() {
return this.setSetOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.hasSetOptions = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* repeated int64 listed_ids = 4;
* @return {!Array<number>}
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.getListedIdsList = function() {
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
};
/**
* @param {!Array<number>} value
* @return {!proto.ml_metadata.ListOperationNextPageToken} returns this
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.setListedIdsList = function(value) {
return jspb.Message.setField(this, 4, value || []);
};
/**
* @param {number} value
* @param {number=} opt_index
* @return {!proto.ml_metadata.ListOperationNextPageToken} returns this
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.addListedIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_metadata.ListOperationNextPageToken} returns this
*/
proto.ml_metadata.ListOperationNextPageToken.prototype.clearListedIdsList = function() {
return this.setListedIdsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.TransactionOptions.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.TransactionOptions.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.TransactionOptions} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.TransactionOptions.toObject = function(includeInstance, msg) {
var f, obj = {
tag: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};
jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj,
proto.ml_metadata.TransactionOptions.extensions, proto.ml_metadata.TransactionOptions.prototype.getExtension,
includeInstance);
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.TransactionOptions.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.TransactionOptions;
return proto.ml_metadata.TransactionOptions.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.TransactionOptions} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.TransactionOptions}
*/
proto.ml_metadata.TransactionOptions.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setTag(value);
break;
default:
jspb.Message.readBinaryExtension(msg, reader,
proto.ml_metadata.TransactionOptions.extensionsBinary,
proto.ml_metadata.TransactionOptions.prototype.getExtension,
proto.ml_metadata.TransactionOptions.prototype.setExtension);
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.TransactionOptions.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.TransactionOptions.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.TransactionOptions} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.TransactionOptions.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
jspb.Message.serializeBinaryExtensions(message, writer,
proto.ml_metadata.TransactionOptions.extensionsBinary, proto.ml_metadata.TransactionOptions.prototype.getExtension);
};
/**
* optional string tag = 1;
* @return {string}
*/
proto.ml_metadata.TransactionOptions.prototype.getTag = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.TransactionOptions} returns this
*/
proto.ml_metadata.TransactionOptions.prototype.setTag = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.TransactionOptions} returns this
*/
proto.ml_metadata.TransactionOptions.prototype.clearTag = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.TransactionOptions.prototype.hasTag = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_ = [[1]];
/**
* @enum {number}
*/
proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase = {
QUERY_NODES_NOT_SET: 0,
ARTIFACTS_OPTIONS: 1
};
/**
* @return {proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase}
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.getQueryNodesCase = function() {
return /** @type {proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.LineageGraphQueryOptions.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.LineageGraphQueryOptions} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageGraphQueryOptions.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsOptions: (f = msg.getArtifactsOptions()) && proto.ml_metadata.ListOperationOptions.toObject(includeInstance, f),
stopConditions: (f = msg.getStopConditions()) && proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject(includeInstance, f),
maxNodeSize: jspb.Message.getFieldWithDefault(msg, 3, 20)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.LineageGraphQueryOptions}
*/
proto.ml_metadata.LineageGraphQueryOptions.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.LineageGraphQueryOptions;
return proto.ml_metadata.LineageGraphQueryOptions.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.LineageGraphQueryOptions} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.LineageGraphQueryOptions}
*/
proto.ml_metadata.LineageGraphQueryOptions.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.ListOperationOptions;
reader.readMessage(value,proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader);
msg.setArtifactsOptions(value);
break;
case 2:
var value = new proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint;
reader.readMessage(value,proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryFromReader);
msg.setStopConditions(value);
break;
case 3:
var value = /** @type {number} */ (reader.readInt64());
msg.setMaxNodeSize(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.LineageGraphQueryOptions.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.LineageGraphQueryOptions} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageGraphQueryOptions.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsOptions();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter
);
}
f = message.getStopConditions();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToWriter
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeInt64(
3,
f
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject = function(includeInstance, msg) {
var f, obj = {
maxNumHops: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
boundaryArtifacts: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
boundaryExecutions: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint;
return proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setMaxNumHops(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setBoundaryArtifacts(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setBoundaryExecutions(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
};
/**
* optional int64 max_num_hops = 1;
* @return {number}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.getMaxNumHops = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.setMaxNumHops = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearMaxNumHops = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.hasMaxNumHops = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string boundary_artifacts = 2;
* @return {string}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.getBoundaryArtifacts = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.setBoundaryArtifacts = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearBoundaryArtifacts = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.hasBoundaryArtifacts = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string boundary_executions = 3;
* @return {string}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.getBoundaryExecutions = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.setBoundaryExecutions = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearBoundaryExecutions = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.hasBoundaryExecutions = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional ListOperationOptions artifacts_options = 1;
* @return {?proto.ml_metadata.ListOperationOptions}
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.getArtifactsOptions = function() {
return /** @type{?proto.ml_metadata.ListOperationOptions} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.ListOperationOptions, 1));
};
/**
* @param {?proto.ml_metadata.ListOperationOptions|undefined} value
* @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.setArtifactsOptions = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.clearArtifactsOptions = function() {
return this.setArtifactsOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.hasArtifactsOptions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional BoundaryConstraint stop_conditions = 2;
* @return {?proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint}
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.getStopConditions = function() {
return /** @type{?proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint, 2));
};
/**
* @param {?proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint|undefined} value
* @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.setStopConditions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.clearStopConditions = function() {
return this.setStopConditions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.hasStopConditions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional int64 max_node_size = 3;
* @return {number}
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.getMaxNodeSize = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 20));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.setMaxNodeSize = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.clearMaxNodeSize = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageGraphQueryOptions.prototype.hasMaxNodeSize = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodesCase = {
STARTING_NODES_NOT_SET: 0,
STARTING_ARTIFACTS: 1,
STARTING_EXECUTIONS: 2
};
/**
* @return {proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodesCase}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getStartingNodesCase = function() {
return /** @type {proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodesCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.LineageSubgraphQueryOptions.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.LineageSubgraphQueryOptions} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageSubgraphQueryOptions.toObject = function(includeInstance, msg) {
var f, obj = {
startingArtifacts: (f = msg.getStartingArtifacts()) && proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.toObject(includeInstance, f),
startingExecutions: (f = msg.getStartingExecutions()) && proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.toObject(includeInstance, f),
maxNumHops: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
direction: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.LineageSubgraphQueryOptions;
return proto.ml_metadata.LineageSubgraphQueryOptions.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.LineageSubgraphQueryOptions} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes;
reader.readMessage(value,proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinaryFromReader);
msg.setStartingArtifacts(value);
break;
case 2:
var value = new proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes;
reader.readMessage(value,proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinaryFromReader);
msg.setStartingExecutions(value);
break;
case 3:
var value = /** @type {number} */ (reader.readInt64());
msg.setMaxNumHops(value);
break;
case 4:
var value = /** @type {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction} */ (reader.readEnum());
msg.setDirection(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.LineageSubgraphQueryOptions.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.LineageSubgraphQueryOptions} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageSubgraphQueryOptions.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getStartingArtifacts();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.serializeBinaryToWriter
);
}
f = message.getStartingExecutions();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.serializeBinaryToWriter
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeInt64(
3,
f
);
}
f = /** @type {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeEnum(
4,
f
);
}
};
/**
* @enum {number}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.Direction = {
DIRECTION_UNSPECIFIED: 0,
UPSTREAM: 1,
DOWNSTREAM: 2,
BIDIRECTIONAL: 3
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.toObject = function(opt_includeInstance) {
return proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.toObject = function(includeInstance, msg) {
var f, obj = {
filterQuery: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes;
return proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setFilterQuery(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
};
/**
* optional string filter_query = 1;
* @return {string}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.getFilterQuery = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.setFilterQuery = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.clearFilterQuery = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.hasFilterQuery = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional StartingNodes starting_artifacts = 1;
* @return {?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getStartingArtifacts = function() {
return /** @type{?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes, 1));
};
/**
* @param {?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes|undefined} value
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.setStartingArtifacts = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.clearStartingArtifacts = function() {
return this.setStartingArtifacts(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.hasStartingArtifacts = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional StartingNodes starting_executions = 2;
* @return {?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getStartingExecutions = function() {
return /** @type{?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} */ (
jspb.Message.getWrapperField(this, proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes, 2));
};
/**
* @param {?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes|undefined} value
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.setStartingExecutions = function(value) {
return jspb.Message.setOneofWrapperField(this, 2, proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.clearStartingExecutions = function() {
return this.setStartingExecutions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.hasStartingExecutions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional int64 max_num_hops = 3;
* @return {number}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getMaxNumHops = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.setMaxNumHops = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.clearMaxNumHops = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.hasMaxNumHops = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional Direction direction = 4;
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getDirection = function() {
return /** @type {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};
/**
* @param {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction} value
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.setDirection = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.clearDirection = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_metadata.LineageSubgraphQueryOptions.prototype.hasDirection = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* @enum {number}
*/
proto.ml_metadata.PropertyType = {
UNKNOWN: 0,
INT: 1,
DOUBLE: 2,
STRING: 3,
STRUCT: 4,
PROTO: 5,
BOOLEAN: 6
};
/**
* A tuple of {field number, class constructor} for the extension
* field named `systemTypeExtension`.
* @type {!jspb.ExtensionFieldInfo<!proto.ml_metadata.SystemTypeExtension>}
*/
proto.ml_metadata.systemTypeExtension = new jspb.ExtensionFieldInfo(
384560917,
{systemTypeExtension: 0},
proto.ml_metadata.SystemTypeExtension,
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
proto.ml_metadata.SystemTypeExtension.toObject),
0);
google_protobuf_descriptor_pb.EnumValueOptions.extensionsBinary[384560917] = new jspb.ExtensionFieldBinaryInfo(
proto.ml_metadata.systemTypeExtension,
jspb.BinaryReader.prototype.readMessage,
jspb.BinaryWriter.prototype.writeMessage,
proto.ml_metadata.SystemTypeExtension.serializeBinaryToWriter,
proto.ml_metadata.SystemTypeExtension.deserializeBinaryFromReader,
false);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.EnumValueOptions.extensions[384560917] = proto.ml_metadata.systemTypeExtension;
goog.object.extend(exports, proto.ml_metadata);
| 364 |
0 | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.d.ts | import * as grpcWeb from 'grpc-web';
import * as ml_metadata_proto_metadata_store_service_pb from '../../ml_metadata/proto/metadata_store_service_pb';
export class MetadataStoreServiceClient {
constructor (hostname: string,
credentials?: null | { [index: string]: string; },
options?: null | { [index: string]: any; });
putArtifactType(
request: ml_metadata_proto_metadata_store_service_pb.PutArtifactTypeRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutArtifactTypeResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutArtifactTypeResponse>;
putExecutionType(
request: ml_metadata_proto_metadata_store_service_pb.PutExecutionTypeRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutExecutionTypeResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutExecutionTypeResponse>;
putContextType(
request: ml_metadata_proto_metadata_store_service_pb.PutContextTypeRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutContextTypeResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutContextTypeResponse>;
putTypes(
request: ml_metadata_proto_metadata_store_service_pb.PutTypesRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutTypesResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutTypesResponse>;
putArtifacts(
request: ml_metadata_proto_metadata_store_service_pb.PutArtifactsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutArtifactsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutArtifactsResponse>;
putExecutions(
request: ml_metadata_proto_metadata_store_service_pb.PutExecutionsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutExecutionsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutExecutionsResponse>;
putEvents(
request: ml_metadata_proto_metadata_store_service_pb.PutEventsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutEventsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutEventsResponse>;
putExecution(
request: ml_metadata_proto_metadata_store_service_pb.PutExecutionRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutExecutionResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutExecutionResponse>;
putLineageSubgraph(
request: ml_metadata_proto_metadata_store_service_pb.PutLineageSubgraphRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutLineageSubgraphResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutLineageSubgraphResponse>;
putContexts(
request: ml_metadata_proto_metadata_store_service_pb.PutContextsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutContextsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutContextsResponse>;
putAttributionsAndAssociations(
request: ml_metadata_proto_metadata_store_service_pb.PutAttributionsAndAssociationsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutAttributionsAndAssociationsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutAttributionsAndAssociationsResponse>;
putParentContexts(
request: ml_metadata_proto_metadata_store_service_pb.PutParentContextsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.PutParentContextsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.PutParentContextsResponse>;
getArtifactType(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypeRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypeResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactTypeResponse>;
getArtifactTypesByID(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByIDRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByIDResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByIDResponse>;
getArtifactTypes(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesResponse>;
getExecutionType(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypeRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypeResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionTypeResponse>;
getExecutionTypesByID(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByIDRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByIDResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByIDResponse>;
getExecutionTypes(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesResponse>;
getContextType(
request: ml_metadata_proto_metadata_store_service_pb.GetContextTypeRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextTypeResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextTypeResponse>;
getContextTypesByID(
request: ml_metadata_proto_metadata_store_service_pb.GetContextTypesByIDRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextTypesByIDResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextTypesByIDResponse>;
getContextTypes(
request: ml_metadata_proto_metadata_store_service_pb.GetContextTypesRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextTypesResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextTypesResponse>;
getArtifacts(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactsResponse>;
getExecutions(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionsResponse>;
getContexts(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextsResponse>;
getArtifactsByID(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByIDRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByIDResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByIDResponse>;
getExecutionsByID(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByIDRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByIDResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionsByIDResponse>;
getContextsByID(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByIDRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextsByIDResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextsByIDResponse>;
getArtifactsByType(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByTypeRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByTypeResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByTypeResponse>;
getExecutionsByType(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByTypeRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByTypeResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionsByTypeResponse>;
getContextsByType(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByTypeRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextsByTypeResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextsByTypeResponse>;
getArtifactByTypeAndName(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactByTypeAndNameRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactByTypeAndNameResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactByTypeAndNameResponse>;
getExecutionByTypeAndName(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionByTypeAndNameRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionByTypeAndNameResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionByTypeAndNameResponse>;
getContextByTypeAndName(
request: ml_metadata_proto_metadata_store_service_pb.GetContextByTypeAndNameRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextByTypeAndNameResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextByTypeAndNameResponse>;
getArtifactsByURI(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByURIRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByURIResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByURIResponse>;
getEventsByExecutionIDs(
request: ml_metadata_proto_metadata_store_service_pb.GetEventsByExecutionIDsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetEventsByExecutionIDsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetEventsByExecutionIDsResponse>;
getEventsByArtifactIDs(
request: ml_metadata_proto_metadata_store_service_pb.GetEventsByArtifactIDsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetEventsByArtifactIDsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetEventsByArtifactIDsResponse>;
getArtifactsByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByExternalIdsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByExternalIdsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByExternalIdsResponse>;
getExecutionsByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByExternalIdsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByExternalIdsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionsByExternalIdsResponse>;
getContextsByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByExternalIdsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextsByExternalIdsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextsByExternalIdsResponse>;
getArtifactTypesByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByExternalIdsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByExternalIdsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByExternalIdsResponse>;
getExecutionTypesByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByExternalIdsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByExternalIdsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByExternalIdsResponse>;
getContextTypesByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetContextTypesByExternalIdsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextTypesByExternalIdsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextTypesByExternalIdsResponse>;
getContextsByArtifact(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByArtifactRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextsByArtifactResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextsByArtifactResponse>;
getContextsByExecution(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByExecutionRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetContextsByExecutionResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetContextsByExecutionResponse>;
getParentContextsByContext(
request: ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextResponse>;
getChildrenContextsByContext(
request: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextResponse>;
getParentContextsByContexts(
request: ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextsResponse>;
getChildrenContextsByContexts(
request: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextsRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextsResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextsResponse>;
getArtifactsByContext(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByContextRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByContextResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByContextResponse>;
getExecutionsByContext(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByContextRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByContextResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetExecutionsByContextResponse>;
getLineageGraph(
request: ml_metadata_proto_metadata_store_service_pb.GetLineageGraphRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetLineageGraphResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetLineageGraphResponse>;
getLineageSubgraph(
request: ml_metadata_proto_metadata_store_service_pb.GetLineageSubgraphRequest,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: ml_metadata_proto_metadata_store_service_pb.GetLineageSubgraphResponse) => void
): grpcWeb.ClientReadableStream<ml_metadata_proto_metadata_store_service_pb.GetLineageSubgraphResponse>;
}
export class MetadataStoreServicePromiseClient {
constructor (hostname: string,
credentials?: null | { [index: string]: string; },
options?: null | { [index: string]: any; });
putArtifactType(
request: ml_metadata_proto_metadata_store_service_pb.PutArtifactTypeRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutArtifactTypeResponse>;
putExecutionType(
request: ml_metadata_proto_metadata_store_service_pb.PutExecutionTypeRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutExecutionTypeResponse>;
putContextType(
request: ml_metadata_proto_metadata_store_service_pb.PutContextTypeRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutContextTypeResponse>;
putTypes(
request: ml_metadata_proto_metadata_store_service_pb.PutTypesRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutTypesResponse>;
putArtifacts(
request: ml_metadata_proto_metadata_store_service_pb.PutArtifactsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutArtifactsResponse>;
putExecutions(
request: ml_metadata_proto_metadata_store_service_pb.PutExecutionsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutExecutionsResponse>;
putEvents(
request: ml_metadata_proto_metadata_store_service_pb.PutEventsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutEventsResponse>;
putExecution(
request: ml_metadata_proto_metadata_store_service_pb.PutExecutionRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutExecutionResponse>;
putLineageSubgraph(
request: ml_metadata_proto_metadata_store_service_pb.PutLineageSubgraphRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutLineageSubgraphResponse>;
putContexts(
request: ml_metadata_proto_metadata_store_service_pb.PutContextsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutContextsResponse>;
putAttributionsAndAssociations(
request: ml_metadata_proto_metadata_store_service_pb.PutAttributionsAndAssociationsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutAttributionsAndAssociationsResponse>;
putParentContexts(
request: ml_metadata_proto_metadata_store_service_pb.PutParentContextsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.PutParentContextsResponse>;
getArtifactType(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypeRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactTypeResponse>;
getArtifactTypesByID(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByIDRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByIDResponse>;
getArtifactTypes(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesResponse>;
getExecutionType(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypeRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionTypeResponse>;
getExecutionTypesByID(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByIDRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByIDResponse>;
getExecutionTypes(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesResponse>;
getContextType(
request: ml_metadata_proto_metadata_store_service_pb.GetContextTypeRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextTypeResponse>;
getContextTypesByID(
request: ml_metadata_proto_metadata_store_service_pb.GetContextTypesByIDRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextTypesByIDResponse>;
getContextTypes(
request: ml_metadata_proto_metadata_store_service_pb.GetContextTypesRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextTypesResponse>;
getArtifacts(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactsResponse>;
getExecutions(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionsResponse>;
getContexts(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextsResponse>;
getArtifactsByID(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByIDRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByIDResponse>;
getExecutionsByID(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByIDRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionsByIDResponse>;
getContextsByID(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByIDRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextsByIDResponse>;
getArtifactsByType(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByTypeRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByTypeResponse>;
getExecutionsByType(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByTypeRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionsByTypeResponse>;
getContextsByType(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByTypeRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextsByTypeResponse>;
getArtifactByTypeAndName(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactByTypeAndNameRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactByTypeAndNameResponse>;
getExecutionByTypeAndName(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionByTypeAndNameRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionByTypeAndNameResponse>;
getContextByTypeAndName(
request: ml_metadata_proto_metadata_store_service_pb.GetContextByTypeAndNameRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextByTypeAndNameResponse>;
getArtifactsByURI(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByURIRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByURIResponse>;
getEventsByExecutionIDs(
request: ml_metadata_proto_metadata_store_service_pb.GetEventsByExecutionIDsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetEventsByExecutionIDsResponse>;
getEventsByArtifactIDs(
request: ml_metadata_proto_metadata_store_service_pb.GetEventsByArtifactIDsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetEventsByArtifactIDsResponse>;
getArtifactsByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByExternalIdsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByExternalIdsResponse>;
getExecutionsByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByExternalIdsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionsByExternalIdsResponse>;
getContextsByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByExternalIdsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextsByExternalIdsResponse>;
getArtifactTypesByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByExternalIdsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByExternalIdsResponse>;
getExecutionTypesByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByExternalIdsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByExternalIdsResponse>;
getContextTypesByExternalIds(
request: ml_metadata_proto_metadata_store_service_pb.GetContextTypesByExternalIdsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextTypesByExternalIdsResponse>;
getContextsByArtifact(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByArtifactRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextsByArtifactResponse>;
getContextsByExecution(
request: ml_metadata_proto_metadata_store_service_pb.GetContextsByExecutionRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetContextsByExecutionResponse>;
getParentContextsByContext(
request: ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextResponse>;
getChildrenContextsByContext(
request: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextResponse>;
getParentContextsByContexts(
request: ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextsResponse>;
getChildrenContextsByContexts(
request: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextsRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextsResponse>;
getArtifactsByContext(
request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByContextRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetArtifactsByContextResponse>;
getExecutionsByContext(
request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByContextRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetExecutionsByContextResponse>;
getLineageGraph(
request: ml_metadata_proto_metadata_store_service_pb.GetLineageGraphRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetLineageGraphResponse>;
getLineageSubgraph(
request: ml_metadata_proto_metadata_store_service_pb.GetLineageSubgraphRequest,
metadata?: grpcWeb.Metadata
): Promise<ml_metadata_proto_metadata_store_service_pb.GetLineageSubgraphResponse>;
}
| 365 |
0 | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.d.ts | import * as jspb from 'google-protobuf'
import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb';
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb';
export class SystemTypeExtension extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): SystemTypeExtension;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SystemTypeExtension.AsObject;
static toObject(includeInstance: boolean, msg: SystemTypeExtension): SystemTypeExtension.AsObject;
static serializeBinaryToWriter(message: SystemTypeExtension, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SystemTypeExtension;
static deserializeBinaryFromReader(message: SystemTypeExtension, reader: jspb.BinaryReader): SystemTypeExtension;
}
export namespace SystemTypeExtension {
export type AsObject = {
typeName: string,
}
}
export class Value extends jspb.Message {
getIntValue(): number;
setIntValue(value: number): Value;
getDoubleValue(): number;
setDoubleValue(value: number): Value;
getStringValue(): string;
setStringValue(value: string): Value;
getStructValue(): google_protobuf_struct_pb.Struct | undefined;
setStructValue(value?: google_protobuf_struct_pb.Struct): Value;
hasStructValue(): boolean;
clearStructValue(): Value;
getProtoValue(): google_protobuf_any_pb.Any | undefined;
setProtoValue(value?: google_protobuf_any_pb.Any): Value;
hasProtoValue(): boolean;
clearProtoValue(): Value;
getBoolValue(): boolean;
setBoolValue(value: boolean): Value;
getValueCase(): Value.ValueCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Value.AsObject;
static toObject(includeInstance: boolean, msg: Value): Value.AsObject;
static serializeBinaryToWriter(message: Value, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Value;
static deserializeBinaryFromReader(message: Value, reader: jspb.BinaryReader): Value;
}
export namespace Value {
export type AsObject = {
intValue: number,
doubleValue: number,
stringValue: string,
structValue?: google_protobuf_struct_pb.Struct.AsObject,
protoValue?: google_protobuf_any_pb.Any.AsObject,
boolValue: boolean,
}
export enum ValueCase {
VALUE_NOT_SET = 0,
INT_VALUE = 1,
DOUBLE_VALUE = 2,
STRING_VALUE = 3,
STRUCT_VALUE = 4,
PROTO_VALUE = 5,
BOOL_VALUE = 6,
}
}
export class Artifact extends jspb.Message {
getId(): number;
setId(value: number): Artifact;
getName(): string;
setName(value: string): Artifact;
getTypeId(): number;
setTypeId(value: number): Artifact;
getType(): string;
setType(value: string): Artifact;
getUri(): string;
setUri(value: string): Artifact;
getExternalId(): string;
setExternalId(value: string): Artifact;
getPropertiesMap(): jspb.Map<string, Value>;
clearPropertiesMap(): Artifact;
getCustomPropertiesMap(): jspb.Map<string, Value>;
clearCustomPropertiesMap(): Artifact;
getState(): Artifact.State;
setState(value: Artifact.State): Artifact;
getCreateTimeSinceEpoch(): number;
setCreateTimeSinceEpoch(value: number): Artifact;
getLastUpdateTimeSinceEpoch(): number;
setLastUpdateTimeSinceEpoch(value: number): Artifact;
getSystemMetadata(): google_protobuf_any_pb.Any | undefined;
setSystemMetadata(value?: google_protobuf_any_pb.Any): Artifact;
hasSystemMetadata(): boolean;
clearSystemMetadata(): Artifact;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Artifact.AsObject;
static toObject(includeInstance: boolean, msg: Artifact): Artifact.AsObject;
static serializeBinaryToWriter(message: Artifact, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Artifact;
static deserializeBinaryFromReader(message: Artifact, reader: jspb.BinaryReader): Artifact;
}
export namespace Artifact {
export type AsObject = {
id: number,
name: string,
typeId: number,
type: string,
uri: string,
externalId: string,
propertiesMap: Array<[string, Value.AsObject]>,
customPropertiesMap: Array<[string, Value.AsObject]>,
state: Artifact.State,
createTimeSinceEpoch: number,
lastUpdateTimeSinceEpoch: number,
systemMetadata?: google_protobuf_any_pb.Any.AsObject,
}
export enum State {
UNKNOWN = 0,
PENDING = 1,
LIVE = 2,
MARKED_FOR_DELETION = 3,
DELETED = 4,
ABANDONED = 5,
REFERENCE = 6,
}
}
export class ArtifactType extends jspb.Message {
getId(): number;
setId(value: number): ArtifactType;
getName(): string;
setName(value: string): ArtifactType;
getVersion(): string;
setVersion(value: string): ArtifactType;
getDescription(): string;
setDescription(value: string): ArtifactType;
getExternalId(): string;
setExternalId(value: string): ArtifactType;
getPropertiesMap(): jspb.Map<string, PropertyType>;
clearPropertiesMap(): ArtifactType;
getBaseType(): ArtifactType.SystemDefinedBaseType;
setBaseType(value: ArtifactType.SystemDefinedBaseType): ArtifactType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactType.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactType): ArtifactType.AsObject;
static serializeBinaryToWriter(message: ArtifactType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactType;
static deserializeBinaryFromReader(message: ArtifactType, reader: jspb.BinaryReader): ArtifactType;
}
export namespace ArtifactType {
export type AsObject = {
id: number,
name: string,
version: string,
description: string,
externalId: string,
propertiesMap: Array<[string, PropertyType]>,
baseType: ArtifactType.SystemDefinedBaseType,
}
export enum SystemDefinedBaseType {
UNSET = 0,
DATASET = 1,
MODEL = 2,
METRICS = 3,
STATISTICS = 4,
}
}
export class Event extends jspb.Message {
getArtifactId(): number;
setArtifactId(value: number): Event;
getExecutionId(): number;
setExecutionId(value: number): Event;
getPath(): Event.Path | undefined;
setPath(value?: Event.Path): Event;
hasPath(): boolean;
clearPath(): Event;
getType(): Event.Type;
setType(value: Event.Type): Event;
getMillisecondsSinceEpoch(): number;
setMillisecondsSinceEpoch(value: number): Event;
getSystemMetadata(): google_protobuf_any_pb.Any | undefined;
setSystemMetadata(value?: google_protobuf_any_pb.Any): Event;
hasSystemMetadata(): boolean;
clearSystemMetadata(): Event;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Event.AsObject;
static toObject(includeInstance: boolean, msg: Event): Event.AsObject;
static serializeBinaryToWriter(message: Event, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Event;
static deserializeBinaryFromReader(message: Event, reader: jspb.BinaryReader): Event;
}
export namespace Event {
export type AsObject = {
artifactId: number,
executionId: number,
path?: Event.Path.AsObject,
type: Event.Type,
millisecondsSinceEpoch: number,
systemMetadata?: google_protobuf_any_pb.Any.AsObject,
}
export class Path extends jspb.Message {
getStepsList(): Array<Event.Path.Step>;
setStepsList(value: Array<Event.Path.Step>): Path;
clearStepsList(): Path;
addSteps(value?: Event.Path.Step, index?: number): Event.Path.Step;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Path.AsObject;
static toObject(includeInstance: boolean, msg: Path): Path.AsObject;
static serializeBinaryToWriter(message: Path, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Path;
static deserializeBinaryFromReader(message: Path, reader: jspb.BinaryReader): Path;
}
export namespace Path {
export type AsObject = {
stepsList: Array<Event.Path.Step.AsObject>,
}
export class Step extends jspb.Message {
getIndex(): number;
setIndex(value: number): Step;
getKey(): string;
setKey(value: string): Step;
getValueCase(): Step.ValueCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Step.AsObject;
static toObject(includeInstance: boolean, msg: Step): Step.AsObject;
static serializeBinaryToWriter(message: Step, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Step;
static deserializeBinaryFromReader(message: Step, reader: jspb.BinaryReader): Step;
}
export namespace Step {
export type AsObject = {
index: number,
key: string,
}
export enum ValueCase {
VALUE_NOT_SET = 0,
INDEX = 1,
KEY = 2,
}
}
}
export enum Type {
UNKNOWN = 0,
DECLARED_OUTPUT = 1,
DECLARED_INPUT = 2,
INPUT = 3,
OUTPUT = 4,
INTERNAL_INPUT = 5,
INTERNAL_OUTPUT = 6,
PENDING_OUTPUT = 7,
}
}
export class Execution extends jspb.Message {
getId(): number;
setId(value: number): Execution;
getName(): string;
setName(value: string): Execution;
getTypeId(): number;
setTypeId(value: number): Execution;
getType(): string;
setType(value: string): Execution;
getExternalId(): string;
setExternalId(value: string): Execution;
getLastKnownState(): Execution.State;
setLastKnownState(value: Execution.State): Execution;
getPropertiesMap(): jspb.Map<string, Value>;
clearPropertiesMap(): Execution;
getCustomPropertiesMap(): jspb.Map<string, Value>;
clearCustomPropertiesMap(): Execution;
getCreateTimeSinceEpoch(): number;
setCreateTimeSinceEpoch(value: number): Execution;
getLastUpdateTimeSinceEpoch(): number;
setLastUpdateTimeSinceEpoch(value: number): Execution;
getSystemMetadata(): google_protobuf_any_pb.Any | undefined;
setSystemMetadata(value?: google_protobuf_any_pb.Any): Execution;
hasSystemMetadata(): boolean;
clearSystemMetadata(): Execution;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Execution.AsObject;
static toObject(includeInstance: boolean, msg: Execution): Execution.AsObject;
static serializeBinaryToWriter(message: Execution, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Execution;
static deserializeBinaryFromReader(message: Execution, reader: jspb.BinaryReader): Execution;
}
export namespace Execution {
export type AsObject = {
id: number,
name: string,
typeId: number,
type: string,
externalId: string,
lastKnownState: Execution.State,
propertiesMap: Array<[string, Value.AsObject]>,
customPropertiesMap: Array<[string, Value.AsObject]>,
createTimeSinceEpoch: number,
lastUpdateTimeSinceEpoch: number,
systemMetadata?: google_protobuf_any_pb.Any.AsObject,
}
export enum State {
UNKNOWN = 0,
NEW = 1,
RUNNING = 2,
COMPLETE = 3,
FAILED = 4,
CACHED = 5,
CANCELED = 6,
}
}
export class ExecutionType extends jspb.Message {
getId(): number;
setId(value: number): ExecutionType;
getName(): string;
setName(value: string): ExecutionType;
getVersion(): string;
setVersion(value: string): ExecutionType;
getDescription(): string;
setDescription(value: string): ExecutionType;
getExternalId(): string;
setExternalId(value: string): ExecutionType;
getPropertiesMap(): jspb.Map<string, PropertyType>;
clearPropertiesMap(): ExecutionType;
getInputType(): ArtifactStructType | undefined;
setInputType(value?: ArtifactStructType): ExecutionType;
hasInputType(): boolean;
clearInputType(): ExecutionType;
getOutputType(): ArtifactStructType | undefined;
setOutputType(value?: ArtifactStructType): ExecutionType;
hasOutputType(): boolean;
clearOutputType(): ExecutionType;
getBaseType(): ExecutionType.SystemDefinedBaseType;
setBaseType(value: ExecutionType.SystemDefinedBaseType): ExecutionType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExecutionType.AsObject;
static toObject(includeInstance: boolean, msg: ExecutionType): ExecutionType.AsObject;
static serializeBinaryToWriter(message: ExecutionType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExecutionType;
static deserializeBinaryFromReader(message: ExecutionType, reader: jspb.BinaryReader): ExecutionType;
}
export namespace ExecutionType {
export type AsObject = {
id: number,
name: string,
version: string,
description: string,
externalId: string,
propertiesMap: Array<[string, PropertyType]>,
inputType?: ArtifactStructType.AsObject,
outputType?: ArtifactStructType.AsObject,
baseType: ExecutionType.SystemDefinedBaseType,
}
export enum SystemDefinedBaseType {
UNSET = 0,
TRAIN = 1,
TRANSFORM = 2,
PROCESS = 3,
EVALUATE = 4,
DEPLOY = 5,
}
}
export class ContextType extends jspb.Message {
getId(): number;
setId(value: number): ContextType;
getName(): string;
setName(value: string): ContextType;
getVersion(): string;
setVersion(value: string): ContextType;
getDescription(): string;
setDescription(value: string): ContextType;
getExternalId(): string;
setExternalId(value: string): ContextType;
getPropertiesMap(): jspb.Map<string, PropertyType>;
clearPropertiesMap(): ContextType;
getBaseType(): ContextType.SystemDefinedBaseType;
setBaseType(value: ContextType.SystemDefinedBaseType): ContextType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ContextType.AsObject;
static toObject(includeInstance: boolean, msg: ContextType): ContextType.AsObject;
static serializeBinaryToWriter(message: ContextType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ContextType;
static deserializeBinaryFromReader(message: ContextType, reader: jspb.BinaryReader): ContextType;
}
export namespace ContextType {
export type AsObject = {
id: number,
name: string,
version: string,
description: string,
externalId: string,
propertiesMap: Array<[string, PropertyType]>,
baseType: ContextType.SystemDefinedBaseType,
}
export enum SystemDefinedBaseType {
UNSET = 0,
}
}
export class Context extends jspb.Message {
getId(): number;
setId(value: number): Context;
getName(): string;
setName(value: string): Context;
getTypeId(): number;
setTypeId(value: number): Context;
getType(): string;
setType(value: string): Context;
getExternalId(): string;
setExternalId(value: string): Context;
getPropertiesMap(): jspb.Map<string, Value>;
clearPropertiesMap(): Context;
getCustomPropertiesMap(): jspb.Map<string, Value>;
clearCustomPropertiesMap(): Context;
getCreateTimeSinceEpoch(): number;
setCreateTimeSinceEpoch(value: number): Context;
getLastUpdateTimeSinceEpoch(): number;
setLastUpdateTimeSinceEpoch(value: number): Context;
getSystemMetadata(): google_protobuf_any_pb.Any | undefined;
setSystemMetadata(value?: google_protobuf_any_pb.Any): Context;
hasSystemMetadata(): boolean;
clearSystemMetadata(): Context;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Context.AsObject;
static toObject(includeInstance: boolean, msg: Context): Context.AsObject;
static serializeBinaryToWriter(message: Context, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Context;
static deserializeBinaryFromReader(message: Context, reader: jspb.BinaryReader): Context;
}
export namespace Context {
export type AsObject = {
id: number,
name: string,
typeId: number,
type: string,
externalId: string,
propertiesMap: Array<[string, Value.AsObject]>,
customPropertiesMap: Array<[string, Value.AsObject]>,
createTimeSinceEpoch: number,
lastUpdateTimeSinceEpoch: number,
systemMetadata?: google_protobuf_any_pb.Any.AsObject,
}
}
export class Attribution extends jspb.Message {
getArtifactId(): number;
setArtifactId(value: number): Attribution;
getContextId(): number;
setContextId(value: number): Attribution;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Attribution.AsObject;
static toObject(includeInstance: boolean, msg: Attribution): Attribution.AsObject;
static serializeBinaryToWriter(message: Attribution, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Attribution;
static deserializeBinaryFromReader(message: Attribution, reader: jspb.BinaryReader): Attribution;
}
export namespace Attribution {
export type AsObject = {
artifactId: number,
contextId: number,
}
}
export class Association extends jspb.Message {
getExecutionId(): number;
setExecutionId(value: number): Association;
getContextId(): number;
setContextId(value: number): Association;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Association.AsObject;
static toObject(includeInstance: boolean, msg: Association): Association.AsObject;
static serializeBinaryToWriter(message: Association, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Association;
static deserializeBinaryFromReader(message: Association, reader: jspb.BinaryReader): Association;
}
export namespace Association {
export type AsObject = {
executionId: number,
contextId: number,
}
}
export class ParentContext extends jspb.Message {
getChildId(): number;
setChildId(value: number): ParentContext;
getParentId(): number;
setParentId(value: number): ParentContext;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ParentContext.AsObject;
static toObject(includeInstance: boolean, msg: ParentContext): ParentContext.AsObject;
static serializeBinaryToWriter(message: ParentContext, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ParentContext;
static deserializeBinaryFromReader(message: ParentContext, reader: jspb.BinaryReader): ParentContext;
}
export namespace ParentContext {
export type AsObject = {
childId: number,
parentId: number,
}
}
export class LineageGraph extends jspb.Message {
getArtifactTypesList(): Array<ArtifactType>;
setArtifactTypesList(value: Array<ArtifactType>): LineageGraph;
clearArtifactTypesList(): LineageGraph;
addArtifactTypes(value?: ArtifactType, index?: number): ArtifactType;
getExecutionTypesList(): Array<ExecutionType>;
setExecutionTypesList(value: Array<ExecutionType>): LineageGraph;
clearExecutionTypesList(): LineageGraph;
addExecutionTypes(value?: ExecutionType, index?: number): ExecutionType;
getContextTypesList(): Array<ContextType>;
setContextTypesList(value: Array<ContextType>): LineageGraph;
clearContextTypesList(): LineageGraph;
addContextTypes(value?: ContextType, index?: number): ContextType;
getArtifactsList(): Array<Artifact>;
setArtifactsList(value: Array<Artifact>): LineageGraph;
clearArtifactsList(): LineageGraph;
addArtifacts(value?: Artifact, index?: number): Artifact;
getExecutionsList(): Array<Execution>;
setExecutionsList(value: Array<Execution>): LineageGraph;
clearExecutionsList(): LineageGraph;
addExecutions(value?: Execution, index?: number): Execution;
getContextsList(): Array<Context>;
setContextsList(value: Array<Context>): LineageGraph;
clearContextsList(): LineageGraph;
addContexts(value?: Context, index?: number): Context;
getEventsList(): Array<Event>;
setEventsList(value: Array<Event>): LineageGraph;
clearEventsList(): LineageGraph;
addEvents(value?: Event, index?: number): Event;
getAttributionsList(): Array<Attribution>;
setAttributionsList(value: Array<Attribution>): LineageGraph;
clearAttributionsList(): LineageGraph;
addAttributions(value?: Attribution, index?: number): Attribution;
getAssociationsList(): Array<Association>;
setAssociationsList(value: Array<Association>): LineageGraph;
clearAssociationsList(): LineageGraph;
addAssociations(value?: Association, index?: number): Association;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): LineageGraph.AsObject;
static toObject(includeInstance: boolean, msg: LineageGraph): LineageGraph.AsObject;
static serializeBinaryToWriter(message: LineageGraph, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): LineageGraph;
static deserializeBinaryFromReader(message: LineageGraph, reader: jspb.BinaryReader): LineageGraph;
}
export namespace LineageGraph {
export type AsObject = {
artifactTypesList: Array<ArtifactType.AsObject>,
executionTypesList: Array<ExecutionType.AsObject>,
contextTypesList: Array<ContextType.AsObject>,
artifactsList: Array<Artifact.AsObject>,
executionsList: Array<Execution.AsObject>,
contextsList: Array<Context.AsObject>,
eventsList: Array<Event.AsObject>,
attributionsList: Array<Attribution.AsObject>,
associationsList: Array<Association.AsObject>,
}
}
export class ArtifactStructType extends jspb.Message {
getSimple(): ArtifactType | undefined;
setSimple(value?: ArtifactType): ArtifactStructType;
hasSimple(): boolean;
clearSimple(): ArtifactStructType;
getUnionType(): UnionArtifactStructType | undefined;
setUnionType(value?: UnionArtifactStructType): ArtifactStructType;
hasUnionType(): boolean;
clearUnionType(): ArtifactStructType;
getIntersection(): IntersectionArtifactStructType | undefined;
setIntersection(value?: IntersectionArtifactStructType): ArtifactStructType;
hasIntersection(): boolean;
clearIntersection(): ArtifactStructType;
getList(): ListArtifactStructType | undefined;
setList(value?: ListArtifactStructType): ArtifactStructType;
hasList(): boolean;
clearList(): ArtifactStructType;
getNone(): NoneArtifactStructType | undefined;
setNone(value?: NoneArtifactStructType): ArtifactStructType;
hasNone(): boolean;
clearNone(): ArtifactStructType;
getAny(): AnyArtifactStructType | undefined;
setAny(value?: AnyArtifactStructType): ArtifactStructType;
hasAny(): boolean;
clearAny(): ArtifactStructType;
getTuple(): TupleArtifactStructType | undefined;
setTuple(value?: TupleArtifactStructType): ArtifactStructType;
hasTuple(): boolean;
clearTuple(): ArtifactStructType;
getDict(): DictArtifactStructType | undefined;
setDict(value?: DictArtifactStructType): ArtifactStructType;
hasDict(): boolean;
clearDict(): ArtifactStructType;
getKindCase(): ArtifactStructType.KindCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactStructType.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactStructType): ArtifactStructType.AsObject;
static serializeBinaryToWriter(message: ArtifactStructType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactStructType;
static deserializeBinaryFromReader(message: ArtifactStructType, reader: jspb.BinaryReader): ArtifactStructType;
}
export namespace ArtifactStructType {
export type AsObject = {
simple?: ArtifactType.AsObject,
unionType?: UnionArtifactStructType.AsObject,
intersection?: IntersectionArtifactStructType.AsObject,
list?: ListArtifactStructType.AsObject,
none?: NoneArtifactStructType.AsObject,
any?: AnyArtifactStructType.AsObject,
tuple?: TupleArtifactStructType.AsObject,
dict?: DictArtifactStructType.AsObject,
}
export enum KindCase {
KIND_NOT_SET = 0,
SIMPLE = 1,
UNION_TYPE = 2,
INTERSECTION = 3,
LIST = 4,
NONE = 5,
ANY = 6,
TUPLE = 7,
DICT = 8,
}
}
export class UnionArtifactStructType extends jspb.Message {
getCandidatesList(): Array<ArtifactStructType>;
setCandidatesList(value: Array<ArtifactStructType>): UnionArtifactStructType;
clearCandidatesList(): UnionArtifactStructType;
addCandidates(value?: ArtifactStructType, index?: number): ArtifactStructType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UnionArtifactStructType.AsObject;
static toObject(includeInstance: boolean, msg: UnionArtifactStructType): UnionArtifactStructType.AsObject;
static serializeBinaryToWriter(message: UnionArtifactStructType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UnionArtifactStructType;
static deserializeBinaryFromReader(message: UnionArtifactStructType, reader: jspb.BinaryReader): UnionArtifactStructType;
}
export namespace UnionArtifactStructType {
export type AsObject = {
candidatesList: Array<ArtifactStructType.AsObject>,
}
}
export class IntersectionArtifactStructType extends jspb.Message {
getConstraintsList(): Array<ArtifactStructType>;
setConstraintsList(value: Array<ArtifactStructType>): IntersectionArtifactStructType;
clearConstraintsList(): IntersectionArtifactStructType;
addConstraints(value?: ArtifactStructType, index?: number): ArtifactStructType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): IntersectionArtifactStructType.AsObject;
static toObject(includeInstance: boolean, msg: IntersectionArtifactStructType): IntersectionArtifactStructType.AsObject;
static serializeBinaryToWriter(message: IntersectionArtifactStructType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): IntersectionArtifactStructType;
static deserializeBinaryFromReader(message: IntersectionArtifactStructType, reader: jspb.BinaryReader): IntersectionArtifactStructType;
}
export namespace IntersectionArtifactStructType {
export type AsObject = {
constraintsList: Array<ArtifactStructType.AsObject>,
}
}
export class ListArtifactStructType extends jspb.Message {
getElement(): ArtifactStructType | undefined;
setElement(value?: ArtifactStructType): ListArtifactStructType;
hasElement(): boolean;
clearElement(): ListArtifactStructType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListArtifactStructType.AsObject;
static toObject(includeInstance: boolean, msg: ListArtifactStructType): ListArtifactStructType.AsObject;
static serializeBinaryToWriter(message: ListArtifactStructType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListArtifactStructType;
static deserializeBinaryFromReader(message: ListArtifactStructType, reader: jspb.BinaryReader): ListArtifactStructType;
}
export namespace ListArtifactStructType {
export type AsObject = {
element?: ArtifactStructType.AsObject,
}
}
export class NoneArtifactStructType extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): NoneArtifactStructType.AsObject;
static toObject(includeInstance: boolean, msg: NoneArtifactStructType): NoneArtifactStructType.AsObject;
static serializeBinaryToWriter(message: NoneArtifactStructType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): NoneArtifactStructType;
static deserializeBinaryFromReader(message: NoneArtifactStructType, reader: jspb.BinaryReader): NoneArtifactStructType;
}
export namespace NoneArtifactStructType {
export type AsObject = {
}
}
export class AnyArtifactStructType extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AnyArtifactStructType.AsObject;
static toObject(includeInstance: boolean, msg: AnyArtifactStructType): AnyArtifactStructType.AsObject;
static serializeBinaryToWriter(message: AnyArtifactStructType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AnyArtifactStructType;
static deserializeBinaryFromReader(message: AnyArtifactStructType, reader: jspb.BinaryReader): AnyArtifactStructType;
}
export namespace AnyArtifactStructType {
export type AsObject = {
}
}
export class TupleArtifactStructType extends jspb.Message {
getElementsList(): Array<ArtifactStructType>;
setElementsList(value: Array<ArtifactStructType>): TupleArtifactStructType;
clearElementsList(): TupleArtifactStructType;
addElements(value?: ArtifactStructType, index?: number): ArtifactStructType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TupleArtifactStructType.AsObject;
static toObject(includeInstance: boolean, msg: TupleArtifactStructType): TupleArtifactStructType.AsObject;
static serializeBinaryToWriter(message: TupleArtifactStructType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TupleArtifactStructType;
static deserializeBinaryFromReader(message: TupleArtifactStructType, reader: jspb.BinaryReader): TupleArtifactStructType;
}
export namespace TupleArtifactStructType {
export type AsObject = {
elementsList: Array<ArtifactStructType.AsObject>,
}
}
export class DictArtifactStructType extends jspb.Message {
getPropertiesMap(): jspb.Map<string, ArtifactStructType>;
clearPropertiesMap(): DictArtifactStructType;
getNoneTypeNotRequired(): boolean;
setNoneTypeNotRequired(value: boolean): DictArtifactStructType;
getExtraPropertiesType(): ArtifactStructType | undefined;
setExtraPropertiesType(value?: ArtifactStructType): DictArtifactStructType;
hasExtraPropertiesType(): boolean;
clearExtraPropertiesType(): DictArtifactStructType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DictArtifactStructType.AsObject;
static toObject(includeInstance: boolean, msg: DictArtifactStructType): DictArtifactStructType.AsObject;
static serializeBinaryToWriter(message: DictArtifactStructType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DictArtifactStructType;
static deserializeBinaryFromReader(message: DictArtifactStructType, reader: jspb.BinaryReader): DictArtifactStructType;
}
export namespace DictArtifactStructType {
export type AsObject = {
propertiesMap: Array<[string, ArtifactStructType.AsObject]>,
noneTypeNotRequired: boolean,
extraPropertiesType?: ArtifactStructType.AsObject,
}
}
export class FakeDatabaseConfig extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): FakeDatabaseConfig.AsObject;
static toObject(includeInstance: boolean, msg: FakeDatabaseConfig): FakeDatabaseConfig.AsObject;
static serializeBinaryToWriter(message: FakeDatabaseConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): FakeDatabaseConfig;
static deserializeBinaryFromReader(message: FakeDatabaseConfig, reader: jspb.BinaryReader): FakeDatabaseConfig;
}
export namespace FakeDatabaseConfig {
export type AsObject = {
}
}
export class MySQLDatabaseConfig extends jspb.Message {
getHost(): string;
setHost(value: string): MySQLDatabaseConfig;
getPort(): number;
setPort(value: number): MySQLDatabaseConfig;
getDatabase(): string;
setDatabase(value: string): MySQLDatabaseConfig;
getUser(): string;
setUser(value: string): MySQLDatabaseConfig;
getPassword(): string;
setPassword(value: string): MySQLDatabaseConfig;
getSocket(): string;
setSocket(value: string): MySQLDatabaseConfig;
getSslOptions(): MySQLDatabaseConfig.SSLOptions | undefined;
setSslOptions(value?: MySQLDatabaseConfig.SSLOptions): MySQLDatabaseConfig;
hasSslOptions(): boolean;
clearSslOptions(): MySQLDatabaseConfig;
getSkipDbCreation(): boolean;
setSkipDbCreation(value: boolean): MySQLDatabaseConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MySQLDatabaseConfig.AsObject;
static toObject(includeInstance: boolean, msg: MySQLDatabaseConfig): MySQLDatabaseConfig.AsObject;
static serializeBinaryToWriter(message: MySQLDatabaseConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MySQLDatabaseConfig;
static deserializeBinaryFromReader(message: MySQLDatabaseConfig, reader: jspb.BinaryReader): MySQLDatabaseConfig;
}
export namespace MySQLDatabaseConfig {
export type AsObject = {
host: string,
port: number,
database: string,
user: string,
password: string,
socket: string,
sslOptions?: MySQLDatabaseConfig.SSLOptions.AsObject,
skipDbCreation: boolean,
}
export class SSLOptions extends jspb.Message {
getKey(): string;
setKey(value: string): SSLOptions;
getCert(): string;
setCert(value: string): SSLOptions;
getCa(): string;
setCa(value: string): SSLOptions;
getCapath(): string;
setCapath(value: string): SSLOptions;
getCipher(): string;
setCipher(value: string): SSLOptions;
getVerifyServerCert(): boolean;
setVerifyServerCert(value: boolean): SSLOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SSLOptions.AsObject;
static toObject(includeInstance: boolean, msg: SSLOptions): SSLOptions.AsObject;
static serializeBinaryToWriter(message: SSLOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SSLOptions;
static deserializeBinaryFromReader(message: SSLOptions, reader: jspb.BinaryReader): SSLOptions;
}
export namespace SSLOptions {
export type AsObject = {
key: string,
cert: string,
ca: string,
capath: string,
cipher: string,
verifyServerCert: boolean,
}
}
}
export class SqliteMetadataSourceConfig extends jspb.Message {
getFilenameUri(): string;
setFilenameUri(value: string): SqliteMetadataSourceConfig;
getConnectionMode(): SqliteMetadataSourceConfig.ConnectionMode;
setConnectionMode(value: SqliteMetadataSourceConfig.ConnectionMode): SqliteMetadataSourceConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SqliteMetadataSourceConfig.AsObject;
static toObject(includeInstance: boolean, msg: SqliteMetadataSourceConfig): SqliteMetadataSourceConfig.AsObject;
static serializeBinaryToWriter(message: SqliteMetadataSourceConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SqliteMetadataSourceConfig;
static deserializeBinaryFromReader(message: SqliteMetadataSourceConfig, reader: jspb.BinaryReader): SqliteMetadataSourceConfig;
}
export namespace SqliteMetadataSourceConfig {
export type AsObject = {
filenameUri: string,
connectionMode: SqliteMetadataSourceConfig.ConnectionMode,
}
export enum ConnectionMode {
UNKNOWN = 0,
READONLY = 1,
READWRITE = 2,
READWRITE_OPENCREATE = 3,
}
}
export class PostgreSQLDatabaseConfig extends jspb.Message {
getHost(): string;
setHost(value: string): PostgreSQLDatabaseConfig;
getHostaddr(): string;
setHostaddr(value: string): PostgreSQLDatabaseConfig;
getPort(): string;
setPort(value: string): PostgreSQLDatabaseConfig;
getUser(): string;
setUser(value: string): PostgreSQLDatabaseConfig;
getPassword(): string;
setPassword(value: string): PostgreSQLDatabaseConfig;
getPassfile(): string;
setPassfile(value: string): PostgreSQLDatabaseConfig;
getDbname(): string;
setDbname(value: string): PostgreSQLDatabaseConfig;
getSkipDbCreation(): boolean;
setSkipDbCreation(value: boolean): PostgreSQLDatabaseConfig;
getSsloption(): PostgreSQLDatabaseConfig.SSLOptions | undefined;
setSsloption(value?: PostgreSQLDatabaseConfig.SSLOptions): PostgreSQLDatabaseConfig;
hasSsloption(): boolean;
clearSsloption(): PostgreSQLDatabaseConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PostgreSQLDatabaseConfig.AsObject;
static toObject(includeInstance: boolean, msg: PostgreSQLDatabaseConfig): PostgreSQLDatabaseConfig.AsObject;
static serializeBinaryToWriter(message: PostgreSQLDatabaseConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PostgreSQLDatabaseConfig;
static deserializeBinaryFromReader(message: PostgreSQLDatabaseConfig, reader: jspb.BinaryReader): PostgreSQLDatabaseConfig;
}
export namespace PostgreSQLDatabaseConfig {
export type AsObject = {
host: string,
hostaddr: string,
port: string,
user: string,
password: string,
passfile: string,
dbname: string,
skipDbCreation: boolean,
ssloption?: PostgreSQLDatabaseConfig.SSLOptions.AsObject,
}
export class SSLOptions extends jspb.Message {
getSslmode(): string;
setSslmode(value: string): SSLOptions;
getSslcert(): string;
setSslcert(value: string): SSLOptions;
getSslkey(): string;
setSslkey(value: string): SSLOptions;
getSslpassword(): string;
setSslpassword(value: string): SSLOptions;
getSslrootcert(): string;
setSslrootcert(value: string): SSLOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SSLOptions.AsObject;
static toObject(includeInstance: boolean, msg: SSLOptions): SSLOptions.AsObject;
static serializeBinaryToWriter(message: SSLOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SSLOptions;
static deserializeBinaryFromReader(message: SSLOptions, reader: jspb.BinaryReader): SSLOptions;
}
export namespace SSLOptions {
export type AsObject = {
sslmode: string,
sslcert: string,
sslkey: string,
sslpassword: string,
sslrootcert: string,
}
}
}
export class MigrationOptions extends jspb.Message {
getEnableUpgradeMigration(): boolean;
setEnableUpgradeMigration(value: boolean): MigrationOptions;
getDowngradeToSchemaVersion(): number;
setDowngradeToSchemaVersion(value: number): MigrationOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MigrationOptions.AsObject;
static toObject(includeInstance: boolean, msg: MigrationOptions): MigrationOptions.AsObject;
static serializeBinaryToWriter(message: MigrationOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MigrationOptions;
static deserializeBinaryFromReader(message: MigrationOptions, reader: jspb.BinaryReader): MigrationOptions;
}
export namespace MigrationOptions {
export type AsObject = {
enableUpgradeMigration: boolean,
downgradeToSchemaVersion: number,
}
}
export class RetryOptions extends jspb.Message {
getMaxNumRetries(): number;
setMaxNumRetries(value: number): RetryOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RetryOptions.AsObject;
static toObject(includeInstance: boolean, msg: RetryOptions): RetryOptions.AsObject;
static serializeBinaryToWriter(message: RetryOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RetryOptions;
static deserializeBinaryFromReader(message: RetryOptions, reader: jspb.BinaryReader): RetryOptions;
}
export namespace RetryOptions {
export type AsObject = {
maxNumRetries: number,
}
}
export class ConnectionConfig extends jspb.Message {
getFakeDatabase(): FakeDatabaseConfig | undefined;
setFakeDatabase(value?: FakeDatabaseConfig): ConnectionConfig;
hasFakeDatabase(): boolean;
clearFakeDatabase(): ConnectionConfig;
getMysql(): MySQLDatabaseConfig | undefined;
setMysql(value?: MySQLDatabaseConfig): ConnectionConfig;
hasMysql(): boolean;
clearMysql(): ConnectionConfig;
getSqlite(): SqliteMetadataSourceConfig | undefined;
setSqlite(value?: SqliteMetadataSourceConfig): ConnectionConfig;
hasSqlite(): boolean;
clearSqlite(): ConnectionConfig;
getPostgresql(): PostgreSQLDatabaseConfig | undefined;
setPostgresql(value?: PostgreSQLDatabaseConfig): ConnectionConfig;
hasPostgresql(): boolean;
clearPostgresql(): ConnectionConfig;
getRetryOptions(): RetryOptions | undefined;
setRetryOptions(value?: RetryOptions): ConnectionConfig;
hasRetryOptions(): boolean;
clearRetryOptions(): ConnectionConfig;
getConfigCase(): ConnectionConfig.ConfigCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ConnectionConfig.AsObject;
static toObject(includeInstance: boolean, msg: ConnectionConfig): ConnectionConfig.AsObject;
static serializeBinaryToWriter(message: ConnectionConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ConnectionConfig;
static deserializeBinaryFromReader(message: ConnectionConfig, reader: jspb.BinaryReader): ConnectionConfig;
}
export namespace ConnectionConfig {
export type AsObject = {
fakeDatabase?: FakeDatabaseConfig.AsObject,
mysql?: MySQLDatabaseConfig.AsObject,
sqlite?: SqliteMetadataSourceConfig.AsObject,
postgresql?: PostgreSQLDatabaseConfig.AsObject,
retryOptions?: RetryOptions.AsObject,
}
export enum ConfigCase {
CONFIG_NOT_SET = 0,
FAKE_DATABASE = 1,
MYSQL = 2,
SQLITE = 3,
POSTGRESQL = 5,
}
}
export class GrpcChannelArguments extends jspb.Message {
getMaxReceiveMessageLength(): number;
setMaxReceiveMessageLength(value: number): GrpcChannelArguments;
getHttp2MaxPingStrikes(): number;
setHttp2MaxPingStrikes(value: number): GrpcChannelArguments;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GrpcChannelArguments.AsObject;
static toObject(includeInstance: boolean, msg: GrpcChannelArguments): GrpcChannelArguments.AsObject;
static serializeBinaryToWriter(message: GrpcChannelArguments, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GrpcChannelArguments;
static deserializeBinaryFromReader(message: GrpcChannelArguments, reader: jspb.BinaryReader): GrpcChannelArguments;
}
export namespace GrpcChannelArguments {
export type AsObject = {
maxReceiveMessageLength: number,
http2MaxPingStrikes: number,
}
}
export class MetadataStoreClientConfig extends jspb.Message {
getHost(): string;
setHost(value: string): MetadataStoreClientConfig;
getPort(): number;
setPort(value: number): MetadataStoreClientConfig;
getSslConfig(): MetadataStoreClientConfig.SSLConfig | undefined;
setSslConfig(value?: MetadataStoreClientConfig.SSLConfig): MetadataStoreClientConfig;
hasSslConfig(): boolean;
clearSslConfig(): MetadataStoreClientConfig;
getChannelArguments(): GrpcChannelArguments | undefined;
setChannelArguments(value?: GrpcChannelArguments): MetadataStoreClientConfig;
hasChannelArguments(): boolean;
clearChannelArguments(): MetadataStoreClientConfig;
getClientTimeoutSec(): number;
setClientTimeoutSec(value: number): MetadataStoreClientConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MetadataStoreClientConfig.AsObject;
static toObject(includeInstance: boolean, msg: MetadataStoreClientConfig): MetadataStoreClientConfig.AsObject;
static serializeBinaryToWriter(message: MetadataStoreClientConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MetadataStoreClientConfig;
static deserializeBinaryFromReader(message: MetadataStoreClientConfig, reader: jspb.BinaryReader): MetadataStoreClientConfig;
}
export namespace MetadataStoreClientConfig {
export type AsObject = {
host: string,
port: number,
sslConfig?: MetadataStoreClientConfig.SSLConfig.AsObject,
channelArguments?: GrpcChannelArguments.AsObject,
clientTimeoutSec: number,
}
export class SSLConfig extends jspb.Message {
getClientKey(): string;
setClientKey(value: string): SSLConfig;
getServerCert(): string;
setServerCert(value: string): SSLConfig;
getCustomCa(): string;
setCustomCa(value: string): SSLConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SSLConfig.AsObject;
static toObject(includeInstance: boolean, msg: SSLConfig): SSLConfig.AsObject;
static serializeBinaryToWriter(message: SSLConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SSLConfig;
static deserializeBinaryFromReader(message: SSLConfig, reader: jspb.BinaryReader): SSLConfig;
}
export namespace SSLConfig {
export type AsObject = {
clientKey: string,
serverCert: string,
customCa: string,
}
}
}
export class MetadataStoreServerConfig extends jspb.Message {
getConnectionConfig(): ConnectionConfig | undefined;
setConnectionConfig(value?: ConnectionConfig): MetadataStoreServerConfig;
hasConnectionConfig(): boolean;
clearConnectionConfig(): MetadataStoreServerConfig;
getMigrationOptions(): MigrationOptions | undefined;
setMigrationOptions(value?: MigrationOptions): MetadataStoreServerConfig;
hasMigrationOptions(): boolean;
clearMigrationOptions(): MetadataStoreServerConfig;
getSslConfig(): MetadataStoreServerConfig.SSLConfig | undefined;
setSslConfig(value?: MetadataStoreServerConfig.SSLConfig): MetadataStoreServerConfig;
hasSslConfig(): boolean;
clearSslConfig(): MetadataStoreServerConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MetadataStoreServerConfig.AsObject;
static toObject(includeInstance: boolean, msg: MetadataStoreServerConfig): MetadataStoreServerConfig.AsObject;
static serializeBinaryToWriter(message: MetadataStoreServerConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MetadataStoreServerConfig;
static deserializeBinaryFromReader(message: MetadataStoreServerConfig, reader: jspb.BinaryReader): MetadataStoreServerConfig;
}
export namespace MetadataStoreServerConfig {
export type AsObject = {
connectionConfig?: ConnectionConfig.AsObject,
migrationOptions?: MigrationOptions.AsObject,
sslConfig?: MetadataStoreServerConfig.SSLConfig.AsObject,
}
export class SSLConfig extends jspb.Message {
getServerKey(): string;
setServerKey(value: string): SSLConfig;
getServerCert(): string;
setServerCert(value: string): SSLConfig;
getCustomCa(): string;
setCustomCa(value: string): SSLConfig;
getClientVerify(): boolean;
setClientVerify(value: boolean): SSLConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SSLConfig.AsObject;
static toObject(includeInstance: boolean, msg: SSLConfig): SSLConfig.AsObject;
static serializeBinaryToWriter(message: SSLConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SSLConfig;
static deserializeBinaryFromReader(message: SSLConfig, reader: jspb.BinaryReader): SSLConfig;
}
export namespace SSLConfig {
export type AsObject = {
serverKey: string,
serverCert: string,
customCa: string,
clientVerify: boolean,
}
}
}
export class ListOperationOptions extends jspb.Message {
getMaxResultSize(): number;
setMaxResultSize(value: number): ListOperationOptions;
getOrderByField(): ListOperationOptions.OrderByField | undefined;
setOrderByField(value?: ListOperationOptions.OrderByField): ListOperationOptions;
hasOrderByField(): boolean;
clearOrderByField(): ListOperationOptions;
getNextPageToken(): string;
setNextPageToken(value: string): ListOperationOptions;
getFilterQuery(): string;
setFilterQuery(value: string): ListOperationOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListOperationOptions.AsObject;
static toObject(includeInstance: boolean, msg: ListOperationOptions): ListOperationOptions.AsObject;
static serializeBinaryToWriter(message: ListOperationOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListOperationOptions;
static deserializeBinaryFromReader(message: ListOperationOptions, reader: jspb.BinaryReader): ListOperationOptions;
}
export namespace ListOperationOptions {
export type AsObject = {
maxResultSize: number,
orderByField?: ListOperationOptions.OrderByField.AsObject,
nextPageToken: string,
filterQuery: string,
}
export class OrderByField extends jspb.Message {
getField(): ListOperationOptions.OrderByField.Field;
setField(value: ListOperationOptions.OrderByField.Field): OrderByField;
getIsAsc(): boolean;
setIsAsc(value: boolean): OrderByField;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): OrderByField.AsObject;
static toObject(includeInstance: boolean, msg: OrderByField): OrderByField.AsObject;
static serializeBinaryToWriter(message: OrderByField, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): OrderByField;
static deserializeBinaryFromReader(message: OrderByField, reader: jspb.BinaryReader): OrderByField;
}
export namespace OrderByField {
export type AsObject = {
field: ListOperationOptions.OrderByField.Field,
isAsc: boolean,
}
export enum Field {
FIELD_UNSPECIFIED = 0,
CREATE_TIME = 1,
LAST_UPDATE_TIME = 2,
ID = 3,
}
}
}
export class ListOperationNextPageToken extends jspb.Message {
getIdOffset(): number;
setIdOffset(value: number): ListOperationNextPageToken;
getFieldOffset(): number;
setFieldOffset(value: number): ListOperationNextPageToken;
getSetOptions(): ListOperationOptions | undefined;
setSetOptions(value?: ListOperationOptions): ListOperationNextPageToken;
hasSetOptions(): boolean;
clearSetOptions(): ListOperationNextPageToken;
getListedIdsList(): Array<number>;
setListedIdsList(value: Array<number>): ListOperationNextPageToken;
clearListedIdsList(): ListOperationNextPageToken;
addListedIds(value: number, index?: number): ListOperationNextPageToken;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListOperationNextPageToken.AsObject;
static toObject(includeInstance: boolean, msg: ListOperationNextPageToken): ListOperationNextPageToken.AsObject;
static serializeBinaryToWriter(message: ListOperationNextPageToken, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ListOperationNextPageToken;
static deserializeBinaryFromReader(message: ListOperationNextPageToken, reader: jspb.BinaryReader): ListOperationNextPageToken;
}
export namespace ListOperationNextPageToken {
export type AsObject = {
idOffset: number,
fieldOffset: number,
setOptions?: ListOperationOptions.AsObject,
listedIdsList: Array<number>,
}
}
export class TransactionOptions extends jspb.Message {
getTag(): string;
setTag(value: string): TransactionOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TransactionOptions.AsObject;
static toObject(includeInstance: boolean, msg: TransactionOptions): TransactionOptions.AsObject;
static serializeBinaryToWriter(message: TransactionOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TransactionOptions;
static deserializeBinaryFromReader(message: TransactionOptions, reader: jspb.BinaryReader): TransactionOptions;
}
export namespace TransactionOptions {
export type AsObject = {
tag: string,
}
}
export class LineageGraphQueryOptions extends jspb.Message {
getArtifactsOptions(): ListOperationOptions | undefined;
setArtifactsOptions(value?: ListOperationOptions): LineageGraphQueryOptions;
hasArtifactsOptions(): boolean;
clearArtifactsOptions(): LineageGraphQueryOptions;
getStopConditions(): LineageGraphQueryOptions.BoundaryConstraint | undefined;
setStopConditions(value?: LineageGraphQueryOptions.BoundaryConstraint): LineageGraphQueryOptions;
hasStopConditions(): boolean;
clearStopConditions(): LineageGraphQueryOptions;
getMaxNodeSize(): number;
setMaxNodeSize(value: number): LineageGraphQueryOptions;
getQueryNodesCase(): LineageGraphQueryOptions.QueryNodesCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): LineageGraphQueryOptions.AsObject;
static toObject(includeInstance: boolean, msg: LineageGraphQueryOptions): LineageGraphQueryOptions.AsObject;
static serializeBinaryToWriter(message: LineageGraphQueryOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): LineageGraphQueryOptions;
static deserializeBinaryFromReader(message: LineageGraphQueryOptions, reader: jspb.BinaryReader): LineageGraphQueryOptions;
}
export namespace LineageGraphQueryOptions {
export type AsObject = {
artifactsOptions?: ListOperationOptions.AsObject,
stopConditions?: LineageGraphQueryOptions.BoundaryConstraint.AsObject,
maxNodeSize: number,
}
export class BoundaryConstraint extends jspb.Message {
getMaxNumHops(): number;
setMaxNumHops(value: number): BoundaryConstraint;
getBoundaryArtifacts(): string;
setBoundaryArtifacts(value: string): BoundaryConstraint;
getBoundaryExecutions(): string;
setBoundaryExecutions(value: string): BoundaryConstraint;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BoundaryConstraint.AsObject;
static toObject(includeInstance: boolean, msg: BoundaryConstraint): BoundaryConstraint.AsObject;
static serializeBinaryToWriter(message: BoundaryConstraint, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): BoundaryConstraint;
static deserializeBinaryFromReader(message: BoundaryConstraint, reader: jspb.BinaryReader): BoundaryConstraint;
}
export namespace BoundaryConstraint {
export type AsObject = {
maxNumHops: number,
boundaryArtifacts: string,
boundaryExecutions: string,
}
}
export enum QueryNodesCase {
QUERY_NODES_NOT_SET = 0,
ARTIFACTS_OPTIONS = 1,
}
}
export class LineageSubgraphQueryOptions extends jspb.Message {
getStartingArtifacts(): LineageSubgraphQueryOptions.StartingNodes | undefined;
setStartingArtifacts(value?: LineageSubgraphQueryOptions.StartingNodes): LineageSubgraphQueryOptions;
hasStartingArtifacts(): boolean;
clearStartingArtifacts(): LineageSubgraphQueryOptions;
getStartingExecutions(): LineageSubgraphQueryOptions.StartingNodes | undefined;
setStartingExecutions(value?: LineageSubgraphQueryOptions.StartingNodes): LineageSubgraphQueryOptions;
hasStartingExecutions(): boolean;
clearStartingExecutions(): LineageSubgraphQueryOptions;
getMaxNumHops(): number;
setMaxNumHops(value: number): LineageSubgraphQueryOptions;
getDirection(): LineageSubgraphQueryOptions.Direction;
setDirection(value: LineageSubgraphQueryOptions.Direction): LineageSubgraphQueryOptions;
getStartingNodesCase(): LineageSubgraphQueryOptions.StartingNodesCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): LineageSubgraphQueryOptions.AsObject;
static toObject(includeInstance: boolean, msg: LineageSubgraphQueryOptions): LineageSubgraphQueryOptions.AsObject;
static serializeBinaryToWriter(message: LineageSubgraphQueryOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): LineageSubgraphQueryOptions;
static deserializeBinaryFromReader(message: LineageSubgraphQueryOptions, reader: jspb.BinaryReader): LineageSubgraphQueryOptions;
}
export namespace LineageSubgraphQueryOptions {
export type AsObject = {
startingArtifacts?: LineageSubgraphQueryOptions.StartingNodes.AsObject,
startingExecutions?: LineageSubgraphQueryOptions.StartingNodes.AsObject,
maxNumHops: number,
direction: LineageSubgraphQueryOptions.Direction,
}
export class StartingNodes extends jspb.Message {
getFilterQuery(): string;
setFilterQuery(value: string): StartingNodes;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): StartingNodes.AsObject;
static toObject(includeInstance: boolean, msg: StartingNodes): StartingNodes.AsObject;
static serializeBinaryToWriter(message: StartingNodes, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): StartingNodes;
static deserializeBinaryFromReader(message: StartingNodes, reader: jspb.BinaryReader): StartingNodes;
}
export namespace StartingNodes {
export type AsObject = {
filterQuery: string,
}
}
export enum Direction {
DIRECTION_UNSPECIFIED = 0,
UPSTREAM = 1,
DOWNSTREAM = 2,
BIDIRECTIONAL = 3,
}
export enum StartingNodesCase {
STARTING_NODES_NOT_SET = 0,
STARTING_ARTIFACTS = 1,
STARTING_EXECUTIONS = 2,
}
}
export enum PropertyType {
UNKNOWN = 0,
INT = 1,
DOUBLE = 2,
STRING = 3,
STRUCT = 4,
PROTO = 5,
BOOLEAN = 6,
}
| 366 |
0 | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata | kubeflow_public_repos/pipelines/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.d.ts | import * as jspb from 'google-protobuf'
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
import * as ml_metadata_proto_metadata_store_pb from '../../ml_metadata/proto/metadata_store_pb';
export class ArtifactAndType extends jspb.Message {
getArtifact(): ml_metadata_proto_metadata_store_pb.Artifact | undefined;
setArtifact(value?: ml_metadata_proto_metadata_store_pb.Artifact): ArtifactAndType;
hasArtifact(): boolean;
clearArtifact(): ArtifactAndType;
getType(): ml_metadata_proto_metadata_store_pb.ArtifactType | undefined;
setType(value?: ml_metadata_proto_metadata_store_pb.ArtifactType): ArtifactAndType;
hasType(): boolean;
clearType(): ArtifactAndType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactAndType.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactAndType): ArtifactAndType.AsObject;
static serializeBinaryToWriter(message: ArtifactAndType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactAndType;
static deserializeBinaryFromReader(message: ArtifactAndType, reader: jspb.BinaryReader): ArtifactAndType;
}
export namespace ArtifactAndType {
export type AsObject = {
artifact?: ml_metadata_proto_metadata_store_pb.Artifact.AsObject,
type?: ml_metadata_proto_metadata_store_pb.ArtifactType.AsObject,
}
}
export class ArtifactStructMap extends jspb.Message {
getPropertiesMap(): jspb.Map<string, ArtifactStruct>;
clearPropertiesMap(): ArtifactStructMap;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactStructMap.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactStructMap): ArtifactStructMap.AsObject;
static serializeBinaryToWriter(message: ArtifactStructMap, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactStructMap;
static deserializeBinaryFromReader(message: ArtifactStructMap, reader: jspb.BinaryReader): ArtifactStructMap;
}
export namespace ArtifactStructMap {
export type AsObject = {
propertiesMap: Array<[string, ArtifactStruct.AsObject]>,
}
}
export class ArtifactStructList extends jspb.Message {
getElementsList(): Array<ArtifactStruct>;
setElementsList(value: Array<ArtifactStruct>): ArtifactStructList;
clearElementsList(): ArtifactStructList;
addElements(value?: ArtifactStruct, index?: number): ArtifactStruct;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactStructList.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactStructList): ArtifactStructList.AsObject;
static serializeBinaryToWriter(message: ArtifactStructList, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactStructList;
static deserializeBinaryFromReader(message: ArtifactStructList, reader: jspb.BinaryReader): ArtifactStructList;
}
export namespace ArtifactStructList {
export type AsObject = {
elementsList: Array<ArtifactStruct.AsObject>,
}
}
export class ArtifactStruct extends jspb.Message {
getArtifact(): ArtifactAndType | undefined;
setArtifact(value?: ArtifactAndType): ArtifactStruct;
hasArtifact(): boolean;
clearArtifact(): ArtifactStruct;
getMap(): ArtifactStructMap | undefined;
setMap(value?: ArtifactStructMap): ArtifactStruct;
hasMap(): boolean;
clearMap(): ArtifactStruct;
getList(): ArtifactStructList | undefined;
setList(value?: ArtifactStructList): ArtifactStruct;
hasList(): boolean;
clearList(): ArtifactStruct;
getValueCase(): ArtifactStruct.ValueCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactStruct.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactStruct): ArtifactStruct.AsObject;
static serializeBinaryToWriter(message: ArtifactStruct, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactStruct;
static deserializeBinaryFromReader(message: ArtifactStruct, reader: jspb.BinaryReader): ArtifactStruct;
}
export namespace ArtifactStruct {
export type AsObject = {
artifact?: ArtifactAndType.AsObject,
map?: ArtifactStructMap.AsObject,
list?: ArtifactStructList.AsObject,
}
export enum ValueCase {
VALUE_NOT_SET = 0,
ARTIFACT = 1,
MAP = 2,
LIST = 3,
}
}
export class PutArtifactsRequest extends jspb.Message {
getArtifactsList(): Array<ml_metadata_proto_metadata_store_pb.Artifact>;
setArtifactsList(value: Array<ml_metadata_proto_metadata_store_pb.Artifact>): PutArtifactsRequest;
clearArtifactsList(): PutArtifactsRequest;
addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact;
getOptions(): PutArtifactsRequest.Options | undefined;
setOptions(value?: PutArtifactsRequest.Options): PutArtifactsRequest;
hasOptions(): boolean;
clearOptions(): PutArtifactsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutArtifactsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutArtifactsRequest;
getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): PutArtifactsRequest;
hasUpdateMask(): boolean;
clearUpdateMask(): PutArtifactsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutArtifactsRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutArtifactsRequest): PutArtifactsRequest.AsObject;
static serializeBinaryToWriter(message: PutArtifactsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutArtifactsRequest;
static deserializeBinaryFromReader(message: PutArtifactsRequest, reader: jspb.BinaryReader): PutArtifactsRequest;
}
export namespace PutArtifactsRequest {
export type AsObject = {
artifactsList: Array<ml_metadata_proto_metadata_store_pb.Artifact.AsObject>,
options?: PutArtifactsRequest.Options.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
}
export class Options extends jspb.Message {
getAbortIfLatestUpdatedTimeChanged(): boolean;
setAbortIfLatestUpdatedTimeChanged(value: boolean): Options;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Options.AsObject;
static toObject(includeInstance: boolean, msg: Options): Options.AsObject;
static serializeBinaryToWriter(message: Options, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Options;
static deserializeBinaryFromReader(message: Options, reader: jspb.BinaryReader): Options;
}
export namespace Options {
export type AsObject = {
abortIfLatestUpdatedTimeChanged: boolean,
}
}
}
export class PutArtifactsResponse extends jspb.Message {
getArtifactIdsList(): Array<number>;
setArtifactIdsList(value: Array<number>): PutArtifactsResponse;
clearArtifactIdsList(): PutArtifactsResponse;
addArtifactIds(value: number, index?: number): PutArtifactsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutArtifactsResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutArtifactsResponse): PutArtifactsResponse.AsObject;
static serializeBinaryToWriter(message: PutArtifactsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutArtifactsResponse;
static deserializeBinaryFromReader(message: PutArtifactsResponse, reader: jspb.BinaryReader): PutArtifactsResponse;
}
export namespace PutArtifactsResponse {
export type AsObject = {
artifactIdsList: Array<number>,
}
}
export class PutArtifactTypeRequest extends jspb.Message {
getArtifactType(): ml_metadata_proto_metadata_store_pb.ArtifactType | undefined;
setArtifactType(value?: ml_metadata_proto_metadata_store_pb.ArtifactType): PutArtifactTypeRequest;
hasArtifactType(): boolean;
clearArtifactType(): PutArtifactTypeRequest;
getCanAddFields(): boolean;
setCanAddFields(value: boolean): PutArtifactTypeRequest;
getCanOmitFields(): boolean;
setCanOmitFields(value: boolean): PutArtifactTypeRequest;
getCanDeleteFields(): boolean;
setCanDeleteFields(value: boolean): PutArtifactTypeRequest;
getAllFieldsMatch(): boolean;
setAllFieldsMatch(value: boolean): PutArtifactTypeRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutArtifactTypeRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutArtifactTypeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutArtifactTypeRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutArtifactTypeRequest): PutArtifactTypeRequest.AsObject;
static serializeBinaryToWriter(message: PutArtifactTypeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutArtifactTypeRequest;
static deserializeBinaryFromReader(message: PutArtifactTypeRequest, reader: jspb.BinaryReader): PutArtifactTypeRequest;
}
export namespace PutArtifactTypeRequest {
export type AsObject = {
artifactType?: ml_metadata_proto_metadata_store_pb.ArtifactType.AsObject,
canAddFields: boolean,
canOmitFields: boolean,
canDeleteFields: boolean,
allFieldsMatch: boolean,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class PutArtifactTypeResponse extends jspb.Message {
getTypeId(): number;
setTypeId(value: number): PutArtifactTypeResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutArtifactTypeResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutArtifactTypeResponse): PutArtifactTypeResponse.AsObject;
static serializeBinaryToWriter(message: PutArtifactTypeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutArtifactTypeResponse;
static deserializeBinaryFromReader(message: PutArtifactTypeResponse, reader: jspb.BinaryReader): PutArtifactTypeResponse;
}
export namespace PutArtifactTypeResponse {
export type AsObject = {
typeId: number,
}
}
export class PutExecutionsRequest extends jspb.Message {
getExecutionsList(): Array<ml_metadata_proto_metadata_store_pb.Execution>;
setExecutionsList(value: Array<ml_metadata_proto_metadata_store_pb.Execution>): PutExecutionsRequest;
clearExecutionsList(): PutExecutionsRequest;
addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutExecutionsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutExecutionsRequest;
getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): PutExecutionsRequest;
hasUpdateMask(): boolean;
clearUpdateMask(): PutExecutionsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutExecutionsRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutExecutionsRequest): PutExecutionsRequest.AsObject;
static serializeBinaryToWriter(message: PutExecutionsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutExecutionsRequest;
static deserializeBinaryFromReader(message: PutExecutionsRequest, reader: jspb.BinaryReader): PutExecutionsRequest;
}
export namespace PutExecutionsRequest {
export type AsObject = {
executionsList: Array<ml_metadata_proto_metadata_store_pb.Execution.AsObject>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
}
}
export class PutExecutionsResponse extends jspb.Message {
getExecutionIdsList(): Array<number>;
setExecutionIdsList(value: Array<number>): PutExecutionsResponse;
clearExecutionIdsList(): PutExecutionsResponse;
addExecutionIds(value: number, index?: number): PutExecutionsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutExecutionsResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutExecutionsResponse): PutExecutionsResponse.AsObject;
static serializeBinaryToWriter(message: PutExecutionsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutExecutionsResponse;
static deserializeBinaryFromReader(message: PutExecutionsResponse, reader: jspb.BinaryReader): PutExecutionsResponse;
}
export namespace PutExecutionsResponse {
export type AsObject = {
executionIdsList: Array<number>,
}
}
export class PutExecutionTypeRequest extends jspb.Message {
getExecutionType(): ml_metadata_proto_metadata_store_pb.ExecutionType | undefined;
setExecutionType(value?: ml_metadata_proto_metadata_store_pb.ExecutionType): PutExecutionTypeRequest;
hasExecutionType(): boolean;
clearExecutionType(): PutExecutionTypeRequest;
getCanAddFields(): boolean;
setCanAddFields(value: boolean): PutExecutionTypeRequest;
getCanOmitFields(): boolean;
setCanOmitFields(value: boolean): PutExecutionTypeRequest;
getCanDeleteFields(): boolean;
setCanDeleteFields(value: boolean): PutExecutionTypeRequest;
getAllFieldsMatch(): boolean;
setAllFieldsMatch(value: boolean): PutExecutionTypeRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutExecutionTypeRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutExecutionTypeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutExecutionTypeRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutExecutionTypeRequest): PutExecutionTypeRequest.AsObject;
static serializeBinaryToWriter(message: PutExecutionTypeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutExecutionTypeRequest;
static deserializeBinaryFromReader(message: PutExecutionTypeRequest, reader: jspb.BinaryReader): PutExecutionTypeRequest;
}
export namespace PutExecutionTypeRequest {
export type AsObject = {
executionType?: ml_metadata_proto_metadata_store_pb.ExecutionType.AsObject,
canAddFields: boolean,
canOmitFields: boolean,
canDeleteFields: boolean,
allFieldsMatch: boolean,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class PutExecutionTypeResponse extends jspb.Message {
getTypeId(): number;
setTypeId(value: number): PutExecutionTypeResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutExecutionTypeResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutExecutionTypeResponse): PutExecutionTypeResponse.AsObject;
static serializeBinaryToWriter(message: PutExecutionTypeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutExecutionTypeResponse;
static deserializeBinaryFromReader(message: PutExecutionTypeResponse, reader: jspb.BinaryReader): PutExecutionTypeResponse;
}
export namespace PutExecutionTypeResponse {
export type AsObject = {
typeId: number,
}
}
export class PutEventsRequest extends jspb.Message {
getEventsList(): Array<ml_metadata_proto_metadata_store_pb.Event>;
setEventsList(value: Array<ml_metadata_proto_metadata_store_pb.Event>): PutEventsRequest;
clearEventsList(): PutEventsRequest;
addEvents(value?: ml_metadata_proto_metadata_store_pb.Event, index?: number): ml_metadata_proto_metadata_store_pb.Event;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutEventsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutEventsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutEventsRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutEventsRequest): PutEventsRequest.AsObject;
static serializeBinaryToWriter(message: PutEventsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutEventsRequest;
static deserializeBinaryFromReader(message: PutEventsRequest, reader: jspb.BinaryReader): PutEventsRequest;
}
export namespace PutEventsRequest {
export type AsObject = {
eventsList: Array<ml_metadata_proto_metadata_store_pb.Event.AsObject>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class PutEventsResponse extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutEventsResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutEventsResponse): PutEventsResponse.AsObject;
static serializeBinaryToWriter(message: PutEventsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutEventsResponse;
static deserializeBinaryFromReader(message: PutEventsResponse, reader: jspb.BinaryReader): PutEventsResponse;
}
export namespace PutEventsResponse {
export type AsObject = {
}
}
export class PutExecutionRequest extends jspb.Message {
getExecution(): ml_metadata_proto_metadata_store_pb.Execution | undefined;
setExecution(value?: ml_metadata_proto_metadata_store_pb.Execution): PutExecutionRequest;
hasExecution(): boolean;
clearExecution(): PutExecutionRequest;
getArtifactEventPairsList(): Array<PutExecutionRequest.ArtifactAndEvent>;
setArtifactEventPairsList(value: Array<PutExecutionRequest.ArtifactAndEvent>): PutExecutionRequest;
clearArtifactEventPairsList(): PutExecutionRequest;
addArtifactEventPairs(value?: PutExecutionRequest.ArtifactAndEvent, index?: number): PutExecutionRequest.ArtifactAndEvent;
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): PutExecutionRequest;
clearContextsList(): PutExecutionRequest;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
getOptions(): PutExecutionRequest.Options | undefined;
setOptions(value?: PutExecutionRequest.Options): PutExecutionRequest;
hasOptions(): boolean;
clearOptions(): PutExecutionRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutExecutionRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutExecutionRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutExecutionRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutExecutionRequest): PutExecutionRequest.AsObject;
static serializeBinaryToWriter(message: PutExecutionRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutExecutionRequest;
static deserializeBinaryFromReader(message: PutExecutionRequest, reader: jspb.BinaryReader): PutExecutionRequest;
}
export namespace PutExecutionRequest {
export type AsObject = {
execution?: ml_metadata_proto_metadata_store_pb.Execution.AsObject,
artifactEventPairsList: Array<PutExecutionRequest.ArtifactAndEvent.AsObject>,
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
options?: PutExecutionRequest.Options.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
export class ArtifactAndEvent extends jspb.Message {
getArtifact(): ml_metadata_proto_metadata_store_pb.Artifact | undefined;
setArtifact(value?: ml_metadata_proto_metadata_store_pb.Artifact): ArtifactAndEvent;
hasArtifact(): boolean;
clearArtifact(): ArtifactAndEvent;
getEvent(): ml_metadata_proto_metadata_store_pb.Event | undefined;
setEvent(value?: ml_metadata_proto_metadata_store_pb.Event): ArtifactAndEvent;
hasEvent(): boolean;
clearEvent(): ArtifactAndEvent;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactAndEvent.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactAndEvent): ArtifactAndEvent.AsObject;
static serializeBinaryToWriter(message: ArtifactAndEvent, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactAndEvent;
static deserializeBinaryFromReader(message: ArtifactAndEvent, reader: jspb.BinaryReader): ArtifactAndEvent;
}
export namespace ArtifactAndEvent {
export type AsObject = {
artifact?: ml_metadata_proto_metadata_store_pb.Artifact.AsObject,
event?: ml_metadata_proto_metadata_store_pb.Event.AsObject,
}
}
export class Options extends jspb.Message {
getReuseContextIfAlreadyExist(): boolean;
setReuseContextIfAlreadyExist(value: boolean): Options;
getReuseArtifactIfAlreadyExistByExternalId(): boolean;
setReuseArtifactIfAlreadyExistByExternalId(value: boolean): Options;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Options.AsObject;
static toObject(includeInstance: boolean, msg: Options): Options.AsObject;
static serializeBinaryToWriter(message: Options, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Options;
static deserializeBinaryFromReader(message: Options, reader: jspb.BinaryReader): Options;
}
export namespace Options {
export type AsObject = {
reuseContextIfAlreadyExist: boolean,
reuseArtifactIfAlreadyExistByExternalId: boolean,
}
}
}
export class PutExecutionResponse extends jspb.Message {
getExecutionId(): number;
setExecutionId(value: number): PutExecutionResponse;
getArtifactIdsList(): Array<number>;
setArtifactIdsList(value: Array<number>): PutExecutionResponse;
clearArtifactIdsList(): PutExecutionResponse;
addArtifactIds(value: number, index?: number): PutExecutionResponse;
getContextIdsList(): Array<number>;
setContextIdsList(value: Array<number>): PutExecutionResponse;
clearContextIdsList(): PutExecutionResponse;
addContextIds(value: number, index?: number): PutExecutionResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutExecutionResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutExecutionResponse): PutExecutionResponse.AsObject;
static serializeBinaryToWriter(message: PutExecutionResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutExecutionResponse;
static deserializeBinaryFromReader(message: PutExecutionResponse, reader: jspb.BinaryReader): PutExecutionResponse;
}
export namespace PutExecutionResponse {
export type AsObject = {
executionId: number,
artifactIdsList: Array<number>,
contextIdsList: Array<number>,
}
}
export class PutLineageSubgraphRequest extends jspb.Message {
getExecutionsList(): Array<ml_metadata_proto_metadata_store_pb.Execution>;
setExecutionsList(value: Array<ml_metadata_proto_metadata_store_pb.Execution>): PutLineageSubgraphRequest;
clearExecutionsList(): PutLineageSubgraphRequest;
addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution;
getArtifactsList(): Array<ml_metadata_proto_metadata_store_pb.Artifact>;
setArtifactsList(value: Array<ml_metadata_proto_metadata_store_pb.Artifact>): PutLineageSubgraphRequest;
clearArtifactsList(): PutLineageSubgraphRequest;
addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact;
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): PutLineageSubgraphRequest;
clearContextsList(): PutLineageSubgraphRequest;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
getEventEdgesList(): Array<PutLineageSubgraphRequest.EventEdge>;
setEventEdgesList(value: Array<PutLineageSubgraphRequest.EventEdge>): PutLineageSubgraphRequest;
clearEventEdgesList(): PutLineageSubgraphRequest;
addEventEdges(value?: PutLineageSubgraphRequest.EventEdge, index?: number): PutLineageSubgraphRequest.EventEdge;
getOptions(): PutLineageSubgraphRequest.Options | undefined;
setOptions(value?: PutLineageSubgraphRequest.Options): PutLineageSubgraphRequest;
hasOptions(): boolean;
clearOptions(): PutLineageSubgraphRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutLineageSubgraphRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutLineageSubgraphRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutLineageSubgraphRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutLineageSubgraphRequest): PutLineageSubgraphRequest.AsObject;
static serializeBinaryToWriter(message: PutLineageSubgraphRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutLineageSubgraphRequest;
static deserializeBinaryFromReader(message: PutLineageSubgraphRequest, reader: jspb.BinaryReader): PutLineageSubgraphRequest;
}
export namespace PutLineageSubgraphRequest {
export type AsObject = {
executionsList: Array<ml_metadata_proto_metadata_store_pb.Execution.AsObject>,
artifactsList: Array<ml_metadata_proto_metadata_store_pb.Artifact.AsObject>,
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
eventEdgesList: Array<PutLineageSubgraphRequest.EventEdge.AsObject>,
options?: PutLineageSubgraphRequest.Options.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
export class EventEdge extends jspb.Message {
getExecutionIndex(): number;
setExecutionIndex(value: number): EventEdge;
getArtifactIndex(): number;
setArtifactIndex(value: number): EventEdge;
getEvent(): ml_metadata_proto_metadata_store_pb.Event | undefined;
setEvent(value?: ml_metadata_proto_metadata_store_pb.Event): EventEdge;
hasEvent(): boolean;
clearEvent(): EventEdge;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): EventEdge.AsObject;
static toObject(includeInstance: boolean, msg: EventEdge): EventEdge.AsObject;
static serializeBinaryToWriter(message: EventEdge, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): EventEdge;
static deserializeBinaryFromReader(message: EventEdge, reader: jspb.BinaryReader): EventEdge;
}
export namespace EventEdge {
export type AsObject = {
executionIndex: number,
artifactIndex: number,
event?: ml_metadata_proto_metadata_store_pb.Event.AsObject,
}
}
export class Options extends jspb.Message {
getReuseContextIfAlreadyExist(): boolean;
setReuseContextIfAlreadyExist(value: boolean): Options;
getReuseArtifactIfAlreadyExistByExternalId(): boolean;
setReuseArtifactIfAlreadyExistByExternalId(value: boolean): Options;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Options.AsObject;
static toObject(includeInstance: boolean, msg: Options): Options.AsObject;
static serializeBinaryToWriter(message: Options, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Options;
static deserializeBinaryFromReader(message: Options, reader: jspb.BinaryReader): Options;
}
export namespace Options {
export type AsObject = {
reuseContextIfAlreadyExist: boolean,
reuseArtifactIfAlreadyExistByExternalId: boolean,
}
}
}
export class PutLineageSubgraphResponse extends jspb.Message {
getExecutionIdsList(): Array<number>;
setExecutionIdsList(value: Array<number>): PutLineageSubgraphResponse;
clearExecutionIdsList(): PutLineageSubgraphResponse;
addExecutionIds(value: number, index?: number): PutLineageSubgraphResponse;
getArtifactIdsList(): Array<number>;
setArtifactIdsList(value: Array<number>): PutLineageSubgraphResponse;
clearArtifactIdsList(): PutLineageSubgraphResponse;
addArtifactIds(value: number, index?: number): PutLineageSubgraphResponse;
getContextIdsList(): Array<number>;
setContextIdsList(value: Array<number>): PutLineageSubgraphResponse;
clearContextIdsList(): PutLineageSubgraphResponse;
addContextIds(value: number, index?: number): PutLineageSubgraphResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutLineageSubgraphResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutLineageSubgraphResponse): PutLineageSubgraphResponse.AsObject;
static serializeBinaryToWriter(message: PutLineageSubgraphResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutLineageSubgraphResponse;
static deserializeBinaryFromReader(message: PutLineageSubgraphResponse, reader: jspb.BinaryReader): PutLineageSubgraphResponse;
}
export namespace PutLineageSubgraphResponse {
export type AsObject = {
executionIdsList: Array<number>,
artifactIdsList: Array<number>,
contextIdsList: Array<number>,
}
}
export class PutTypesRequest extends jspb.Message {
getArtifactTypesList(): Array<ml_metadata_proto_metadata_store_pb.ArtifactType>;
setArtifactTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ArtifactType>): PutTypesRequest;
clearArtifactTypesList(): PutTypesRequest;
addArtifactTypes(value?: ml_metadata_proto_metadata_store_pb.ArtifactType, index?: number): ml_metadata_proto_metadata_store_pb.ArtifactType;
getExecutionTypesList(): Array<ml_metadata_proto_metadata_store_pb.ExecutionType>;
setExecutionTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ExecutionType>): PutTypesRequest;
clearExecutionTypesList(): PutTypesRequest;
addExecutionTypes(value?: ml_metadata_proto_metadata_store_pb.ExecutionType, index?: number): ml_metadata_proto_metadata_store_pb.ExecutionType;
getContextTypesList(): Array<ml_metadata_proto_metadata_store_pb.ContextType>;
setContextTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ContextType>): PutTypesRequest;
clearContextTypesList(): PutTypesRequest;
addContextTypes(value?: ml_metadata_proto_metadata_store_pb.ContextType, index?: number): ml_metadata_proto_metadata_store_pb.ContextType;
getCanAddFields(): boolean;
setCanAddFields(value: boolean): PutTypesRequest;
getCanOmitFields(): boolean;
setCanOmitFields(value: boolean): PutTypesRequest;
getCanDeleteFields(): boolean;
setCanDeleteFields(value: boolean): PutTypesRequest;
getAllFieldsMatch(): boolean;
setAllFieldsMatch(value: boolean): PutTypesRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutTypesRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutTypesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutTypesRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutTypesRequest): PutTypesRequest.AsObject;
static serializeBinaryToWriter(message: PutTypesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutTypesRequest;
static deserializeBinaryFromReader(message: PutTypesRequest, reader: jspb.BinaryReader): PutTypesRequest;
}
export namespace PutTypesRequest {
export type AsObject = {
artifactTypesList: Array<ml_metadata_proto_metadata_store_pb.ArtifactType.AsObject>,
executionTypesList: Array<ml_metadata_proto_metadata_store_pb.ExecutionType.AsObject>,
contextTypesList: Array<ml_metadata_proto_metadata_store_pb.ContextType.AsObject>,
canAddFields: boolean,
canOmitFields: boolean,
canDeleteFields: boolean,
allFieldsMatch: boolean,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class PutTypesResponse extends jspb.Message {
getArtifactTypeIdsList(): Array<number>;
setArtifactTypeIdsList(value: Array<number>): PutTypesResponse;
clearArtifactTypeIdsList(): PutTypesResponse;
addArtifactTypeIds(value: number, index?: number): PutTypesResponse;
getExecutionTypeIdsList(): Array<number>;
setExecutionTypeIdsList(value: Array<number>): PutTypesResponse;
clearExecutionTypeIdsList(): PutTypesResponse;
addExecutionTypeIds(value: number, index?: number): PutTypesResponse;
getContextTypeIdsList(): Array<number>;
setContextTypeIdsList(value: Array<number>): PutTypesResponse;
clearContextTypeIdsList(): PutTypesResponse;
addContextTypeIds(value: number, index?: number): PutTypesResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutTypesResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutTypesResponse): PutTypesResponse.AsObject;
static serializeBinaryToWriter(message: PutTypesResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutTypesResponse;
static deserializeBinaryFromReader(message: PutTypesResponse, reader: jspb.BinaryReader): PutTypesResponse;
}
export namespace PutTypesResponse {
export type AsObject = {
artifactTypeIdsList: Array<number>,
executionTypeIdsList: Array<number>,
contextTypeIdsList: Array<number>,
}
}
export class PutContextTypeRequest extends jspb.Message {
getContextType(): ml_metadata_proto_metadata_store_pb.ContextType | undefined;
setContextType(value?: ml_metadata_proto_metadata_store_pb.ContextType): PutContextTypeRequest;
hasContextType(): boolean;
clearContextType(): PutContextTypeRequest;
getCanAddFields(): boolean;
setCanAddFields(value: boolean): PutContextTypeRequest;
getCanOmitFields(): boolean;
setCanOmitFields(value: boolean): PutContextTypeRequest;
getCanDeleteFields(): boolean;
setCanDeleteFields(value: boolean): PutContextTypeRequest;
getAllFieldsMatch(): boolean;
setAllFieldsMatch(value: boolean): PutContextTypeRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutContextTypeRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutContextTypeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutContextTypeRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutContextTypeRequest): PutContextTypeRequest.AsObject;
static serializeBinaryToWriter(message: PutContextTypeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutContextTypeRequest;
static deserializeBinaryFromReader(message: PutContextTypeRequest, reader: jspb.BinaryReader): PutContextTypeRequest;
}
export namespace PutContextTypeRequest {
export type AsObject = {
contextType?: ml_metadata_proto_metadata_store_pb.ContextType.AsObject,
canAddFields: boolean,
canOmitFields: boolean,
canDeleteFields: boolean,
allFieldsMatch: boolean,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class PutContextTypeResponse extends jspb.Message {
getTypeId(): number;
setTypeId(value: number): PutContextTypeResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutContextTypeResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutContextTypeResponse): PutContextTypeResponse.AsObject;
static serializeBinaryToWriter(message: PutContextTypeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutContextTypeResponse;
static deserializeBinaryFromReader(message: PutContextTypeResponse, reader: jspb.BinaryReader): PutContextTypeResponse;
}
export namespace PutContextTypeResponse {
export type AsObject = {
typeId: number,
}
}
export class PutContextsRequest extends jspb.Message {
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): PutContextsRequest;
clearContextsList(): PutContextsRequest;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutContextsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutContextsRequest;
getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): PutContextsRequest;
hasUpdateMask(): boolean;
clearUpdateMask(): PutContextsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutContextsRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutContextsRequest): PutContextsRequest.AsObject;
static serializeBinaryToWriter(message: PutContextsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutContextsRequest;
static deserializeBinaryFromReader(message: PutContextsRequest, reader: jspb.BinaryReader): PutContextsRequest;
}
export namespace PutContextsRequest {
export type AsObject = {
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
}
}
export class PutContextsResponse extends jspb.Message {
getContextIdsList(): Array<number>;
setContextIdsList(value: Array<number>): PutContextsResponse;
clearContextIdsList(): PutContextsResponse;
addContextIds(value: number, index?: number): PutContextsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutContextsResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutContextsResponse): PutContextsResponse.AsObject;
static serializeBinaryToWriter(message: PutContextsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutContextsResponse;
static deserializeBinaryFromReader(message: PutContextsResponse, reader: jspb.BinaryReader): PutContextsResponse;
}
export namespace PutContextsResponse {
export type AsObject = {
contextIdsList: Array<number>,
}
}
export class PutAttributionsAndAssociationsRequest extends jspb.Message {
getAttributionsList(): Array<ml_metadata_proto_metadata_store_pb.Attribution>;
setAttributionsList(value: Array<ml_metadata_proto_metadata_store_pb.Attribution>): PutAttributionsAndAssociationsRequest;
clearAttributionsList(): PutAttributionsAndAssociationsRequest;
addAttributions(value?: ml_metadata_proto_metadata_store_pb.Attribution, index?: number): ml_metadata_proto_metadata_store_pb.Attribution;
getAssociationsList(): Array<ml_metadata_proto_metadata_store_pb.Association>;
setAssociationsList(value: Array<ml_metadata_proto_metadata_store_pb.Association>): PutAttributionsAndAssociationsRequest;
clearAssociationsList(): PutAttributionsAndAssociationsRequest;
addAssociations(value?: ml_metadata_proto_metadata_store_pb.Association, index?: number): ml_metadata_proto_metadata_store_pb.Association;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutAttributionsAndAssociationsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutAttributionsAndAssociationsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutAttributionsAndAssociationsRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutAttributionsAndAssociationsRequest): PutAttributionsAndAssociationsRequest.AsObject;
static serializeBinaryToWriter(message: PutAttributionsAndAssociationsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutAttributionsAndAssociationsRequest;
static deserializeBinaryFromReader(message: PutAttributionsAndAssociationsRequest, reader: jspb.BinaryReader): PutAttributionsAndAssociationsRequest;
}
export namespace PutAttributionsAndAssociationsRequest {
export type AsObject = {
attributionsList: Array<ml_metadata_proto_metadata_store_pb.Attribution.AsObject>,
associationsList: Array<ml_metadata_proto_metadata_store_pb.Association.AsObject>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class PutAttributionsAndAssociationsResponse extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutAttributionsAndAssociationsResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutAttributionsAndAssociationsResponse): PutAttributionsAndAssociationsResponse.AsObject;
static serializeBinaryToWriter(message: PutAttributionsAndAssociationsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutAttributionsAndAssociationsResponse;
static deserializeBinaryFromReader(message: PutAttributionsAndAssociationsResponse, reader: jspb.BinaryReader): PutAttributionsAndAssociationsResponse;
}
export namespace PutAttributionsAndAssociationsResponse {
export type AsObject = {
}
}
export class PutParentContextsRequest extends jspb.Message {
getParentContextsList(): Array<ml_metadata_proto_metadata_store_pb.ParentContext>;
setParentContextsList(value: Array<ml_metadata_proto_metadata_store_pb.ParentContext>): PutParentContextsRequest;
clearParentContextsList(): PutParentContextsRequest;
addParentContexts(value?: ml_metadata_proto_metadata_store_pb.ParentContext, index?: number): ml_metadata_proto_metadata_store_pb.ParentContext;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutParentContextsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): PutParentContextsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutParentContextsRequest.AsObject;
static toObject(includeInstance: boolean, msg: PutParentContextsRequest): PutParentContextsRequest.AsObject;
static serializeBinaryToWriter(message: PutParentContextsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutParentContextsRequest;
static deserializeBinaryFromReader(message: PutParentContextsRequest, reader: jspb.BinaryReader): PutParentContextsRequest;
}
export namespace PutParentContextsRequest {
export type AsObject = {
parentContextsList: Array<ml_metadata_proto_metadata_store_pb.ParentContext.AsObject>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class PutParentContextsResponse extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PutParentContextsResponse.AsObject;
static toObject(includeInstance: boolean, msg: PutParentContextsResponse): PutParentContextsResponse.AsObject;
static serializeBinaryToWriter(message: PutParentContextsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PutParentContextsResponse;
static deserializeBinaryFromReader(message: PutParentContextsResponse, reader: jspb.BinaryReader): PutParentContextsResponse;
}
export namespace PutParentContextsResponse {
export type AsObject = {
}
}
export class GetArtifactsByTypeRequest extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): GetArtifactsByTypeRequest;
getTypeVersion(): string;
setTypeVersion(value: string): GetArtifactsByTypeRequest;
getOptions(): ml_metadata_proto_metadata_store_pb.ListOperationOptions | undefined;
setOptions(value?: ml_metadata_proto_metadata_store_pb.ListOperationOptions): GetArtifactsByTypeRequest;
hasOptions(): boolean;
clearOptions(): GetArtifactsByTypeRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactsByTypeRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactsByTypeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByTypeRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByTypeRequest): GetArtifactsByTypeRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByTypeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByTypeRequest;
static deserializeBinaryFromReader(message: GetArtifactsByTypeRequest, reader: jspb.BinaryReader): GetArtifactsByTypeRequest;
}
export namespace GetArtifactsByTypeRequest {
export type AsObject = {
typeName: string,
typeVersion: string,
options?: ml_metadata_proto_metadata_store_pb.ListOperationOptions.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactsByTypeResponse extends jspb.Message {
getArtifactsList(): Array<ml_metadata_proto_metadata_store_pb.Artifact>;
setArtifactsList(value: Array<ml_metadata_proto_metadata_store_pb.Artifact>): GetArtifactsByTypeResponse;
clearArtifactsList(): GetArtifactsByTypeResponse;
addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact;
getNextPageToken(): string;
setNextPageToken(value: string): GetArtifactsByTypeResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByTypeResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByTypeResponse): GetArtifactsByTypeResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByTypeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByTypeResponse;
static deserializeBinaryFromReader(message: GetArtifactsByTypeResponse, reader: jspb.BinaryReader): GetArtifactsByTypeResponse;
}
export namespace GetArtifactsByTypeResponse {
export type AsObject = {
artifactsList: Array<ml_metadata_proto_metadata_store_pb.Artifact.AsObject>,
nextPageToken: string,
}
}
export class GetArtifactByTypeAndNameRequest extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): GetArtifactByTypeAndNameRequest;
getTypeVersion(): string;
setTypeVersion(value: string): GetArtifactByTypeAndNameRequest;
getArtifactName(): string;
setArtifactName(value: string): GetArtifactByTypeAndNameRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactByTypeAndNameRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactByTypeAndNameRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactByTypeAndNameRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactByTypeAndNameRequest): GetArtifactByTypeAndNameRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactByTypeAndNameRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactByTypeAndNameRequest;
static deserializeBinaryFromReader(message: GetArtifactByTypeAndNameRequest, reader: jspb.BinaryReader): GetArtifactByTypeAndNameRequest;
}
export namespace GetArtifactByTypeAndNameRequest {
export type AsObject = {
typeName: string,
typeVersion: string,
artifactName: string,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactByTypeAndNameResponse extends jspb.Message {
getArtifact(): ml_metadata_proto_metadata_store_pb.Artifact | undefined;
setArtifact(value?: ml_metadata_proto_metadata_store_pb.Artifact): GetArtifactByTypeAndNameResponse;
hasArtifact(): boolean;
clearArtifact(): GetArtifactByTypeAndNameResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactByTypeAndNameResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactByTypeAndNameResponse): GetArtifactByTypeAndNameResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactByTypeAndNameResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactByTypeAndNameResponse;
static deserializeBinaryFromReader(message: GetArtifactByTypeAndNameResponse, reader: jspb.BinaryReader): GetArtifactByTypeAndNameResponse;
}
export namespace GetArtifactByTypeAndNameResponse {
export type AsObject = {
artifact?: ml_metadata_proto_metadata_store_pb.Artifact.AsObject,
}
}
export class GetArtifactsByIDRequest extends jspb.Message {
getArtifactIdsList(): Array<number>;
setArtifactIdsList(value: Array<number>): GetArtifactsByIDRequest;
clearArtifactIdsList(): GetArtifactsByIDRequest;
addArtifactIds(value: number, index?: number): GetArtifactsByIDRequest;
getPopulateArtifactTypes(): boolean;
setPopulateArtifactTypes(value: boolean): GetArtifactsByIDRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactsByIDRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactsByIDRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByIDRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByIDRequest): GetArtifactsByIDRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByIDRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByIDRequest;
static deserializeBinaryFromReader(message: GetArtifactsByIDRequest, reader: jspb.BinaryReader): GetArtifactsByIDRequest;
}
export namespace GetArtifactsByIDRequest {
export type AsObject = {
artifactIdsList: Array<number>,
populateArtifactTypes: boolean,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactsByIDResponse extends jspb.Message {
getArtifactsList(): Array<ml_metadata_proto_metadata_store_pb.Artifact>;
setArtifactsList(value: Array<ml_metadata_proto_metadata_store_pb.Artifact>): GetArtifactsByIDResponse;
clearArtifactsList(): GetArtifactsByIDResponse;
addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact;
getArtifactTypesList(): Array<ml_metadata_proto_metadata_store_pb.ArtifactType>;
setArtifactTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ArtifactType>): GetArtifactsByIDResponse;
clearArtifactTypesList(): GetArtifactsByIDResponse;
addArtifactTypes(value?: ml_metadata_proto_metadata_store_pb.ArtifactType, index?: number): ml_metadata_proto_metadata_store_pb.ArtifactType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByIDResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByIDResponse): GetArtifactsByIDResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByIDResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByIDResponse;
static deserializeBinaryFromReader(message: GetArtifactsByIDResponse, reader: jspb.BinaryReader): GetArtifactsByIDResponse;
}
export namespace GetArtifactsByIDResponse {
export type AsObject = {
artifactsList: Array<ml_metadata_proto_metadata_store_pb.Artifact.AsObject>,
artifactTypesList: Array<ml_metadata_proto_metadata_store_pb.ArtifactType.AsObject>,
}
}
export class GetArtifactsRequest extends jspb.Message {
getOptions(): ml_metadata_proto_metadata_store_pb.ListOperationOptions | undefined;
setOptions(value?: ml_metadata_proto_metadata_store_pb.ListOperationOptions): GetArtifactsRequest;
hasOptions(): boolean;
clearOptions(): GetArtifactsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsRequest): GetArtifactsRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsRequest;
static deserializeBinaryFromReader(message: GetArtifactsRequest, reader: jspb.BinaryReader): GetArtifactsRequest;
}
export namespace GetArtifactsRequest {
export type AsObject = {
options?: ml_metadata_proto_metadata_store_pb.ListOperationOptions.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactsResponse extends jspb.Message {
getArtifactsList(): Array<ml_metadata_proto_metadata_store_pb.Artifact>;
setArtifactsList(value: Array<ml_metadata_proto_metadata_store_pb.Artifact>): GetArtifactsResponse;
clearArtifactsList(): GetArtifactsResponse;
addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact;
getNextPageToken(): string;
setNextPageToken(value: string): GetArtifactsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsResponse): GetArtifactsResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsResponse;
static deserializeBinaryFromReader(message: GetArtifactsResponse, reader: jspb.BinaryReader): GetArtifactsResponse;
}
export namespace GetArtifactsResponse {
export type AsObject = {
artifactsList: Array<ml_metadata_proto_metadata_store_pb.Artifact.AsObject>,
nextPageToken: string,
}
}
export class GetArtifactsByURIRequest extends jspb.Message {
getUrisList(): Array<string>;
setUrisList(value: Array<string>): GetArtifactsByURIRequest;
clearUrisList(): GetArtifactsByURIRequest;
addUris(value: string, index?: number): GetArtifactsByURIRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactsByURIRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactsByURIRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByURIRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByURIRequest): GetArtifactsByURIRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByURIRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByURIRequest;
static deserializeBinaryFromReader(message: GetArtifactsByURIRequest, reader: jspb.BinaryReader): GetArtifactsByURIRequest;
}
export namespace GetArtifactsByURIRequest {
export type AsObject = {
urisList: Array<string>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactsByURIResponse extends jspb.Message {
getArtifactsList(): Array<ml_metadata_proto_metadata_store_pb.Artifact>;
setArtifactsList(value: Array<ml_metadata_proto_metadata_store_pb.Artifact>): GetArtifactsByURIResponse;
clearArtifactsList(): GetArtifactsByURIResponse;
addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByURIResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByURIResponse): GetArtifactsByURIResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByURIResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByURIResponse;
static deserializeBinaryFromReader(message: GetArtifactsByURIResponse, reader: jspb.BinaryReader): GetArtifactsByURIResponse;
}
export namespace GetArtifactsByURIResponse {
export type AsObject = {
artifactsList: Array<ml_metadata_proto_metadata_store_pb.Artifact.AsObject>,
}
}
export class GetExecutionsRequest extends jspb.Message {
getOptions(): ml_metadata_proto_metadata_store_pb.ListOperationOptions | undefined;
setOptions(value?: ml_metadata_proto_metadata_store_pb.ListOperationOptions): GetExecutionsRequest;
hasOptions(): boolean;
clearOptions(): GetExecutionsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsRequest): GetExecutionsRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsRequest;
static deserializeBinaryFromReader(message: GetExecutionsRequest, reader: jspb.BinaryReader): GetExecutionsRequest;
}
export namespace GetExecutionsRequest {
export type AsObject = {
options?: ml_metadata_proto_metadata_store_pb.ListOperationOptions.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionsResponse extends jspb.Message {
getExecutionsList(): Array<ml_metadata_proto_metadata_store_pb.Execution>;
setExecutionsList(value: Array<ml_metadata_proto_metadata_store_pb.Execution>): GetExecutionsResponse;
clearExecutionsList(): GetExecutionsResponse;
addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution;
getNextPageToken(): string;
setNextPageToken(value: string): GetExecutionsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsResponse): GetExecutionsResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsResponse;
static deserializeBinaryFromReader(message: GetExecutionsResponse, reader: jspb.BinaryReader): GetExecutionsResponse;
}
export namespace GetExecutionsResponse {
export type AsObject = {
executionsList: Array<ml_metadata_proto_metadata_store_pb.Execution.AsObject>,
nextPageToken: string,
}
}
export class GetArtifactTypeRequest extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): GetArtifactTypeRequest;
getTypeVersion(): string;
setTypeVersion(value: string): GetArtifactTypeRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactTypeRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactTypeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactTypeRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactTypeRequest): GetArtifactTypeRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactTypeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactTypeRequest;
static deserializeBinaryFromReader(message: GetArtifactTypeRequest, reader: jspb.BinaryReader): GetArtifactTypeRequest;
}
export namespace GetArtifactTypeRequest {
export type AsObject = {
typeName: string,
typeVersion: string,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactTypeResponse extends jspb.Message {
getArtifactType(): ml_metadata_proto_metadata_store_pb.ArtifactType | undefined;
setArtifactType(value?: ml_metadata_proto_metadata_store_pb.ArtifactType): GetArtifactTypeResponse;
hasArtifactType(): boolean;
clearArtifactType(): GetArtifactTypeResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactTypeResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactTypeResponse): GetArtifactTypeResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactTypeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactTypeResponse;
static deserializeBinaryFromReader(message: GetArtifactTypeResponse, reader: jspb.BinaryReader): GetArtifactTypeResponse;
}
export namespace GetArtifactTypeResponse {
export type AsObject = {
artifactType?: ml_metadata_proto_metadata_store_pb.ArtifactType.AsObject,
}
}
export class GetArtifactTypesRequest extends jspb.Message {
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactTypesRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactTypesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactTypesRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactTypesRequest): GetArtifactTypesRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactTypesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactTypesRequest;
static deserializeBinaryFromReader(message: GetArtifactTypesRequest, reader: jspb.BinaryReader): GetArtifactTypesRequest;
}
export namespace GetArtifactTypesRequest {
export type AsObject = {
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactTypesResponse extends jspb.Message {
getArtifactTypesList(): Array<ml_metadata_proto_metadata_store_pb.ArtifactType>;
setArtifactTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ArtifactType>): GetArtifactTypesResponse;
clearArtifactTypesList(): GetArtifactTypesResponse;
addArtifactTypes(value?: ml_metadata_proto_metadata_store_pb.ArtifactType, index?: number): ml_metadata_proto_metadata_store_pb.ArtifactType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactTypesResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactTypesResponse): GetArtifactTypesResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactTypesResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactTypesResponse;
static deserializeBinaryFromReader(message: GetArtifactTypesResponse, reader: jspb.BinaryReader): GetArtifactTypesResponse;
}
export namespace GetArtifactTypesResponse {
export type AsObject = {
artifactTypesList: Array<ml_metadata_proto_metadata_store_pb.ArtifactType.AsObject>,
}
}
export class GetExecutionTypesRequest extends jspb.Message {
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionTypesRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionTypesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionTypesRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionTypesRequest): GetExecutionTypesRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionTypesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionTypesRequest;
static deserializeBinaryFromReader(message: GetExecutionTypesRequest, reader: jspb.BinaryReader): GetExecutionTypesRequest;
}
export namespace GetExecutionTypesRequest {
export type AsObject = {
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionTypesResponse extends jspb.Message {
getExecutionTypesList(): Array<ml_metadata_proto_metadata_store_pb.ExecutionType>;
setExecutionTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ExecutionType>): GetExecutionTypesResponse;
clearExecutionTypesList(): GetExecutionTypesResponse;
addExecutionTypes(value?: ml_metadata_proto_metadata_store_pb.ExecutionType, index?: number): ml_metadata_proto_metadata_store_pb.ExecutionType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionTypesResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionTypesResponse): GetExecutionTypesResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionTypesResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionTypesResponse;
static deserializeBinaryFromReader(message: GetExecutionTypesResponse, reader: jspb.BinaryReader): GetExecutionTypesResponse;
}
export namespace GetExecutionTypesResponse {
export type AsObject = {
executionTypesList: Array<ml_metadata_proto_metadata_store_pb.ExecutionType.AsObject>,
}
}
export class GetContextTypesRequest extends jspb.Message {
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextTypesRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextTypesRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextTypesRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextTypesRequest): GetContextTypesRequest.AsObject;
static serializeBinaryToWriter(message: GetContextTypesRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextTypesRequest;
static deserializeBinaryFromReader(message: GetContextTypesRequest, reader: jspb.BinaryReader): GetContextTypesRequest;
}
export namespace GetContextTypesRequest {
export type AsObject = {
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextTypesResponse extends jspb.Message {
getContextTypesList(): Array<ml_metadata_proto_metadata_store_pb.ContextType>;
setContextTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ContextType>): GetContextTypesResponse;
clearContextTypesList(): GetContextTypesResponse;
addContextTypes(value?: ml_metadata_proto_metadata_store_pb.ContextType, index?: number): ml_metadata_proto_metadata_store_pb.ContextType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextTypesResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextTypesResponse): GetContextTypesResponse.AsObject;
static serializeBinaryToWriter(message: GetContextTypesResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextTypesResponse;
static deserializeBinaryFromReader(message: GetContextTypesResponse, reader: jspb.BinaryReader): GetContextTypesResponse;
}
export namespace GetContextTypesResponse {
export type AsObject = {
contextTypesList: Array<ml_metadata_proto_metadata_store_pb.ContextType.AsObject>,
}
}
export class GetArtifactsByExternalIdsRequest extends jspb.Message {
getExternalIdsList(): Array<string>;
setExternalIdsList(value: Array<string>): GetArtifactsByExternalIdsRequest;
clearExternalIdsList(): GetArtifactsByExternalIdsRequest;
addExternalIds(value: string, index?: number): GetArtifactsByExternalIdsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactsByExternalIdsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactsByExternalIdsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByExternalIdsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByExternalIdsRequest): GetArtifactsByExternalIdsRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByExternalIdsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByExternalIdsRequest;
static deserializeBinaryFromReader(message: GetArtifactsByExternalIdsRequest, reader: jspb.BinaryReader): GetArtifactsByExternalIdsRequest;
}
export namespace GetArtifactsByExternalIdsRequest {
export type AsObject = {
externalIdsList: Array<string>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactsByExternalIdsResponse extends jspb.Message {
getArtifactsList(): Array<ml_metadata_proto_metadata_store_pb.Artifact>;
setArtifactsList(value: Array<ml_metadata_proto_metadata_store_pb.Artifact>): GetArtifactsByExternalIdsResponse;
clearArtifactsList(): GetArtifactsByExternalIdsResponse;
addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByExternalIdsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByExternalIdsResponse): GetArtifactsByExternalIdsResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByExternalIdsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByExternalIdsResponse;
static deserializeBinaryFromReader(message: GetArtifactsByExternalIdsResponse, reader: jspb.BinaryReader): GetArtifactsByExternalIdsResponse;
}
export namespace GetArtifactsByExternalIdsResponse {
export type AsObject = {
artifactsList: Array<ml_metadata_proto_metadata_store_pb.Artifact.AsObject>,
}
}
export class GetExecutionsByExternalIdsRequest extends jspb.Message {
getExternalIdsList(): Array<string>;
setExternalIdsList(value: Array<string>): GetExecutionsByExternalIdsRequest;
clearExternalIdsList(): GetExecutionsByExternalIdsRequest;
addExternalIds(value: string, index?: number): GetExecutionsByExternalIdsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionsByExternalIdsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionsByExternalIdsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsByExternalIdsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsByExternalIdsRequest): GetExecutionsByExternalIdsRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionsByExternalIdsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsByExternalIdsRequest;
static deserializeBinaryFromReader(message: GetExecutionsByExternalIdsRequest, reader: jspb.BinaryReader): GetExecutionsByExternalIdsRequest;
}
export namespace GetExecutionsByExternalIdsRequest {
export type AsObject = {
externalIdsList: Array<string>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionsByExternalIdsResponse extends jspb.Message {
getExecutionsList(): Array<ml_metadata_proto_metadata_store_pb.Execution>;
setExecutionsList(value: Array<ml_metadata_proto_metadata_store_pb.Execution>): GetExecutionsByExternalIdsResponse;
clearExecutionsList(): GetExecutionsByExternalIdsResponse;
addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsByExternalIdsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsByExternalIdsResponse): GetExecutionsByExternalIdsResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionsByExternalIdsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsByExternalIdsResponse;
static deserializeBinaryFromReader(message: GetExecutionsByExternalIdsResponse, reader: jspb.BinaryReader): GetExecutionsByExternalIdsResponse;
}
export namespace GetExecutionsByExternalIdsResponse {
export type AsObject = {
executionsList: Array<ml_metadata_proto_metadata_store_pb.Execution.AsObject>,
}
}
export class GetContextsByExternalIdsRequest extends jspb.Message {
getExternalIdsList(): Array<string>;
setExternalIdsList(value: Array<string>): GetContextsByExternalIdsRequest;
clearExternalIdsList(): GetContextsByExternalIdsRequest;
addExternalIds(value: string, index?: number): GetContextsByExternalIdsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextsByExternalIdsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextsByExternalIdsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByExternalIdsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByExternalIdsRequest): GetContextsByExternalIdsRequest.AsObject;
static serializeBinaryToWriter(message: GetContextsByExternalIdsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByExternalIdsRequest;
static deserializeBinaryFromReader(message: GetContextsByExternalIdsRequest, reader: jspb.BinaryReader): GetContextsByExternalIdsRequest;
}
export namespace GetContextsByExternalIdsRequest {
export type AsObject = {
externalIdsList: Array<string>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextsByExternalIdsResponse extends jspb.Message {
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): GetContextsByExternalIdsResponse;
clearContextsList(): GetContextsByExternalIdsResponse;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByExternalIdsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByExternalIdsResponse): GetContextsByExternalIdsResponse.AsObject;
static serializeBinaryToWriter(message: GetContextsByExternalIdsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByExternalIdsResponse;
static deserializeBinaryFromReader(message: GetContextsByExternalIdsResponse, reader: jspb.BinaryReader): GetContextsByExternalIdsResponse;
}
export namespace GetContextsByExternalIdsResponse {
export type AsObject = {
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
}
}
export class GetArtifactTypesByExternalIdsRequest extends jspb.Message {
getExternalIdsList(): Array<string>;
setExternalIdsList(value: Array<string>): GetArtifactTypesByExternalIdsRequest;
clearExternalIdsList(): GetArtifactTypesByExternalIdsRequest;
addExternalIds(value: string, index?: number): GetArtifactTypesByExternalIdsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactTypesByExternalIdsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactTypesByExternalIdsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactTypesByExternalIdsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactTypesByExternalIdsRequest): GetArtifactTypesByExternalIdsRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactTypesByExternalIdsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactTypesByExternalIdsRequest;
static deserializeBinaryFromReader(message: GetArtifactTypesByExternalIdsRequest, reader: jspb.BinaryReader): GetArtifactTypesByExternalIdsRequest;
}
export namespace GetArtifactTypesByExternalIdsRequest {
export type AsObject = {
externalIdsList: Array<string>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactTypesByExternalIdsResponse extends jspb.Message {
getArtifactTypesList(): Array<ml_metadata_proto_metadata_store_pb.ArtifactType>;
setArtifactTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ArtifactType>): GetArtifactTypesByExternalIdsResponse;
clearArtifactTypesList(): GetArtifactTypesByExternalIdsResponse;
addArtifactTypes(value?: ml_metadata_proto_metadata_store_pb.ArtifactType, index?: number): ml_metadata_proto_metadata_store_pb.ArtifactType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactTypesByExternalIdsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactTypesByExternalIdsResponse): GetArtifactTypesByExternalIdsResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactTypesByExternalIdsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactTypesByExternalIdsResponse;
static deserializeBinaryFromReader(message: GetArtifactTypesByExternalIdsResponse, reader: jspb.BinaryReader): GetArtifactTypesByExternalIdsResponse;
}
export namespace GetArtifactTypesByExternalIdsResponse {
export type AsObject = {
artifactTypesList: Array<ml_metadata_proto_metadata_store_pb.ArtifactType.AsObject>,
}
}
export class GetExecutionTypesByExternalIdsRequest extends jspb.Message {
getExternalIdsList(): Array<string>;
setExternalIdsList(value: Array<string>): GetExecutionTypesByExternalIdsRequest;
clearExternalIdsList(): GetExecutionTypesByExternalIdsRequest;
addExternalIds(value: string, index?: number): GetExecutionTypesByExternalIdsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionTypesByExternalIdsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionTypesByExternalIdsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionTypesByExternalIdsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionTypesByExternalIdsRequest): GetExecutionTypesByExternalIdsRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionTypesByExternalIdsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionTypesByExternalIdsRequest;
static deserializeBinaryFromReader(message: GetExecutionTypesByExternalIdsRequest, reader: jspb.BinaryReader): GetExecutionTypesByExternalIdsRequest;
}
export namespace GetExecutionTypesByExternalIdsRequest {
export type AsObject = {
externalIdsList: Array<string>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionTypesByExternalIdsResponse extends jspb.Message {
getExecutionTypesList(): Array<ml_metadata_proto_metadata_store_pb.ExecutionType>;
setExecutionTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ExecutionType>): GetExecutionTypesByExternalIdsResponse;
clearExecutionTypesList(): GetExecutionTypesByExternalIdsResponse;
addExecutionTypes(value?: ml_metadata_proto_metadata_store_pb.ExecutionType, index?: number): ml_metadata_proto_metadata_store_pb.ExecutionType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionTypesByExternalIdsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionTypesByExternalIdsResponse): GetExecutionTypesByExternalIdsResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionTypesByExternalIdsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionTypesByExternalIdsResponse;
static deserializeBinaryFromReader(message: GetExecutionTypesByExternalIdsResponse, reader: jspb.BinaryReader): GetExecutionTypesByExternalIdsResponse;
}
export namespace GetExecutionTypesByExternalIdsResponse {
export type AsObject = {
executionTypesList: Array<ml_metadata_proto_metadata_store_pb.ExecutionType.AsObject>,
}
}
export class GetContextTypesByExternalIdsRequest extends jspb.Message {
getExternalIdsList(): Array<string>;
setExternalIdsList(value: Array<string>): GetContextTypesByExternalIdsRequest;
clearExternalIdsList(): GetContextTypesByExternalIdsRequest;
addExternalIds(value: string, index?: number): GetContextTypesByExternalIdsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextTypesByExternalIdsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextTypesByExternalIdsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextTypesByExternalIdsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextTypesByExternalIdsRequest): GetContextTypesByExternalIdsRequest.AsObject;
static serializeBinaryToWriter(message: GetContextTypesByExternalIdsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextTypesByExternalIdsRequest;
static deserializeBinaryFromReader(message: GetContextTypesByExternalIdsRequest, reader: jspb.BinaryReader): GetContextTypesByExternalIdsRequest;
}
export namespace GetContextTypesByExternalIdsRequest {
export type AsObject = {
externalIdsList: Array<string>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextTypesByExternalIdsResponse extends jspb.Message {
getContextTypesList(): Array<ml_metadata_proto_metadata_store_pb.ContextType>;
setContextTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ContextType>): GetContextTypesByExternalIdsResponse;
clearContextTypesList(): GetContextTypesByExternalIdsResponse;
addContextTypes(value?: ml_metadata_proto_metadata_store_pb.ContextType, index?: number): ml_metadata_proto_metadata_store_pb.ContextType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextTypesByExternalIdsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextTypesByExternalIdsResponse): GetContextTypesByExternalIdsResponse.AsObject;
static serializeBinaryToWriter(message: GetContextTypesByExternalIdsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextTypesByExternalIdsResponse;
static deserializeBinaryFromReader(message: GetContextTypesByExternalIdsResponse, reader: jspb.BinaryReader): GetContextTypesByExternalIdsResponse;
}
export namespace GetContextTypesByExternalIdsResponse {
export type AsObject = {
contextTypesList: Array<ml_metadata_proto_metadata_store_pb.ContextType.AsObject>,
}
}
export class GetExecutionsByTypeRequest extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): GetExecutionsByTypeRequest;
getTypeVersion(): string;
setTypeVersion(value: string): GetExecutionsByTypeRequest;
getOptions(): ml_metadata_proto_metadata_store_pb.ListOperationOptions | undefined;
setOptions(value?: ml_metadata_proto_metadata_store_pb.ListOperationOptions): GetExecutionsByTypeRequest;
hasOptions(): boolean;
clearOptions(): GetExecutionsByTypeRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionsByTypeRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionsByTypeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsByTypeRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsByTypeRequest): GetExecutionsByTypeRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionsByTypeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsByTypeRequest;
static deserializeBinaryFromReader(message: GetExecutionsByTypeRequest, reader: jspb.BinaryReader): GetExecutionsByTypeRequest;
}
export namespace GetExecutionsByTypeRequest {
export type AsObject = {
typeName: string,
typeVersion: string,
options?: ml_metadata_proto_metadata_store_pb.ListOperationOptions.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionsByTypeResponse extends jspb.Message {
getExecutionsList(): Array<ml_metadata_proto_metadata_store_pb.Execution>;
setExecutionsList(value: Array<ml_metadata_proto_metadata_store_pb.Execution>): GetExecutionsByTypeResponse;
clearExecutionsList(): GetExecutionsByTypeResponse;
addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution;
getNextPageToken(): string;
setNextPageToken(value: string): GetExecutionsByTypeResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsByTypeResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsByTypeResponse): GetExecutionsByTypeResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionsByTypeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsByTypeResponse;
static deserializeBinaryFromReader(message: GetExecutionsByTypeResponse, reader: jspb.BinaryReader): GetExecutionsByTypeResponse;
}
export namespace GetExecutionsByTypeResponse {
export type AsObject = {
executionsList: Array<ml_metadata_proto_metadata_store_pb.Execution.AsObject>,
nextPageToken: string,
}
}
export class GetExecutionByTypeAndNameRequest extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): GetExecutionByTypeAndNameRequest;
getTypeVersion(): string;
setTypeVersion(value: string): GetExecutionByTypeAndNameRequest;
getExecutionName(): string;
setExecutionName(value: string): GetExecutionByTypeAndNameRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionByTypeAndNameRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionByTypeAndNameRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionByTypeAndNameRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionByTypeAndNameRequest): GetExecutionByTypeAndNameRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionByTypeAndNameRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionByTypeAndNameRequest;
static deserializeBinaryFromReader(message: GetExecutionByTypeAndNameRequest, reader: jspb.BinaryReader): GetExecutionByTypeAndNameRequest;
}
export namespace GetExecutionByTypeAndNameRequest {
export type AsObject = {
typeName: string,
typeVersion: string,
executionName: string,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionByTypeAndNameResponse extends jspb.Message {
getExecution(): ml_metadata_proto_metadata_store_pb.Execution | undefined;
setExecution(value?: ml_metadata_proto_metadata_store_pb.Execution): GetExecutionByTypeAndNameResponse;
hasExecution(): boolean;
clearExecution(): GetExecutionByTypeAndNameResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionByTypeAndNameResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionByTypeAndNameResponse): GetExecutionByTypeAndNameResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionByTypeAndNameResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionByTypeAndNameResponse;
static deserializeBinaryFromReader(message: GetExecutionByTypeAndNameResponse, reader: jspb.BinaryReader): GetExecutionByTypeAndNameResponse;
}
export namespace GetExecutionByTypeAndNameResponse {
export type AsObject = {
execution?: ml_metadata_proto_metadata_store_pb.Execution.AsObject,
}
}
export class GetExecutionsByIDRequest extends jspb.Message {
getExecutionIdsList(): Array<number>;
setExecutionIdsList(value: Array<number>): GetExecutionsByIDRequest;
clearExecutionIdsList(): GetExecutionsByIDRequest;
addExecutionIds(value: number, index?: number): GetExecutionsByIDRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionsByIDRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionsByIDRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsByIDRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsByIDRequest): GetExecutionsByIDRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionsByIDRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsByIDRequest;
static deserializeBinaryFromReader(message: GetExecutionsByIDRequest, reader: jspb.BinaryReader): GetExecutionsByIDRequest;
}
export namespace GetExecutionsByIDRequest {
export type AsObject = {
executionIdsList: Array<number>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionsByIDResponse extends jspb.Message {
getExecutionsList(): Array<ml_metadata_proto_metadata_store_pb.Execution>;
setExecutionsList(value: Array<ml_metadata_proto_metadata_store_pb.Execution>): GetExecutionsByIDResponse;
clearExecutionsList(): GetExecutionsByIDResponse;
addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsByIDResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsByIDResponse): GetExecutionsByIDResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionsByIDResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsByIDResponse;
static deserializeBinaryFromReader(message: GetExecutionsByIDResponse, reader: jspb.BinaryReader): GetExecutionsByIDResponse;
}
export namespace GetExecutionsByIDResponse {
export type AsObject = {
executionsList: Array<ml_metadata_proto_metadata_store_pb.Execution.AsObject>,
}
}
export class GetExecutionTypeRequest extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): GetExecutionTypeRequest;
getTypeVersion(): string;
setTypeVersion(value: string): GetExecutionTypeRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionTypeRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionTypeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionTypeRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionTypeRequest): GetExecutionTypeRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionTypeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionTypeRequest;
static deserializeBinaryFromReader(message: GetExecutionTypeRequest, reader: jspb.BinaryReader): GetExecutionTypeRequest;
}
export namespace GetExecutionTypeRequest {
export type AsObject = {
typeName: string,
typeVersion: string,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionTypeResponse extends jspb.Message {
getExecutionType(): ml_metadata_proto_metadata_store_pb.ExecutionType | undefined;
setExecutionType(value?: ml_metadata_proto_metadata_store_pb.ExecutionType): GetExecutionTypeResponse;
hasExecutionType(): boolean;
clearExecutionType(): GetExecutionTypeResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionTypeResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionTypeResponse): GetExecutionTypeResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionTypeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionTypeResponse;
static deserializeBinaryFromReader(message: GetExecutionTypeResponse, reader: jspb.BinaryReader): GetExecutionTypeResponse;
}
export namespace GetExecutionTypeResponse {
export type AsObject = {
executionType?: ml_metadata_proto_metadata_store_pb.ExecutionType.AsObject,
}
}
export class GetEventsByExecutionIDsRequest extends jspb.Message {
getExecutionIdsList(): Array<number>;
setExecutionIdsList(value: Array<number>): GetEventsByExecutionIDsRequest;
clearExecutionIdsList(): GetEventsByExecutionIDsRequest;
addExecutionIds(value: number, index?: number): GetEventsByExecutionIDsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetEventsByExecutionIDsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetEventsByExecutionIDsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetEventsByExecutionIDsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetEventsByExecutionIDsRequest): GetEventsByExecutionIDsRequest.AsObject;
static serializeBinaryToWriter(message: GetEventsByExecutionIDsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetEventsByExecutionIDsRequest;
static deserializeBinaryFromReader(message: GetEventsByExecutionIDsRequest, reader: jspb.BinaryReader): GetEventsByExecutionIDsRequest;
}
export namespace GetEventsByExecutionIDsRequest {
export type AsObject = {
executionIdsList: Array<number>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetEventsByExecutionIDsResponse extends jspb.Message {
getEventsList(): Array<ml_metadata_proto_metadata_store_pb.Event>;
setEventsList(value: Array<ml_metadata_proto_metadata_store_pb.Event>): GetEventsByExecutionIDsResponse;
clearEventsList(): GetEventsByExecutionIDsResponse;
addEvents(value?: ml_metadata_proto_metadata_store_pb.Event, index?: number): ml_metadata_proto_metadata_store_pb.Event;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetEventsByExecutionIDsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetEventsByExecutionIDsResponse): GetEventsByExecutionIDsResponse.AsObject;
static serializeBinaryToWriter(message: GetEventsByExecutionIDsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetEventsByExecutionIDsResponse;
static deserializeBinaryFromReader(message: GetEventsByExecutionIDsResponse, reader: jspb.BinaryReader): GetEventsByExecutionIDsResponse;
}
export namespace GetEventsByExecutionIDsResponse {
export type AsObject = {
eventsList: Array<ml_metadata_proto_metadata_store_pb.Event.AsObject>,
}
}
export class GetEventsByArtifactIDsRequest extends jspb.Message {
getArtifactIdsList(): Array<number>;
setArtifactIdsList(value: Array<number>): GetEventsByArtifactIDsRequest;
clearArtifactIdsList(): GetEventsByArtifactIDsRequest;
addArtifactIds(value: number, index?: number): GetEventsByArtifactIDsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetEventsByArtifactIDsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetEventsByArtifactIDsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetEventsByArtifactIDsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetEventsByArtifactIDsRequest): GetEventsByArtifactIDsRequest.AsObject;
static serializeBinaryToWriter(message: GetEventsByArtifactIDsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetEventsByArtifactIDsRequest;
static deserializeBinaryFromReader(message: GetEventsByArtifactIDsRequest, reader: jspb.BinaryReader): GetEventsByArtifactIDsRequest;
}
export namespace GetEventsByArtifactIDsRequest {
export type AsObject = {
artifactIdsList: Array<number>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetEventsByArtifactIDsResponse extends jspb.Message {
getEventsList(): Array<ml_metadata_proto_metadata_store_pb.Event>;
setEventsList(value: Array<ml_metadata_proto_metadata_store_pb.Event>): GetEventsByArtifactIDsResponse;
clearEventsList(): GetEventsByArtifactIDsResponse;
addEvents(value?: ml_metadata_proto_metadata_store_pb.Event, index?: number): ml_metadata_proto_metadata_store_pb.Event;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetEventsByArtifactIDsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetEventsByArtifactIDsResponse): GetEventsByArtifactIDsResponse.AsObject;
static serializeBinaryToWriter(message: GetEventsByArtifactIDsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetEventsByArtifactIDsResponse;
static deserializeBinaryFromReader(message: GetEventsByArtifactIDsResponse, reader: jspb.BinaryReader): GetEventsByArtifactIDsResponse;
}
export namespace GetEventsByArtifactIDsResponse {
export type AsObject = {
eventsList: Array<ml_metadata_proto_metadata_store_pb.Event.AsObject>,
}
}
export class GetArtifactTypesByIDRequest extends jspb.Message {
getTypeIdsList(): Array<number>;
setTypeIdsList(value: Array<number>): GetArtifactTypesByIDRequest;
clearTypeIdsList(): GetArtifactTypesByIDRequest;
addTypeIds(value: number, index?: number): GetArtifactTypesByIDRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactTypesByIDRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactTypesByIDRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactTypesByIDRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactTypesByIDRequest): GetArtifactTypesByIDRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactTypesByIDRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactTypesByIDRequest;
static deserializeBinaryFromReader(message: GetArtifactTypesByIDRequest, reader: jspb.BinaryReader): GetArtifactTypesByIDRequest;
}
export namespace GetArtifactTypesByIDRequest {
export type AsObject = {
typeIdsList: Array<number>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactTypesByIDResponse extends jspb.Message {
getArtifactTypesList(): Array<ml_metadata_proto_metadata_store_pb.ArtifactType>;
setArtifactTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ArtifactType>): GetArtifactTypesByIDResponse;
clearArtifactTypesList(): GetArtifactTypesByIDResponse;
addArtifactTypes(value?: ml_metadata_proto_metadata_store_pb.ArtifactType, index?: number): ml_metadata_proto_metadata_store_pb.ArtifactType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactTypesByIDResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactTypesByIDResponse): GetArtifactTypesByIDResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactTypesByIDResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactTypesByIDResponse;
static deserializeBinaryFromReader(message: GetArtifactTypesByIDResponse, reader: jspb.BinaryReader): GetArtifactTypesByIDResponse;
}
export namespace GetArtifactTypesByIDResponse {
export type AsObject = {
artifactTypesList: Array<ml_metadata_proto_metadata_store_pb.ArtifactType.AsObject>,
}
}
export class GetExecutionTypesByIDRequest extends jspb.Message {
getTypeIdsList(): Array<number>;
setTypeIdsList(value: Array<number>): GetExecutionTypesByIDRequest;
clearTypeIdsList(): GetExecutionTypesByIDRequest;
addTypeIds(value: number, index?: number): GetExecutionTypesByIDRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionTypesByIDRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionTypesByIDRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionTypesByIDRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionTypesByIDRequest): GetExecutionTypesByIDRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionTypesByIDRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionTypesByIDRequest;
static deserializeBinaryFromReader(message: GetExecutionTypesByIDRequest, reader: jspb.BinaryReader): GetExecutionTypesByIDRequest;
}
export namespace GetExecutionTypesByIDRequest {
export type AsObject = {
typeIdsList: Array<number>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionTypesByIDResponse extends jspb.Message {
getExecutionTypesList(): Array<ml_metadata_proto_metadata_store_pb.ExecutionType>;
setExecutionTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ExecutionType>): GetExecutionTypesByIDResponse;
clearExecutionTypesList(): GetExecutionTypesByIDResponse;
addExecutionTypes(value?: ml_metadata_proto_metadata_store_pb.ExecutionType, index?: number): ml_metadata_proto_metadata_store_pb.ExecutionType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionTypesByIDResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionTypesByIDResponse): GetExecutionTypesByIDResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionTypesByIDResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionTypesByIDResponse;
static deserializeBinaryFromReader(message: GetExecutionTypesByIDResponse, reader: jspb.BinaryReader): GetExecutionTypesByIDResponse;
}
export namespace GetExecutionTypesByIDResponse {
export type AsObject = {
executionTypesList: Array<ml_metadata_proto_metadata_store_pb.ExecutionType.AsObject>,
}
}
export class GetContextTypeRequest extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): GetContextTypeRequest;
getTypeVersion(): string;
setTypeVersion(value: string): GetContextTypeRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextTypeRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextTypeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextTypeRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextTypeRequest): GetContextTypeRequest.AsObject;
static serializeBinaryToWriter(message: GetContextTypeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextTypeRequest;
static deserializeBinaryFromReader(message: GetContextTypeRequest, reader: jspb.BinaryReader): GetContextTypeRequest;
}
export namespace GetContextTypeRequest {
export type AsObject = {
typeName: string,
typeVersion: string,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextTypeResponse extends jspb.Message {
getContextType(): ml_metadata_proto_metadata_store_pb.ContextType | undefined;
setContextType(value?: ml_metadata_proto_metadata_store_pb.ContextType): GetContextTypeResponse;
hasContextType(): boolean;
clearContextType(): GetContextTypeResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextTypeResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextTypeResponse): GetContextTypeResponse.AsObject;
static serializeBinaryToWriter(message: GetContextTypeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextTypeResponse;
static deserializeBinaryFromReader(message: GetContextTypeResponse, reader: jspb.BinaryReader): GetContextTypeResponse;
}
export namespace GetContextTypeResponse {
export type AsObject = {
contextType?: ml_metadata_proto_metadata_store_pb.ContextType.AsObject,
}
}
export class GetContextTypesByIDRequest extends jspb.Message {
getTypeIdsList(): Array<number>;
setTypeIdsList(value: Array<number>): GetContextTypesByIDRequest;
clearTypeIdsList(): GetContextTypesByIDRequest;
addTypeIds(value: number, index?: number): GetContextTypesByIDRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextTypesByIDRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextTypesByIDRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextTypesByIDRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextTypesByIDRequest): GetContextTypesByIDRequest.AsObject;
static serializeBinaryToWriter(message: GetContextTypesByIDRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextTypesByIDRequest;
static deserializeBinaryFromReader(message: GetContextTypesByIDRequest, reader: jspb.BinaryReader): GetContextTypesByIDRequest;
}
export namespace GetContextTypesByIDRequest {
export type AsObject = {
typeIdsList: Array<number>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextTypesByIDResponse extends jspb.Message {
getContextTypesList(): Array<ml_metadata_proto_metadata_store_pb.ContextType>;
setContextTypesList(value: Array<ml_metadata_proto_metadata_store_pb.ContextType>): GetContextTypesByIDResponse;
clearContextTypesList(): GetContextTypesByIDResponse;
addContextTypes(value?: ml_metadata_proto_metadata_store_pb.ContextType, index?: number): ml_metadata_proto_metadata_store_pb.ContextType;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextTypesByIDResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextTypesByIDResponse): GetContextTypesByIDResponse.AsObject;
static serializeBinaryToWriter(message: GetContextTypesByIDResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextTypesByIDResponse;
static deserializeBinaryFromReader(message: GetContextTypesByIDResponse, reader: jspb.BinaryReader): GetContextTypesByIDResponse;
}
export namespace GetContextTypesByIDResponse {
export type AsObject = {
contextTypesList: Array<ml_metadata_proto_metadata_store_pb.ContextType.AsObject>,
}
}
export class GetContextsRequest extends jspb.Message {
getOptions(): ml_metadata_proto_metadata_store_pb.ListOperationOptions | undefined;
setOptions(value?: ml_metadata_proto_metadata_store_pb.ListOperationOptions): GetContextsRequest;
hasOptions(): boolean;
clearOptions(): GetContextsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsRequest): GetContextsRequest.AsObject;
static serializeBinaryToWriter(message: GetContextsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsRequest;
static deserializeBinaryFromReader(message: GetContextsRequest, reader: jspb.BinaryReader): GetContextsRequest;
}
export namespace GetContextsRequest {
export type AsObject = {
options?: ml_metadata_proto_metadata_store_pb.ListOperationOptions.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextsResponse extends jspb.Message {
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): GetContextsResponse;
clearContextsList(): GetContextsResponse;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
getNextPageToken(): string;
setNextPageToken(value: string): GetContextsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsResponse): GetContextsResponse.AsObject;
static serializeBinaryToWriter(message: GetContextsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsResponse;
static deserializeBinaryFromReader(message: GetContextsResponse, reader: jspb.BinaryReader): GetContextsResponse;
}
export namespace GetContextsResponse {
export type AsObject = {
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
nextPageToken: string,
}
}
export class GetContextsByTypeRequest extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): GetContextsByTypeRequest;
getOptions(): ml_metadata_proto_metadata_store_pb.ListOperationOptions | undefined;
setOptions(value?: ml_metadata_proto_metadata_store_pb.ListOperationOptions): GetContextsByTypeRequest;
hasOptions(): boolean;
clearOptions(): GetContextsByTypeRequest;
getTypeVersion(): string;
setTypeVersion(value: string): GetContextsByTypeRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextsByTypeRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextsByTypeRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByTypeRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByTypeRequest): GetContextsByTypeRequest.AsObject;
static serializeBinaryToWriter(message: GetContextsByTypeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByTypeRequest;
static deserializeBinaryFromReader(message: GetContextsByTypeRequest, reader: jspb.BinaryReader): GetContextsByTypeRequest;
}
export namespace GetContextsByTypeRequest {
export type AsObject = {
typeName: string,
options?: ml_metadata_proto_metadata_store_pb.ListOperationOptions.AsObject,
typeVersion: string,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextsByTypeResponse extends jspb.Message {
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): GetContextsByTypeResponse;
clearContextsList(): GetContextsByTypeResponse;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
getNextPageToken(): string;
setNextPageToken(value: string): GetContextsByTypeResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByTypeResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByTypeResponse): GetContextsByTypeResponse.AsObject;
static serializeBinaryToWriter(message: GetContextsByTypeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByTypeResponse;
static deserializeBinaryFromReader(message: GetContextsByTypeResponse, reader: jspb.BinaryReader): GetContextsByTypeResponse;
}
export namespace GetContextsByTypeResponse {
export type AsObject = {
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
nextPageToken: string,
}
}
export class GetContextByTypeAndNameRequest extends jspb.Message {
getTypeName(): string;
setTypeName(value: string): GetContextByTypeAndNameRequest;
getTypeVersion(): string;
setTypeVersion(value: string): GetContextByTypeAndNameRequest;
getContextName(): string;
setContextName(value: string): GetContextByTypeAndNameRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextByTypeAndNameRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextByTypeAndNameRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextByTypeAndNameRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextByTypeAndNameRequest): GetContextByTypeAndNameRequest.AsObject;
static serializeBinaryToWriter(message: GetContextByTypeAndNameRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextByTypeAndNameRequest;
static deserializeBinaryFromReader(message: GetContextByTypeAndNameRequest, reader: jspb.BinaryReader): GetContextByTypeAndNameRequest;
}
export namespace GetContextByTypeAndNameRequest {
export type AsObject = {
typeName: string,
typeVersion: string,
contextName: string,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextByTypeAndNameResponse extends jspb.Message {
getContext(): ml_metadata_proto_metadata_store_pb.Context | undefined;
setContext(value?: ml_metadata_proto_metadata_store_pb.Context): GetContextByTypeAndNameResponse;
hasContext(): boolean;
clearContext(): GetContextByTypeAndNameResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextByTypeAndNameResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextByTypeAndNameResponse): GetContextByTypeAndNameResponse.AsObject;
static serializeBinaryToWriter(message: GetContextByTypeAndNameResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextByTypeAndNameResponse;
static deserializeBinaryFromReader(message: GetContextByTypeAndNameResponse, reader: jspb.BinaryReader): GetContextByTypeAndNameResponse;
}
export namespace GetContextByTypeAndNameResponse {
export type AsObject = {
context?: ml_metadata_proto_metadata_store_pb.Context.AsObject,
}
}
export class GetContextsByIDRequest extends jspb.Message {
getContextIdsList(): Array<number>;
setContextIdsList(value: Array<number>): GetContextsByIDRequest;
clearContextIdsList(): GetContextsByIDRequest;
addContextIds(value: number, index?: number): GetContextsByIDRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextsByIDRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextsByIDRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByIDRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByIDRequest): GetContextsByIDRequest.AsObject;
static serializeBinaryToWriter(message: GetContextsByIDRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByIDRequest;
static deserializeBinaryFromReader(message: GetContextsByIDRequest, reader: jspb.BinaryReader): GetContextsByIDRequest;
}
export namespace GetContextsByIDRequest {
export type AsObject = {
contextIdsList: Array<number>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextsByIDResponse extends jspb.Message {
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): GetContextsByIDResponse;
clearContextsList(): GetContextsByIDResponse;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByIDResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByIDResponse): GetContextsByIDResponse.AsObject;
static serializeBinaryToWriter(message: GetContextsByIDResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByIDResponse;
static deserializeBinaryFromReader(message: GetContextsByIDResponse, reader: jspb.BinaryReader): GetContextsByIDResponse;
}
export namespace GetContextsByIDResponse {
export type AsObject = {
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
}
}
export class GetContextsByArtifactRequest extends jspb.Message {
getArtifactId(): number;
setArtifactId(value: number): GetContextsByArtifactRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextsByArtifactRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextsByArtifactRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByArtifactRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByArtifactRequest): GetContextsByArtifactRequest.AsObject;
static serializeBinaryToWriter(message: GetContextsByArtifactRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByArtifactRequest;
static deserializeBinaryFromReader(message: GetContextsByArtifactRequest, reader: jspb.BinaryReader): GetContextsByArtifactRequest;
}
export namespace GetContextsByArtifactRequest {
export type AsObject = {
artifactId: number,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextsByArtifactResponse extends jspb.Message {
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): GetContextsByArtifactResponse;
clearContextsList(): GetContextsByArtifactResponse;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByArtifactResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByArtifactResponse): GetContextsByArtifactResponse.AsObject;
static serializeBinaryToWriter(message: GetContextsByArtifactResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByArtifactResponse;
static deserializeBinaryFromReader(message: GetContextsByArtifactResponse, reader: jspb.BinaryReader): GetContextsByArtifactResponse;
}
export namespace GetContextsByArtifactResponse {
export type AsObject = {
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
}
}
export class GetContextsByExecutionRequest extends jspb.Message {
getExecutionId(): number;
setExecutionId(value: number): GetContextsByExecutionRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextsByExecutionRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetContextsByExecutionRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByExecutionRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByExecutionRequest): GetContextsByExecutionRequest.AsObject;
static serializeBinaryToWriter(message: GetContextsByExecutionRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByExecutionRequest;
static deserializeBinaryFromReader(message: GetContextsByExecutionRequest, reader: jspb.BinaryReader): GetContextsByExecutionRequest;
}
export namespace GetContextsByExecutionRequest {
export type AsObject = {
executionId: number,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetContextsByExecutionResponse extends jspb.Message {
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): GetContextsByExecutionResponse;
clearContextsList(): GetContextsByExecutionResponse;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetContextsByExecutionResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetContextsByExecutionResponse): GetContextsByExecutionResponse.AsObject;
static serializeBinaryToWriter(message: GetContextsByExecutionResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetContextsByExecutionResponse;
static deserializeBinaryFromReader(message: GetContextsByExecutionResponse, reader: jspb.BinaryReader): GetContextsByExecutionResponse;
}
export namespace GetContextsByExecutionResponse {
export type AsObject = {
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
}
}
export class GetParentContextsByContextRequest extends jspb.Message {
getContextId(): number;
setContextId(value: number): GetParentContextsByContextRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetParentContextsByContextRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetParentContextsByContextRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetParentContextsByContextRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetParentContextsByContextRequest): GetParentContextsByContextRequest.AsObject;
static serializeBinaryToWriter(message: GetParentContextsByContextRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetParentContextsByContextRequest;
static deserializeBinaryFromReader(message: GetParentContextsByContextRequest, reader: jspb.BinaryReader): GetParentContextsByContextRequest;
}
export namespace GetParentContextsByContextRequest {
export type AsObject = {
contextId: number,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetParentContextsByContextResponse extends jspb.Message {
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): GetParentContextsByContextResponse;
clearContextsList(): GetParentContextsByContextResponse;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetParentContextsByContextResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetParentContextsByContextResponse): GetParentContextsByContextResponse.AsObject;
static serializeBinaryToWriter(message: GetParentContextsByContextResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetParentContextsByContextResponse;
static deserializeBinaryFromReader(message: GetParentContextsByContextResponse, reader: jspb.BinaryReader): GetParentContextsByContextResponse;
}
export namespace GetParentContextsByContextResponse {
export type AsObject = {
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
}
}
export class GetChildrenContextsByContextRequest extends jspb.Message {
getContextId(): number;
setContextId(value: number): GetChildrenContextsByContextRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetChildrenContextsByContextRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetChildrenContextsByContextRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetChildrenContextsByContextRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetChildrenContextsByContextRequest): GetChildrenContextsByContextRequest.AsObject;
static serializeBinaryToWriter(message: GetChildrenContextsByContextRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetChildrenContextsByContextRequest;
static deserializeBinaryFromReader(message: GetChildrenContextsByContextRequest, reader: jspb.BinaryReader): GetChildrenContextsByContextRequest;
}
export namespace GetChildrenContextsByContextRequest {
export type AsObject = {
contextId: number,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetChildrenContextsByContextResponse extends jspb.Message {
getContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): GetChildrenContextsByContextResponse;
clearContextsList(): GetChildrenContextsByContextResponse;
addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetChildrenContextsByContextResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetChildrenContextsByContextResponse): GetChildrenContextsByContextResponse.AsObject;
static serializeBinaryToWriter(message: GetChildrenContextsByContextResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetChildrenContextsByContextResponse;
static deserializeBinaryFromReader(message: GetChildrenContextsByContextResponse, reader: jspb.BinaryReader): GetChildrenContextsByContextResponse;
}
export namespace GetChildrenContextsByContextResponse {
export type AsObject = {
contextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
}
}
export class GetParentContextsByContextsRequest extends jspb.Message {
getContextIdsList(): Array<number>;
setContextIdsList(value: Array<number>): GetParentContextsByContextsRequest;
clearContextIdsList(): GetParentContextsByContextsRequest;
addContextIds(value: number, index?: number): GetParentContextsByContextsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetParentContextsByContextsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetParentContextsByContextsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetParentContextsByContextsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetParentContextsByContextsRequest): GetParentContextsByContextsRequest.AsObject;
static serializeBinaryToWriter(message: GetParentContextsByContextsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetParentContextsByContextsRequest;
static deserializeBinaryFromReader(message: GetParentContextsByContextsRequest, reader: jspb.BinaryReader): GetParentContextsByContextsRequest;
}
export namespace GetParentContextsByContextsRequest {
export type AsObject = {
contextIdsList: Array<number>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetParentContextsByContextsResponse extends jspb.Message {
getContextsMap(): jspb.Map<number, GetParentContextsByContextsResponse.ParentContextsPerChild>;
clearContextsMap(): GetParentContextsByContextsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetParentContextsByContextsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetParentContextsByContextsResponse): GetParentContextsByContextsResponse.AsObject;
static serializeBinaryToWriter(message: GetParentContextsByContextsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetParentContextsByContextsResponse;
static deserializeBinaryFromReader(message: GetParentContextsByContextsResponse, reader: jspb.BinaryReader): GetParentContextsByContextsResponse;
}
export namespace GetParentContextsByContextsResponse {
export type AsObject = {
contextsMap: Array<[number, GetParentContextsByContextsResponse.ParentContextsPerChild.AsObject]>,
}
export class ParentContextsPerChild extends jspb.Message {
getParentContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setParentContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): ParentContextsPerChild;
clearParentContextsList(): ParentContextsPerChild;
addParentContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ParentContextsPerChild.AsObject;
static toObject(includeInstance: boolean, msg: ParentContextsPerChild): ParentContextsPerChild.AsObject;
static serializeBinaryToWriter(message: ParentContextsPerChild, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ParentContextsPerChild;
static deserializeBinaryFromReader(message: ParentContextsPerChild, reader: jspb.BinaryReader): ParentContextsPerChild;
}
export namespace ParentContextsPerChild {
export type AsObject = {
parentContextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
}
}
}
export class GetChildrenContextsByContextsRequest extends jspb.Message {
getContextIdsList(): Array<number>;
setContextIdsList(value: Array<number>): GetChildrenContextsByContextsRequest;
clearContextIdsList(): GetChildrenContextsByContextsRequest;
addContextIds(value: number, index?: number): GetChildrenContextsByContextsRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetChildrenContextsByContextsRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetChildrenContextsByContextsRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetChildrenContextsByContextsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetChildrenContextsByContextsRequest): GetChildrenContextsByContextsRequest.AsObject;
static serializeBinaryToWriter(message: GetChildrenContextsByContextsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetChildrenContextsByContextsRequest;
static deserializeBinaryFromReader(message: GetChildrenContextsByContextsRequest, reader: jspb.BinaryReader): GetChildrenContextsByContextsRequest;
}
export namespace GetChildrenContextsByContextsRequest {
export type AsObject = {
contextIdsList: Array<number>,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetChildrenContextsByContextsResponse extends jspb.Message {
getContextsMap(): jspb.Map<number, GetChildrenContextsByContextsResponse.ChildrenContextsPerParent>;
clearContextsMap(): GetChildrenContextsByContextsResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetChildrenContextsByContextsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetChildrenContextsByContextsResponse): GetChildrenContextsByContextsResponse.AsObject;
static serializeBinaryToWriter(message: GetChildrenContextsByContextsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetChildrenContextsByContextsResponse;
static deserializeBinaryFromReader(message: GetChildrenContextsByContextsResponse, reader: jspb.BinaryReader): GetChildrenContextsByContextsResponse;
}
export namespace GetChildrenContextsByContextsResponse {
export type AsObject = {
contextsMap: Array<[number, GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.AsObject]>,
}
export class ChildrenContextsPerParent extends jspb.Message {
getChildrenContextsList(): Array<ml_metadata_proto_metadata_store_pb.Context>;
setChildrenContextsList(value: Array<ml_metadata_proto_metadata_store_pb.Context>): ChildrenContextsPerParent;
clearChildrenContextsList(): ChildrenContextsPerParent;
addChildrenContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ChildrenContextsPerParent.AsObject;
static toObject(includeInstance: boolean, msg: ChildrenContextsPerParent): ChildrenContextsPerParent.AsObject;
static serializeBinaryToWriter(message: ChildrenContextsPerParent, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ChildrenContextsPerParent;
static deserializeBinaryFromReader(message: ChildrenContextsPerParent, reader: jspb.BinaryReader): ChildrenContextsPerParent;
}
export namespace ChildrenContextsPerParent {
export type AsObject = {
childrenContextsList: Array<ml_metadata_proto_metadata_store_pb.Context.AsObject>,
}
}
}
export class GetArtifactsByContextRequest extends jspb.Message {
getContextId(): number;
setContextId(value: number): GetArtifactsByContextRequest;
getOptions(): ml_metadata_proto_metadata_store_pb.ListOperationOptions | undefined;
setOptions(value?: ml_metadata_proto_metadata_store_pb.ListOperationOptions): GetArtifactsByContextRequest;
hasOptions(): boolean;
clearOptions(): GetArtifactsByContextRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactsByContextRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetArtifactsByContextRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByContextRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByContextRequest): GetArtifactsByContextRequest.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByContextRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByContextRequest;
static deserializeBinaryFromReader(message: GetArtifactsByContextRequest, reader: jspb.BinaryReader): GetArtifactsByContextRequest;
}
export namespace GetArtifactsByContextRequest {
export type AsObject = {
contextId: number,
options?: ml_metadata_proto_metadata_store_pb.ListOperationOptions.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetArtifactsByContextResponse extends jspb.Message {
getArtifactsList(): Array<ml_metadata_proto_metadata_store_pb.Artifact>;
setArtifactsList(value: Array<ml_metadata_proto_metadata_store_pb.Artifact>): GetArtifactsByContextResponse;
clearArtifactsList(): GetArtifactsByContextResponse;
addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact;
getNextPageToken(): string;
setNextPageToken(value: string): GetArtifactsByContextResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetArtifactsByContextResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetArtifactsByContextResponse): GetArtifactsByContextResponse.AsObject;
static serializeBinaryToWriter(message: GetArtifactsByContextResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetArtifactsByContextResponse;
static deserializeBinaryFromReader(message: GetArtifactsByContextResponse, reader: jspb.BinaryReader): GetArtifactsByContextResponse;
}
export namespace GetArtifactsByContextResponse {
export type AsObject = {
artifactsList: Array<ml_metadata_proto_metadata_store_pb.Artifact.AsObject>,
nextPageToken: string,
}
}
export class GetExecutionsByContextRequest extends jspb.Message {
getContextId(): number;
setContextId(value: number): GetExecutionsByContextRequest;
getOptions(): ml_metadata_proto_metadata_store_pb.ListOperationOptions | undefined;
setOptions(value?: ml_metadata_proto_metadata_store_pb.ListOperationOptions): GetExecutionsByContextRequest;
hasOptions(): boolean;
clearOptions(): GetExecutionsByContextRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionsByContextRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionsByContextRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsByContextRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsByContextRequest): GetExecutionsByContextRequest.AsObject;
static serializeBinaryToWriter(message: GetExecutionsByContextRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsByContextRequest;
static deserializeBinaryFromReader(message: GetExecutionsByContextRequest, reader: jspb.BinaryReader): GetExecutionsByContextRequest;
}
export namespace GetExecutionsByContextRequest {
export type AsObject = {
contextId: number,
options?: ml_metadata_proto_metadata_store_pb.ListOperationOptions.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetExecutionsByContextResponse extends jspb.Message {
getExecutionsList(): Array<ml_metadata_proto_metadata_store_pb.Execution>;
setExecutionsList(value: Array<ml_metadata_proto_metadata_store_pb.Execution>): GetExecutionsByContextResponse;
clearExecutionsList(): GetExecutionsByContextResponse;
addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution;
getNextPageToken(): string;
setNextPageToken(value: string): GetExecutionsByContextResponse;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionsByContextResponse;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetExecutionsByContextResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetExecutionsByContextResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetExecutionsByContextResponse): GetExecutionsByContextResponse.AsObject;
static serializeBinaryToWriter(message: GetExecutionsByContextResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetExecutionsByContextResponse;
static deserializeBinaryFromReader(message: GetExecutionsByContextResponse, reader: jspb.BinaryReader): GetExecutionsByContextResponse;
}
export namespace GetExecutionsByContextResponse {
export type AsObject = {
executionsList: Array<ml_metadata_proto_metadata_store_pb.Execution.AsObject>,
nextPageToken: string,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetLineageGraphRequest extends jspb.Message {
getOptions(): ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions | undefined;
setOptions(value?: ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions): GetLineageGraphRequest;
hasOptions(): boolean;
clearOptions(): GetLineageGraphRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetLineageGraphRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetLineageGraphRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetLineageGraphRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetLineageGraphRequest): GetLineageGraphRequest.AsObject;
static serializeBinaryToWriter(message: GetLineageGraphRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetLineageGraphRequest;
static deserializeBinaryFromReader(message: GetLineageGraphRequest, reader: jspb.BinaryReader): GetLineageGraphRequest;
}
export namespace GetLineageGraphRequest {
export type AsObject = {
options?: ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetLineageGraphResponse extends jspb.Message {
getSubgraph(): ml_metadata_proto_metadata_store_pb.LineageGraph | undefined;
setSubgraph(value?: ml_metadata_proto_metadata_store_pb.LineageGraph): GetLineageGraphResponse;
hasSubgraph(): boolean;
clearSubgraph(): GetLineageGraphResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetLineageGraphResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetLineageGraphResponse): GetLineageGraphResponse.AsObject;
static serializeBinaryToWriter(message: GetLineageGraphResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetLineageGraphResponse;
static deserializeBinaryFromReader(message: GetLineageGraphResponse, reader: jspb.BinaryReader): GetLineageGraphResponse;
}
export namespace GetLineageGraphResponse {
export type AsObject = {
subgraph?: ml_metadata_proto_metadata_store_pb.LineageGraph.AsObject,
}
}
export class GetLineageSubgraphRequest extends jspb.Message {
getLineageSubgraphQueryOptions(): ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions | undefined;
setLineageSubgraphQueryOptions(value?: ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions): GetLineageSubgraphRequest;
hasLineageSubgraphQueryOptions(): boolean;
clearLineageSubgraphQueryOptions(): GetLineageSubgraphRequest;
getReadMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
setReadMask(value?: google_protobuf_field_mask_pb.FieldMask): GetLineageSubgraphRequest;
hasReadMask(): boolean;
clearReadMask(): GetLineageSubgraphRequest;
getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined;
setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetLineageSubgraphRequest;
hasTransactionOptions(): boolean;
clearTransactionOptions(): GetLineageSubgraphRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetLineageSubgraphRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetLineageSubgraphRequest): GetLineageSubgraphRequest.AsObject;
static serializeBinaryToWriter(message: GetLineageSubgraphRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetLineageSubgraphRequest;
static deserializeBinaryFromReader(message: GetLineageSubgraphRequest, reader: jspb.BinaryReader): GetLineageSubgraphRequest;
}
export namespace GetLineageSubgraphRequest {
export type AsObject = {
lineageSubgraphQueryOptions?: ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions.AsObject,
readMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject,
}
}
export class GetLineageSubgraphResponse extends jspb.Message {
getLineageSubgraph(): ml_metadata_proto_metadata_store_pb.LineageGraph | undefined;
setLineageSubgraph(value?: ml_metadata_proto_metadata_store_pb.LineageGraph): GetLineageSubgraphResponse;
hasLineageSubgraph(): boolean;
clearLineageSubgraph(): GetLineageSubgraphResponse;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetLineageSubgraphResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetLineageSubgraphResponse): GetLineageSubgraphResponse.AsObject;
static serializeBinaryToWriter(message: GetLineageSubgraphResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetLineageSubgraphResponse;
static deserializeBinaryFromReader(message: GetLineageSubgraphResponse, reader: jspb.BinaryReader): GetLineageSubgraphResponse;
}
export namespace GetLineageSubgraphResponse {
export type AsObject = {
lineageSubgraph?: ml_metadata_proto_metadata_store_pb.LineageGraph.AsObject,
}
}
| 367 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec/kubernetes_platform/kubernetes_executor_config_pb.js | // source: kubernetes_executor_config.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return this')();
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
goog.object.extend(proto, google_protobuf_struct_pb);
goog.exportSymbol('proto.kfp_kubernetes.CreatePvc', null, global);
goog.exportSymbol('proto.kfp_kubernetes.CreatePvc.NameCase', null, global);
goog.exportSymbol('proto.kfp_kubernetes.DeletePvc', null, global);
goog.exportSymbol('proto.kfp_kubernetes.DeletePvc.PvcReferenceCase', null, global);
goog.exportSymbol('proto.kfp_kubernetes.KubernetesExecutorConfig', null, global);
goog.exportSymbol('proto.kfp_kubernetes.NodeSelector', null, global);
goog.exportSymbol('proto.kfp_kubernetes.PvcMount', null, global);
goog.exportSymbol('proto.kfp_kubernetes.PvcMount.PvcReferenceCase', null, global);
goog.exportSymbol('proto.kfp_kubernetes.SecretAsEnv', null, global);
goog.exportSymbol('proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap', null, global);
goog.exportSymbol('proto.kfp_kubernetes.SecretAsVolume', null, global);
goog.exportSymbol('proto.kfp_kubernetes.TaskOutputParameterSpec', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.kfp_kubernetes.KubernetesExecutorConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.kfp_kubernetes.KubernetesExecutorConfig.repeatedFields_, null);
};
goog.inherits(proto.kfp_kubernetes.KubernetesExecutorConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.displayName = 'proto.kfp_kubernetes.KubernetesExecutorConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.kfp_kubernetes.SecretAsVolume = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.kfp_kubernetes.SecretAsVolume, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.kfp_kubernetes.SecretAsVolume.displayName = 'proto.kfp_kubernetes.SecretAsVolume';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.kfp_kubernetes.SecretAsEnv = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.kfp_kubernetes.SecretAsEnv.repeatedFields_, null);
};
goog.inherits(proto.kfp_kubernetes.SecretAsEnv, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.kfp_kubernetes.SecretAsEnv.displayName = 'proto.kfp_kubernetes.SecretAsEnv';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.displayName = 'proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.kfp_kubernetes.TaskOutputParameterSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.kfp_kubernetes.TaskOutputParameterSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.displayName = 'proto.kfp_kubernetes.TaskOutputParameterSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.kfp_kubernetes.PvcMount = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.kfp_kubernetes.PvcMount.oneofGroups_);
};
goog.inherits(proto.kfp_kubernetes.PvcMount, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.kfp_kubernetes.PvcMount.displayName = 'proto.kfp_kubernetes.PvcMount';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.kfp_kubernetes.CreatePvc = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.kfp_kubernetes.CreatePvc.repeatedFields_, proto.kfp_kubernetes.CreatePvc.oneofGroups_);
};
goog.inherits(proto.kfp_kubernetes.CreatePvc, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.kfp_kubernetes.CreatePvc.displayName = 'proto.kfp_kubernetes.CreatePvc';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.kfp_kubernetes.DeletePvc = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.kfp_kubernetes.DeletePvc.oneofGroups_);
};
goog.inherits(proto.kfp_kubernetes.DeletePvc, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.kfp_kubernetes.DeletePvc.displayName = 'proto.kfp_kubernetes.DeletePvc';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.kfp_kubernetes.NodeSelector = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.kfp_kubernetes.NodeSelector, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.kfp_kubernetes.NodeSelector.displayName = 'proto.kfp_kubernetes.NodeSelector';
}
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.repeatedFields_ = [1,2,3];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.toObject = function(opt_includeInstance) {
return proto.kfp_kubernetes.KubernetesExecutorConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.kfp_kubernetes.KubernetesExecutorConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.toObject = function(includeInstance, msg) {
var f, obj = {
secretAsVolumeList: jspb.Message.toObjectList(msg.getSecretAsVolumeList(),
proto.kfp_kubernetes.SecretAsVolume.toObject, includeInstance),
secretAsEnvList: jspb.Message.toObjectList(msg.getSecretAsEnvList(),
proto.kfp_kubernetes.SecretAsEnv.toObject, includeInstance),
pvcMountList: jspb.Message.toObjectList(msg.getPvcMountList(),
proto.kfp_kubernetes.PvcMount.toObject, includeInstance),
nodeSelector: (f = msg.getNodeSelector()) && proto.kfp_kubernetes.NodeSelector.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.kfp_kubernetes.KubernetesExecutorConfig;
return proto.kfp_kubernetes.KubernetesExecutorConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.kfp_kubernetes.KubernetesExecutorConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.kfp_kubernetes.SecretAsVolume;
reader.readMessage(value,proto.kfp_kubernetes.SecretAsVolume.deserializeBinaryFromReader);
msg.addSecretAsVolume(value);
break;
case 2:
var value = new proto.kfp_kubernetes.SecretAsEnv;
reader.readMessage(value,proto.kfp_kubernetes.SecretAsEnv.deserializeBinaryFromReader);
msg.addSecretAsEnv(value);
break;
case 3:
var value = new proto.kfp_kubernetes.PvcMount;
reader.readMessage(value,proto.kfp_kubernetes.PvcMount.deserializeBinaryFromReader);
msg.addPvcMount(value);
break;
case 4:
var value = new proto.kfp_kubernetes.NodeSelector;
reader.readMessage(value,proto.kfp_kubernetes.NodeSelector.deserializeBinaryFromReader);
msg.setNodeSelector(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.kfp_kubernetes.KubernetesExecutorConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.kfp_kubernetes.KubernetesExecutorConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getSecretAsVolumeList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.kfp_kubernetes.SecretAsVolume.serializeBinaryToWriter
);
}
f = message.getSecretAsEnvList();
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
proto.kfp_kubernetes.SecretAsEnv.serializeBinaryToWriter
);
}
f = message.getPvcMountList();
if (f.length > 0) {
writer.writeRepeatedMessage(
3,
f,
proto.kfp_kubernetes.PvcMount.serializeBinaryToWriter
);
}
f = message.getNodeSelector();
if (f != null) {
writer.writeMessage(
4,
f,
proto.kfp_kubernetes.NodeSelector.serializeBinaryToWriter
);
}
};
/**
* repeated SecretAsVolume secret_as_volume = 1;
* @return {!Array<!proto.kfp_kubernetes.SecretAsVolume>}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.getSecretAsVolumeList = function() {
return /** @type{!Array<!proto.kfp_kubernetes.SecretAsVolume>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.kfp_kubernetes.SecretAsVolume, 1));
};
/**
* @param {!Array<!proto.kfp_kubernetes.SecretAsVolume>} value
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.setSecretAsVolumeList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.kfp_kubernetes.SecretAsVolume=} opt_value
* @param {number=} opt_index
* @return {!proto.kfp_kubernetes.SecretAsVolume}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.addSecretAsVolume = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.kfp_kubernetes.SecretAsVolume, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.clearSecretAsVolumeList = function() {
return this.setSecretAsVolumeList([]);
};
/**
* repeated SecretAsEnv secret_as_env = 2;
* @return {!Array<!proto.kfp_kubernetes.SecretAsEnv>}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.getSecretAsEnvList = function() {
return /** @type{!Array<!proto.kfp_kubernetes.SecretAsEnv>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.kfp_kubernetes.SecretAsEnv, 2));
};
/**
* @param {!Array<!proto.kfp_kubernetes.SecretAsEnv>} value
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.setSecretAsEnvList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
/**
* @param {!proto.kfp_kubernetes.SecretAsEnv=} opt_value
* @param {number=} opt_index
* @return {!proto.kfp_kubernetes.SecretAsEnv}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.addSecretAsEnv = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.kfp_kubernetes.SecretAsEnv, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.clearSecretAsEnvList = function() {
return this.setSecretAsEnvList([]);
};
/**
* repeated PvcMount pvc_mount = 3;
* @return {!Array<!proto.kfp_kubernetes.PvcMount>}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.getPvcMountList = function() {
return /** @type{!Array<!proto.kfp_kubernetes.PvcMount>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.kfp_kubernetes.PvcMount, 3));
};
/**
* @param {!Array<!proto.kfp_kubernetes.PvcMount>} value
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.setPvcMountList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 3, value);
};
/**
* @param {!proto.kfp_kubernetes.PvcMount=} opt_value
* @param {number=} opt_index
* @return {!proto.kfp_kubernetes.PvcMount}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.addPvcMount = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.kfp_kubernetes.PvcMount, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.clearPvcMountList = function() {
return this.setPvcMountList([]);
};
/**
* optional NodeSelector node_selector = 4;
* @return {?proto.kfp_kubernetes.NodeSelector}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.getNodeSelector = function() {
return /** @type{?proto.kfp_kubernetes.NodeSelector} */ (
jspb.Message.getWrapperField(this, proto.kfp_kubernetes.NodeSelector, 4));
};
/**
* @param {?proto.kfp_kubernetes.NodeSelector|undefined} value
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.setNodeSelector = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.clearNodeSelector = function() {
return this.setNodeSelector(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.hasNodeSelector = function() {
return jspb.Message.getField(this, 4) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.kfp_kubernetes.SecretAsVolume.prototype.toObject = function(opt_includeInstance) {
return proto.kfp_kubernetes.SecretAsVolume.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.kfp_kubernetes.SecretAsVolume} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.SecretAsVolume.toObject = function(includeInstance, msg) {
var f, obj = {
secretName: jspb.Message.getFieldWithDefault(msg, 1, ""),
mountPath: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.kfp_kubernetes.SecretAsVolume}
*/
proto.kfp_kubernetes.SecretAsVolume.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.kfp_kubernetes.SecretAsVolume;
return proto.kfp_kubernetes.SecretAsVolume.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.kfp_kubernetes.SecretAsVolume} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.kfp_kubernetes.SecretAsVolume}
*/
proto.kfp_kubernetes.SecretAsVolume.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setSecretName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setMountPath(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.kfp_kubernetes.SecretAsVolume.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.kfp_kubernetes.SecretAsVolume.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.kfp_kubernetes.SecretAsVolume} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.SecretAsVolume.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getSecretName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getMountPath();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string secret_name = 1;
* @return {string}
*/
proto.kfp_kubernetes.SecretAsVolume.prototype.getSecretName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.SecretAsVolume} returns this
*/
proto.kfp_kubernetes.SecretAsVolume.prototype.setSecretName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string mount_path = 2;
* @return {string}
*/
proto.kfp_kubernetes.SecretAsVolume.prototype.getMountPath = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.SecretAsVolume} returns this
*/
proto.kfp_kubernetes.SecretAsVolume.prototype.setMountPath = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.kfp_kubernetes.SecretAsEnv.repeatedFields_ = [2];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.kfp_kubernetes.SecretAsEnv.prototype.toObject = function(opt_includeInstance) {
return proto.kfp_kubernetes.SecretAsEnv.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.kfp_kubernetes.SecretAsEnv} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.SecretAsEnv.toObject = function(includeInstance, msg) {
var f, obj = {
secretName: jspb.Message.getFieldWithDefault(msg, 1, ""),
keyToEnvList: jspb.Message.toObjectList(msg.getKeyToEnvList(),
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.kfp_kubernetes.SecretAsEnv}
*/
proto.kfp_kubernetes.SecretAsEnv.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.kfp_kubernetes.SecretAsEnv;
return proto.kfp_kubernetes.SecretAsEnv.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.kfp_kubernetes.SecretAsEnv} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.kfp_kubernetes.SecretAsEnv}
*/
proto.kfp_kubernetes.SecretAsEnv.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setSecretName(value);
break;
case 2:
var value = new proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap;
reader.readMessage(value,proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.deserializeBinaryFromReader);
msg.addKeyToEnv(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.kfp_kubernetes.SecretAsEnv.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.kfp_kubernetes.SecretAsEnv.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.kfp_kubernetes.SecretAsEnv} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.SecretAsEnv.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getSecretName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getKeyToEnvList();
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.toObject = function(opt_includeInstance) {
return proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.toObject = function(includeInstance, msg) {
var f, obj = {
secretKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
envVar: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap}
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap;
return proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap}
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setSecretKey(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setEnvVar(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getSecretKey();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getEnvVar();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string secret_key = 1;
* @return {string}
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.getSecretKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} returns this
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.setSecretKey = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string env_var = 2;
* @return {string}
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.getEnvVar = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} returns this
*/
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.setEnvVar = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string secret_name = 1;
* @return {string}
*/
proto.kfp_kubernetes.SecretAsEnv.prototype.getSecretName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.SecretAsEnv} returns this
*/
proto.kfp_kubernetes.SecretAsEnv.prototype.setSecretName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* repeated SecretKeyToEnvMap key_to_env = 2;
* @return {!Array<!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap>}
*/
proto.kfp_kubernetes.SecretAsEnv.prototype.getKeyToEnvList = function() {
return /** @type{!Array<!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap, 2));
};
/**
* @param {!Array<!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap>} value
* @return {!proto.kfp_kubernetes.SecretAsEnv} returns this
*/
proto.kfp_kubernetes.SecretAsEnv.prototype.setKeyToEnvList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
/**
* @param {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap=} opt_value
* @param {number=} opt_index
* @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap}
*/
proto.kfp_kubernetes.SecretAsEnv.prototype.addKeyToEnv = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.kfp_kubernetes.SecretAsEnv} returns this
*/
proto.kfp_kubernetes.SecretAsEnv.prototype.clearKeyToEnvList = function() {
return this.setKeyToEnvList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.toObject = function(opt_includeInstance) {
return proto.kfp_kubernetes.TaskOutputParameterSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.kfp_kubernetes.TaskOutputParameterSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.toObject = function(includeInstance, msg) {
var f, obj = {
producerTask: jspb.Message.getFieldWithDefault(msg, 1, ""),
outputParameterKey: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.kfp_kubernetes.TaskOutputParameterSpec}
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.kfp_kubernetes.TaskOutputParameterSpec;
return proto.kfp_kubernetes.TaskOutputParameterSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.kfp_kubernetes.TaskOutputParameterSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.kfp_kubernetes.TaskOutputParameterSpec}
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setProducerTask(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setOutputParameterKey(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.kfp_kubernetes.TaskOutputParameterSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.kfp_kubernetes.TaskOutputParameterSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getProducerTask();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getOutputParameterKey();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string producer_task = 1;
* @return {string}
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.getProducerTask = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.TaskOutputParameterSpec} returns this
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.setProducerTask = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string output_parameter_key = 2;
* @return {string}
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.getOutputParameterKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.TaskOutputParameterSpec} returns this
*/
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.setOutputParameterKey = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.kfp_kubernetes.PvcMount.oneofGroups_ = [[1,2,3]];
/**
* @enum {number}
*/
proto.kfp_kubernetes.PvcMount.PvcReferenceCase = {
PVC_REFERENCE_NOT_SET: 0,
TASK_OUTPUT_PARAMETER: 1,
CONSTANT: 2,
COMPONENT_INPUT_PARAMETER: 3
};
/**
* @return {proto.kfp_kubernetes.PvcMount.PvcReferenceCase}
*/
proto.kfp_kubernetes.PvcMount.prototype.getPvcReferenceCase = function() {
return /** @type {proto.kfp_kubernetes.PvcMount.PvcReferenceCase} */(jspb.Message.computeOneofCase(this, proto.kfp_kubernetes.PvcMount.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.kfp_kubernetes.PvcMount.prototype.toObject = function(opt_includeInstance) {
return proto.kfp_kubernetes.PvcMount.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.kfp_kubernetes.PvcMount} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.PvcMount.toObject = function(includeInstance, msg) {
var f, obj = {
taskOutputParameter: (f = msg.getTaskOutputParameter()) && proto.kfp_kubernetes.TaskOutputParameterSpec.toObject(includeInstance, f),
constant: jspb.Message.getFieldWithDefault(msg, 2, ""),
componentInputParameter: jspb.Message.getFieldWithDefault(msg, 3, ""),
mountPath: jspb.Message.getFieldWithDefault(msg, 4, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.kfp_kubernetes.PvcMount}
*/
proto.kfp_kubernetes.PvcMount.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.kfp_kubernetes.PvcMount;
return proto.kfp_kubernetes.PvcMount.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.kfp_kubernetes.PvcMount} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.kfp_kubernetes.PvcMount}
*/
proto.kfp_kubernetes.PvcMount.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.kfp_kubernetes.TaskOutputParameterSpec;
reader.readMessage(value,proto.kfp_kubernetes.TaskOutputParameterSpec.deserializeBinaryFromReader);
msg.setTaskOutputParameter(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setConstant(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setComponentInputParameter(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setMountPath(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.kfp_kubernetes.PvcMount.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.kfp_kubernetes.PvcMount.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.kfp_kubernetes.PvcMount} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.PvcMount.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTaskOutputParameter();
if (f != null) {
writer.writeMessage(
1,
f,
proto.kfp_kubernetes.TaskOutputParameterSpec.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = message.getMountPath();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
};
/**
* optional TaskOutputParameterSpec task_output_parameter = 1;
* @return {?proto.kfp_kubernetes.TaskOutputParameterSpec}
*/
proto.kfp_kubernetes.PvcMount.prototype.getTaskOutputParameter = function() {
return /** @type{?proto.kfp_kubernetes.TaskOutputParameterSpec} */ (
jspb.Message.getWrapperField(this, proto.kfp_kubernetes.TaskOutputParameterSpec, 1));
};
/**
* @param {?proto.kfp_kubernetes.TaskOutputParameterSpec|undefined} value
* @return {!proto.kfp_kubernetes.PvcMount} returns this
*/
proto.kfp_kubernetes.PvcMount.prototype.setTaskOutputParameter = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.kfp_kubernetes.PvcMount} returns this
*/
proto.kfp_kubernetes.PvcMount.prototype.clearTaskOutputParameter = function() {
return this.setTaskOutputParameter(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.PvcMount.prototype.hasTaskOutputParameter = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string constant = 2;
* @return {string}
*/
proto.kfp_kubernetes.PvcMount.prototype.getConstant = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.PvcMount} returns this
*/
proto.kfp_kubernetes.PvcMount.prototype.setConstant = function(value) {
return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.kfp_kubernetes.PvcMount} returns this
*/
proto.kfp_kubernetes.PvcMount.prototype.clearConstant = function() {
return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.PvcMount.prototype.hasConstant = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string component_input_parameter = 3;
* @return {string}
*/
proto.kfp_kubernetes.PvcMount.prototype.getComponentInputParameter = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.PvcMount} returns this
*/
proto.kfp_kubernetes.PvcMount.prototype.setComponentInputParameter = function(value) {
return jspb.Message.setOneofField(this, 3, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.kfp_kubernetes.PvcMount} returns this
*/
proto.kfp_kubernetes.PvcMount.prototype.clearComponentInputParameter = function() {
return jspb.Message.setOneofField(this, 3, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.PvcMount.prototype.hasComponentInputParameter = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string mount_path = 4;
* @return {string}
*/
proto.kfp_kubernetes.PvcMount.prototype.getMountPath = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.PvcMount} returns this
*/
proto.kfp_kubernetes.PvcMount.prototype.setMountPath = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.kfp_kubernetes.CreatePvc.repeatedFields_ = [3];
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.kfp_kubernetes.CreatePvc.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
proto.kfp_kubernetes.CreatePvc.NameCase = {
NAME_NOT_SET: 0,
PVC_NAME: 1,
PVC_NAME_SUFFIX: 2
};
/**
* @return {proto.kfp_kubernetes.CreatePvc.NameCase}
*/
proto.kfp_kubernetes.CreatePvc.prototype.getNameCase = function() {
return /** @type {proto.kfp_kubernetes.CreatePvc.NameCase} */(jspb.Message.computeOneofCase(this, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.kfp_kubernetes.CreatePvc.prototype.toObject = function(opt_includeInstance) {
return proto.kfp_kubernetes.CreatePvc.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.kfp_kubernetes.CreatePvc} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.CreatePvc.toObject = function(includeInstance, msg) {
var f, obj = {
pvcName: jspb.Message.getFieldWithDefault(msg, 1, ""),
pvcNameSuffix: jspb.Message.getFieldWithDefault(msg, 2, ""),
accessModesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
size: jspb.Message.getFieldWithDefault(msg, 4, ""),
defaultStorageClass: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
storageClassName: jspb.Message.getFieldWithDefault(msg, 6, ""),
volumeName: jspb.Message.getFieldWithDefault(msg, 7, ""),
annotations: (f = msg.getAnnotations()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.kfp_kubernetes.CreatePvc}
*/
proto.kfp_kubernetes.CreatePvc.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.kfp_kubernetes.CreatePvc;
return proto.kfp_kubernetes.CreatePvc.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.kfp_kubernetes.CreatePvc} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.kfp_kubernetes.CreatePvc}
*/
proto.kfp_kubernetes.CreatePvc.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setPvcName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setPvcNameSuffix(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.addAccessModes(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setSize(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setDefaultStorageClass(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setStorageClassName(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setVolumeName(value);
break;
case 8:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setAnnotations(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.kfp_kubernetes.CreatePvc.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.kfp_kubernetes.CreatePvc.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.kfp_kubernetes.CreatePvc} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.CreatePvc.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getAccessModesList();
if (f.length > 0) {
writer.writeRepeatedString(
3,
f
);
}
f = message.getSize();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
f = message.getDefaultStorageClass();
if (f) {
writer.writeBool(
5,
f
);
}
f = message.getStorageClassName();
if (f.length > 0) {
writer.writeString(
6,
f
);
}
f = message.getVolumeName();
if (f.length > 0) {
writer.writeString(
7,
f
);
}
f = message.getAnnotations();
if (f != null) {
writer.writeMessage(
8,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
};
/**
* optional string pvc_name = 1;
* @return {string}
*/
proto.kfp_kubernetes.CreatePvc.prototype.getPvcName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.setPvcName = function(value) {
return jspb.Message.setOneofField(this, 1, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.clearPvcName = function() {
return jspb.Message.setOneofField(this, 1, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.CreatePvc.prototype.hasPvcName = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string pvc_name_suffix = 2;
* @return {string}
*/
proto.kfp_kubernetes.CreatePvc.prototype.getPvcNameSuffix = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.setPvcNameSuffix = function(value) {
return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.clearPvcNameSuffix = function() {
return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.CreatePvc.prototype.hasPvcNameSuffix = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* repeated string access_modes = 3;
* @return {!Array<string>}
*/
proto.kfp_kubernetes.CreatePvc.prototype.getAccessModesList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
};
/**
* @param {!Array<string>} value
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.setAccessModesList = function(value) {
return jspb.Message.setField(this, 3, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.addAccessModes = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.clearAccessModesList = function() {
return this.setAccessModesList([]);
};
/**
* optional string size = 4;
* @return {string}
*/
proto.kfp_kubernetes.CreatePvc.prototype.getSize = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.setSize = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional bool default_storage_class = 5;
* @return {boolean}
*/
proto.kfp_kubernetes.CreatePvc.prototype.getDefaultStorageClass = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};
/**
* @param {boolean} value
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.setDefaultStorageClass = function(value) {
return jspb.Message.setProto3BooleanField(this, 5, value);
};
/**
* optional string storage_class_name = 6;
* @return {string}
*/
proto.kfp_kubernetes.CreatePvc.prototype.getStorageClassName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.setStorageClassName = function(value) {
return jspb.Message.setProto3StringField(this, 6, value);
};
/**
* optional string volume_name = 7;
* @return {string}
*/
proto.kfp_kubernetes.CreatePvc.prototype.getVolumeName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.setVolumeName = function(value) {
return jspb.Message.setProto3StringField(this, 7, value);
};
/**
* optional google.protobuf.Struct annotations = 8;
* @return {?proto.google.protobuf.Struct}
*/
proto.kfp_kubernetes.CreatePvc.prototype.getAnnotations = function() {
return /** @type{?proto.google.protobuf.Struct} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 8));
};
/**
* @param {?proto.google.protobuf.Struct|undefined} value
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.setAnnotations = function(value) {
return jspb.Message.setWrapperField(this, 8, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.clearAnnotations = function() {
return this.setAnnotations(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.CreatePvc.prototype.hasAnnotations = function() {
return jspb.Message.getField(this, 8) != null;
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.kfp_kubernetes.DeletePvc.oneofGroups_ = [[1,2,3]];
/**
* @enum {number}
*/
proto.kfp_kubernetes.DeletePvc.PvcReferenceCase = {
PVC_REFERENCE_NOT_SET: 0,
TASK_OUTPUT_PARAMETER: 1,
CONSTANT: 2,
COMPONENT_INPUT_PARAMETER: 3
};
/**
* @return {proto.kfp_kubernetes.DeletePvc.PvcReferenceCase}
*/
proto.kfp_kubernetes.DeletePvc.prototype.getPvcReferenceCase = function() {
return /** @type {proto.kfp_kubernetes.DeletePvc.PvcReferenceCase} */(jspb.Message.computeOneofCase(this, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.kfp_kubernetes.DeletePvc.prototype.toObject = function(opt_includeInstance) {
return proto.kfp_kubernetes.DeletePvc.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.kfp_kubernetes.DeletePvc} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.DeletePvc.toObject = function(includeInstance, msg) {
var f, obj = {
taskOutputParameter: (f = msg.getTaskOutputParameter()) && proto.kfp_kubernetes.TaskOutputParameterSpec.toObject(includeInstance, f),
constant: jspb.Message.getFieldWithDefault(msg, 2, ""),
componentInputParameter: jspb.Message.getFieldWithDefault(msg, 3, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.kfp_kubernetes.DeletePvc}
*/
proto.kfp_kubernetes.DeletePvc.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.kfp_kubernetes.DeletePvc;
return proto.kfp_kubernetes.DeletePvc.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.kfp_kubernetes.DeletePvc} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.kfp_kubernetes.DeletePvc}
*/
proto.kfp_kubernetes.DeletePvc.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.kfp_kubernetes.TaskOutputParameterSpec;
reader.readMessage(value,proto.kfp_kubernetes.TaskOutputParameterSpec.deserializeBinaryFromReader);
msg.setTaskOutputParameter(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setConstant(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setComponentInputParameter(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.kfp_kubernetes.DeletePvc.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.kfp_kubernetes.DeletePvc.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.kfp_kubernetes.DeletePvc} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.DeletePvc.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTaskOutputParameter();
if (f != null) {
writer.writeMessage(
1,
f,
proto.kfp_kubernetes.TaskOutputParameterSpec.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
};
/**
* optional TaskOutputParameterSpec task_output_parameter = 1;
* @return {?proto.kfp_kubernetes.TaskOutputParameterSpec}
*/
proto.kfp_kubernetes.DeletePvc.prototype.getTaskOutputParameter = function() {
return /** @type{?proto.kfp_kubernetes.TaskOutputParameterSpec} */ (
jspb.Message.getWrapperField(this, proto.kfp_kubernetes.TaskOutputParameterSpec, 1));
};
/**
* @param {?proto.kfp_kubernetes.TaskOutputParameterSpec|undefined} value
* @return {!proto.kfp_kubernetes.DeletePvc} returns this
*/
proto.kfp_kubernetes.DeletePvc.prototype.setTaskOutputParameter = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.kfp_kubernetes.DeletePvc} returns this
*/
proto.kfp_kubernetes.DeletePvc.prototype.clearTaskOutputParameter = function() {
return this.setTaskOutputParameter(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.DeletePvc.prototype.hasTaskOutputParameter = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string constant = 2;
* @return {string}
*/
proto.kfp_kubernetes.DeletePvc.prototype.getConstant = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.DeletePvc} returns this
*/
proto.kfp_kubernetes.DeletePvc.prototype.setConstant = function(value) {
return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.kfp_kubernetes.DeletePvc} returns this
*/
proto.kfp_kubernetes.DeletePvc.prototype.clearConstant = function() {
return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.DeletePvc.prototype.hasConstant = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string component_input_parameter = 3;
* @return {string}
*/
proto.kfp_kubernetes.DeletePvc.prototype.getComponentInputParameter = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.kfp_kubernetes.DeletePvc} returns this
*/
proto.kfp_kubernetes.DeletePvc.prototype.setComponentInputParameter = function(value) {
return jspb.Message.setOneofField(this, 3, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.kfp_kubernetes.DeletePvc} returns this
*/
proto.kfp_kubernetes.DeletePvc.prototype.clearComponentInputParameter = function() {
return jspb.Message.setOneofField(this, 3, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.kfp_kubernetes.DeletePvc.prototype.hasComponentInputParameter = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.kfp_kubernetes.NodeSelector.prototype.toObject = function(opt_includeInstance) {
return proto.kfp_kubernetes.NodeSelector.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.kfp_kubernetes.NodeSelector} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.NodeSelector.toObject = function(includeInstance, msg) {
var f, obj = {
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.kfp_kubernetes.NodeSelector}
*/
proto.kfp_kubernetes.NodeSelector.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.kfp_kubernetes.NodeSelector;
return proto.kfp_kubernetes.NodeSelector.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.kfp_kubernetes.NodeSelector} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.kfp_kubernetes.NodeSelector}
*/
proto.kfp_kubernetes.NodeSelector.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getLabelsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.kfp_kubernetes.NodeSelector.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.kfp_kubernetes.NodeSelector.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.kfp_kubernetes.NodeSelector} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.kfp_kubernetes.NodeSelector.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getLabelsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
}
};
/**
* map<string, string> labels = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,string>}
*/
proto.kfp_kubernetes.NodeSelector.prototype.getLabelsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,string>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
null));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.kfp_kubernetes.NodeSelector} returns this
*/
proto.kfp_kubernetes.NodeSelector.prototype.clearLabelsMap = function() {
this.getLabelsMap().clear();
return this;};
goog.object.extend(exports, proto.kfp_kubernetes);
| 368 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec/kubernetes_platform/kubernetes_executor_config.ts | /* eslint-disable */
import Long from 'long';
import _m0 from 'protobufjs/minimal';
import { Struct } from './google/protobuf/struct';
export const protobufPackage = 'kfp_kubernetes';
export interface KubernetesExecutorConfig {
secretAsVolume: SecretAsVolume[];
secretAsEnv: SecretAsEnv[];
pvcMount: PvcMount[];
nodeSelector: NodeSelector | undefined;
}
export interface SecretAsVolume {
/** Name of the Secret. */
secretName: string;
/** Container path to mount the Secret data. */
mountPath: string;
}
export interface SecretAsEnv {
/** Name of the Secret. */
secretName: string;
keyToEnv: SecretAsEnv_SecretKeyToEnvMap[];
}
export interface SecretAsEnv_SecretKeyToEnvMap {
/** Corresponds to a key of the Secret.data field. */
secretKey: string;
/** Env var to which secret_key's data should be set. */
envVar: string;
}
/** Represents an upstream task's output parameter. */
export interface TaskOutputParameterSpec {
/**
* The name of the upstream task which produces the output parameter that
* matches with the `output_parameter_key`.
*/
producerTask: string;
/** The key of [TaskOutputsSpec.parameters][] map of the producer task. */
outputParameterKey: string;
}
export interface PvcMount {
/** Output parameter from an upstream task. */
taskOutputParameter: TaskOutputParameterSpec | undefined;
/** A constant value. */
constant: string | undefined;
/** Pass the input parameter from parent component input parameter. */
componentInputParameter: string | undefined;
/** Container path to which the PVC should be mounted. */
mountPath: string;
}
export interface CreatePvc {
/** Name of the PVC, if not dynamically generated. */
pvcName: string | undefined;
/**
* Suffix for a dynamically generated PVC name of the form
* {{workflow.name}}-<pvc_name_suffix>.
*/
pvcNameSuffix: string | undefined;
/** Corresponds to PersistentVolumeClaim.spec.accessMode field. */
accessModes: string[];
/** Corresponds to PersistentVolumeClaim.spec.resources.requests.storage field. */
size: string;
/** If true, corresponds to omitted PersistentVolumeClaim.spec.storageClassName. */
defaultStorageClass: boolean;
/**
* Corresponds to PersistentVolumeClaim.spec.storageClassName string field.
* Should only be used if default_storage_class is false.
*/
storageClassName: string;
/** Corresponds to PersistentVolumeClaim.spec.volumeName field. */
volumeName: string;
/** Corresponds to PersistentVolumeClaim.metadata.annotations field. */
annotations: { [key: string]: any } | undefined;
}
export interface DeletePvc {
/** Output parameter from an upstream task. */
taskOutputParameter: TaskOutputParameterSpec | undefined;
/** A constant value. */
constant: string | undefined;
/** Pass the input parameter from parent component input parameter. */
componentInputParameter: string | undefined;
}
export interface NodeSelector {
/**
* map of label key to label value
* corresponds to Pod.spec.nodeSelector field https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling
*/
labels: { [key: string]: string };
}
export interface NodeSelector_LabelsEntry {
key: string;
value: string;
}
const baseKubernetesExecutorConfig: object = {};
export const KubernetesExecutorConfig = {
encode(message: KubernetesExecutorConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
for (const v of message.secretAsVolume) {
SecretAsVolume.encode(v!, writer.uint32(10).fork()).ldelim();
}
for (const v of message.secretAsEnv) {
SecretAsEnv.encode(v!, writer.uint32(18).fork()).ldelim();
}
for (const v of message.pvcMount) {
PvcMount.encode(v!, writer.uint32(26).fork()).ldelim();
}
if (message.nodeSelector !== undefined) {
NodeSelector.encode(message.nodeSelector, writer.uint32(34).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): KubernetesExecutorConfig {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseKubernetesExecutorConfig } as KubernetesExecutorConfig;
message.secretAsVolume = [];
message.secretAsEnv = [];
message.pvcMount = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.secretAsVolume.push(SecretAsVolume.decode(reader, reader.uint32()));
break;
case 2:
message.secretAsEnv.push(SecretAsEnv.decode(reader, reader.uint32()));
break;
case 3:
message.pvcMount.push(PvcMount.decode(reader, reader.uint32()));
break;
case 4:
message.nodeSelector = NodeSelector.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): KubernetesExecutorConfig {
const message = { ...baseKubernetesExecutorConfig } as KubernetesExecutorConfig;
message.secretAsVolume = (object.secretAsVolume ?? []).map((e: any) =>
SecretAsVolume.fromJSON(e),
);
message.secretAsEnv = (object.secretAsEnv ?? []).map((e: any) => SecretAsEnv.fromJSON(e));
message.pvcMount = (object.pvcMount ?? []).map((e: any) => PvcMount.fromJSON(e));
message.nodeSelector =
object.nodeSelector !== undefined && object.nodeSelector !== null
? NodeSelector.fromJSON(object.nodeSelector)
: undefined;
return message;
},
toJSON(message: KubernetesExecutorConfig): unknown {
const obj: any = {};
if (message.secretAsVolume) {
obj.secretAsVolume = message.secretAsVolume.map((e) =>
e ? SecretAsVolume.toJSON(e) : undefined,
);
} else {
obj.secretAsVolume = [];
}
if (message.secretAsEnv) {
obj.secretAsEnv = message.secretAsEnv.map((e) => (e ? SecretAsEnv.toJSON(e) : undefined));
} else {
obj.secretAsEnv = [];
}
if (message.pvcMount) {
obj.pvcMount = message.pvcMount.map((e) => (e ? PvcMount.toJSON(e) : undefined));
} else {
obj.pvcMount = [];
}
message.nodeSelector !== undefined &&
(obj.nodeSelector = message.nodeSelector
? NodeSelector.toJSON(message.nodeSelector)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<KubernetesExecutorConfig>, I>>(
object: I,
): KubernetesExecutorConfig {
const message = { ...baseKubernetesExecutorConfig } as KubernetesExecutorConfig;
message.secretAsVolume = object.secretAsVolume?.map((e) => SecretAsVolume.fromPartial(e)) || [];
message.secretAsEnv = object.secretAsEnv?.map((e) => SecretAsEnv.fromPartial(e)) || [];
message.pvcMount = object.pvcMount?.map((e) => PvcMount.fromPartial(e)) || [];
message.nodeSelector =
object.nodeSelector !== undefined && object.nodeSelector !== null
? NodeSelector.fromPartial(object.nodeSelector)
: undefined;
return message;
},
};
const baseSecretAsVolume: object = { secretName: '', mountPath: '' };
export const SecretAsVolume = {
encode(message: SecretAsVolume, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.secretName !== '') {
writer.uint32(10).string(message.secretName);
}
if (message.mountPath !== '') {
writer.uint32(18).string(message.mountPath);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): SecretAsVolume {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseSecretAsVolume } as SecretAsVolume;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.secretName = reader.string();
break;
case 2:
message.mountPath = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): SecretAsVolume {
const message = { ...baseSecretAsVolume } as SecretAsVolume;
message.secretName =
object.secretName !== undefined && object.secretName !== null
? String(object.secretName)
: '';
message.mountPath =
object.mountPath !== undefined && object.mountPath !== null ? String(object.mountPath) : '';
return message;
},
toJSON(message: SecretAsVolume): unknown {
const obj: any = {};
message.secretName !== undefined && (obj.secretName = message.secretName);
message.mountPath !== undefined && (obj.mountPath = message.mountPath);
return obj;
},
fromPartial<I extends Exact<DeepPartial<SecretAsVolume>, I>>(object: I): SecretAsVolume {
const message = { ...baseSecretAsVolume } as SecretAsVolume;
message.secretName = object.secretName ?? '';
message.mountPath = object.mountPath ?? '';
return message;
},
};
const baseSecretAsEnv: object = { secretName: '' };
export const SecretAsEnv = {
encode(message: SecretAsEnv, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.secretName !== '') {
writer.uint32(10).string(message.secretName);
}
for (const v of message.keyToEnv) {
SecretAsEnv_SecretKeyToEnvMap.encode(v!, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): SecretAsEnv {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseSecretAsEnv } as SecretAsEnv;
message.keyToEnv = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.secretName = reader.string();
break;
case 2:
message.keyToEnv.push(SecretAsEnv_SecretKeyToEnvMap.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): SecretAsEnv {
const message = { ...baseSecretAsEnv } as SecretAsEnv;
message.secretName =
object.secretName !== undefined && object.secretName !== null
? String(object.secretName)
: '';
message.keyToEnv = (object.keyToEnv ?? []).map((e: any) =>
SecretAsEnv_SecretKeyToEnvMap.fromJSON(e),
);
return message;
},
toJSON(message: SecretAsEnv): unknown {
const obj: any = {};
message.secretName !== undefined && (obj.secretName = message.secretName);
if (message.keyToEnv) {
obj.keyToEnv = message.keyToEnv.map((e) =>
e ? SecretAsEnv_SecretKeyToEnvMap.toJSON(e) : undefined,
);
} else {
obj.keyToEnv = [];
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<SecretAsEnv>, I>>(object: I): SecretAsEnv {
const message = { ...baseSecretAsEnv } as SecretAsEnv;
message.secretName = object.secretName ?? '';
message.keyToEnv =
object.keyToEnv?.map((e) => SecretAsEnv_SecretKeyToEnvMap.fromPartial(e)) || [];
return message;
},
};
const baseSecretAsEnv_SecretKeyToEnvMap: object = { secretKey: '', envVar: '' };
export const SecretAsEnv_SecretKeyToEnvMap = {
encode(
message: SecretAsEnv_SecretKeyToEnvMap,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.secretKey !== '') {
writer.uint32(10).string(message.secretKey);
}
if (message.envVar !== '') {
writer.uint32(18).string(message.envVar);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): SecretAsEnv_SecretKeyToEnvMap {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseSecretAsEnv_SecretKeyToEnvMap } as SecretAsEnv_SecretKeyToEnvMap;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.secretKey = reader.string();
break;
case 2:
message.envVar = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): SecretAsEnv_SecretKeyToEnvMap {
const message = { ...baseSecretAsEnv_SecretKeyToEnvMap } as SecretAsEnv_SecretKeyToEnvMap;
message.secretKey =
object.secretKey !== undefined && object.secretKey !== null ? String(object.secretKey) : '';
message.envVar =
object.envVar !== undefined && object.envVar !== null ? String(object.envVar) : '';
return message;
},
toJSON(message: SecretAsEnv_SecretKeyToEnvMap): unknown {
const obj: any = {};
message.secretKey !== undefined && (obj.secretKey = message.secretKey);
message.envVar !== undefined && (obj.envVar = message.envVar);
return obj;
},
fromPartial<I extends Exact<DeepPartial<SecretAsEnv_SecretKeyToEnvMap>, I>>(
object: I,
): SecretAsEnv_SecretKeyToEnvMap {
const message = { ...baseSecretAsEnv_SecretKeyToEnvMap } as SecretAsEnv_SecretKeyToEnvMap;
message.secretKey = object.secretKey ?? '';
message.envVar = object.envVar ?? '';
return message;
},
};
const baseTaskOutputParameterSpec: object = { producerTask: '', outputParameterKey: '' };
export const TaskOutputParameterSpec = {
encode(message: TaskOutputParameterSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.producerTask !== '') {
writer.uint32(10).string(message.producerTask);
}
if (message.outputParameterKey !== '') {
writer.uint32(18).string(message.outputParameterKey);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskOutputParameterSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseTaskOutputParameterSpec } as TaskOutputParameterSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.producerTask = reader.string();
break;
case 2:
message.outputParameterKey = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskOutputParameterSpec {
const message = { ...baseTaskOutputParameterSpec } as TaskOutputParameterSpec;
message.producerTask =
object.producerTask !== undefined && object.producerTask !== null
? String(object.producerTask)
: '';
message.outputParameterKey =
object.outputParameterKey !== undefined && object.outputParameterKey !== null
? String(object.outputParameterKey)
: '';
return message;
},
toJSON(message: TaskOutputParameterSpec): unknown {
const obj: any = {};
message.producerTask !== undefined && (obj.producerTask = message.producerTask);
message.outputParameterKey !== undefined &&
(obj.outputParameterKey = message.outputParameterKey);
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskOutputParameterSpec>, I>>(
object: I,
): TaskOutputParameterSpec {
const message = { ...baseTaskOutputParameterSpec } as TaskOutputParameterSpec;
message.producerTask = object.producerTask ?? '';
message.outputParameterKey = object.outputParameterKey ?? '';
return message;
},
};
const basePvcMount: object = { mountPath: '' };
export const PvcMount = {
encode(message: PvcMount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.taskOutputParameter !== undefined) {
TaskOutputParameterSpec.encode(
message.taskOutputParameter,
writer.uint32(10).fork(),
).ldelim();
}
if (message.constant !== undefined) {
writer.uint32(18).string(message.constant);
}
if (message.componentInputParameter !== undefined) {
writer.uint32(26).string(message.componentInputParameter);
}
if (message.mountPath !== '') {
writer.uint32(34).string(message.mountPath);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PvcMount {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePvcMount } as PvcMount;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.taskOutputParameter = TaskOutputParameterSpec.decode(reader, reader.uint32());
break;
case 2:
message.constant = reader.string();
break;
case 3:
message.componentInputParameter = reader.string();
break;
case 4:
message.mountPath = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PvcMount {
const message = { ...basePvcMount } as PvcMount;
message.taskOutputParameter =
object.taskOutputParameter !== undefined && object.taskOutputParameter !== null
? TaskOutputParameterSpec.fromJSON(object.taskOutputParameter)
: undefined;
message.constant =
object.constant !== undefined && object.constant !== null
? String(object.constant)
: undefined;
message.componentInputParameter =
object.componentInputParameter !== undefined && object.componentInputParameter !== null
? String(object.componentInputParameter)
: undefined;
message.mountPath =
object.mountPath !== undefined && object.mountPath !== null ? String(object.mountPath) : '';
return message;
},
toJSON(message: PvcMount): unknown {
const obj: any = {};
message.taskOutputParameter !== undefined &&
(obj.taskOutputParameter = message.taskOutputParameter
? TaskOutputParameterSpec.toJSON(message.taskOutputParameter)
: undefined);
message.constant !== undefined && (obj.constant = message.constant);
message.componentInputParameter !== undefined &&
(obj.componentInputParameter = message.componentInputParameter);
message.mountPath !== undefined && (obj.mountPath = message.mountPath);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PvcMount>, I>>(object: I): PvcMount {
const message = { ...basePvcMount } as PvcMount;
message.taskOutputParameter =
object.taskOutputParameter !== undefined && object.taskOutputParameter !== null
? TaskOutputParameterSpec.fromPartial(object.taskOutputParameter)
: undefined;
message.constant = object.constant ?? undefined;
message.componentInputParameter = object.componentInputParameter ?? undefined;
message.mountPath = object.mountPath ?? '';
return message;
},
};
const baseCreatePvc: object = {
accessModes: '',
size: '',
defaultStorageClass: false,
storageClassName: '',
volumeName: '',
};
export const CreatePvc = {
encode(message: CreatePvc, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.pvcName !== undefined) {
writer.uint32(10).string(message.pvcName);
}
if (message.pvcNameSuffix !== undefined) {
writer.uint32(18).string(message.pvcNameSuffix);
}
for (const v of message.accessModes) {
writer.uint32(26).string(v!);
}
if (message.size !== '') {
writer.uint32(34).string(message.size);
}
if (message.defaultStorageClass === true) {
writer.uint32(40).bool(message.defaultStorageClass);
}
if (message.storageClassName !== '') {
writer.uint32(50).string(message.storageClassName);
}
if (message.volumeName !== '') {
writer.uint32(58).string(message.volumeName);
}
if (message.annotations !== undefined) {
Struct.encode(Struct.wrap(message.annotations), writer.uint32(66).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): CreatePvc {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseCreatePvc } as CreatePvc;
message.accessModes = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.pvcName = reader.string();
break;
case 2:
message.pvcNameSuffix = reader.string();
break;
case 3:
message.accessModes.push(reader.string());
break;
case 4:
message.size = reader.string();
break;
case 5:
message.defaultStorageClass = reader.bool();
break;
case 6:
message.storageClassName = reader.string();
break;
case 7:
message.volumeName = reader.string();
break;
case 8:
message.annotations = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): CreatePvc {
const message = { ...baseCreatePvc } as CreatePvc;
message.pvcName =
object.pvcName !== undefined && object.pvcName !== null ? String(object.pvcName) : undefined;
message.pvcNameSuffix =
object.pvcNameSuffix !== undefined && object.pvcNameSuffix !== null
? String(object.pvcNameSuffix)
: undefined;
message.accessModes = (object.accessModes ?? []).map((e: any) => String(e));
message.size = object.size !== undefined && object.size !== null ? String(object.size) : '';
message.defaultStorageClass =
object.defaultStorageClass !== undefined && object.defaultStorageClass !== null
? Boolean(object.defaultStorageClass)
: false;
message.storageClassName =
object.storageClassName !== undefined && object.storageClassName !== null
? String(object.storageClassName)
: '';
message.volumeName =
object.volumeName !== undefined && object.volumeName !== null
? String(object.volumeName)
: '';
message.annotations = typeof object.annotations === 'object' ? object.annotations : undefined;
return message;
},
toJSON(message: CreatePvc): unknown {
const obj: any = {};
message.pvcName !== undefined && (obj.pvcName = message.pvcName);
message.pvcNameSuffix !== undefined && (obj.pvcNameSuffix = message.pvcNameSuffix);
if (message.accessModes) {
obj.accessModes = message.accessModes.map((e) => e);
} else {
obj.accessModes = [];
}
message.size !== undefined && (obj.size = message.size);
message.defaultStorageClass !== undefined &&
(obj.defaultStorageClass = message.defaultStorageClass);
message.storageClassName !== undefined && (obj.storageClassName = message.storageClassName);
message.volumeName !== undefined && (obj.volumeName = message.volumeName);
message.annotations !== undefined && (obj.annotations = message.annotations);
return obj;
},
fromPartial<I extends Exact<DeepPartial<CreatePvc>, I>>(object: I): CreatePvc {
const message = { ...baseCreatePvc } as CreatePvc;
message.pvcName = object.pvcName ?? undefined;
message.pvcNameSuffix = object.pvcNameSuffix ?? undefined;
message.accessModes = object.accessModes?.map((e) => e) || [];
message.size = object.size ?? '';
message.defaultStorageClass = object.defaultStorageClass ?? false;
message.storageClassName = object.storageClassName ?? '';
message.volumeName = object.volumeName ?? '';
message.annotations = object.annotations ?? undefined;
return message;
},
};
const baseDeletePvc: object = {};
export const DeletePvc = {
encode(message: DeletePvc, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.taskOutputParameter !== undefined) {
TaskOutputParameterSpec.encode(
message.taskOutputParameter,
writer.uint32(10).fork(),
).ldelim();
}
if (message.constant !== undefined) {
writer.uint32(18).string(message.constant);
}
if (message.componentInputParameter !== undefined) {
writer.uint32(26).string(message.componentInputParameter);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DeletePvc {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseDeletePvc } as DeletePvc;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.taskOutputParameter = TaskOutputParameterSpec.decode(reader, reader.uint32());
break;
case 2:
message.constant = reader.string();
break;
case 3:
message.componentInputParameter = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DeletePvc {
const message = { ...baseDeletePvc } as DeletePvc;
message.taskOutputParameter =
object.taskOutputParameter !== undefined && object.taskOutputParameter !== null
? TaskOutputParameterSpec.fromJSON(object.taskOutputParameter)
: undefined;
message.constant =
object.constant !== undefined && object.constant !== null
? String(object.constant)
: undefined;
message.componentInputParameter =
object.componentInputParameter !== undefined && object.componentInputParameter !== null
? String(object.componentInputParameter)
: undefined;
return message;
},
toJSON(message: DeletePvc): unknown {
const obj: any = {};
message.taskOutputParameter !== undefined &&
(obj.taskOutputParameter = message.taskOutputParameter
? TaskOutputParameterSpec.toJSON(message.taskOutputParameter)
: undefined);
message.constant !== undefined && (obj.constant = message.constant);
message.componentInputParameter !== undefined &&
(obj.componentInputParameter = message.componentInputParameter);
return obj;
},
fromPartial<I extends Exact<DeepPartial<DeletePvc>, I>>(object: I): DeletePvc {
const message = { ...baseDeletePvc } as DeletePvc;
message.taskOutputParameter =
object.taskOutputParameter !== undefined && object.taskOutputParameter !== null
? TaskOutputParameterSpec.fromPartial(object.taskOutputParameter)
: undefined;
message.constant = object.constant ?? undefined;
message.componentInputParameter = object.componentInputParameter ?? undefined;
return message;
},
};
const baseNodeSelector: object = {};
export const NodeSelector = {
encode(message: NodeSelector, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.labels).forEach(([key, value]) => {
NodeSelector_LabelsEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): NodeSelector {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseNodeSelector } as NodeSelector;
message.labels = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = NodeSelector_LabelsEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.labels[entry1.key] = entry1.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): NodeSelector {
const message = { ...baseNodeSelector } as NodeSelector;
message.labels = Object.entries(object.labels ?? {}).reduce<{ [key: string]: string }>(
(acc, [key, value]) => {
acc[key] = String(value);
return acc;
},
{},
);
return message;
},
toJSON(message: NodeSelector): unknown {
const obj: any = {};
obj.labels = {};
if (message.labels) {
Object.entries(message.labels).forEach(([k, v]) => {
obj.labels[k] = v;
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<NodeSelector>, I>>(object: I): NodeSelector {
const message = { ...baseNodeSelector } as NodeSelector;
message.labels = Object.entries(object.labels ?? {}).reduce<{ [key: string]: string }>(
(acc, [key, value]) => {
if (value !== undefined) {
acc[key] = String(value);
}
return acc;
},
{},
);
return message;
},
};
const baseNodeSelector_LabelsEntry: object = { key: '', value: '' };
export const NodeSelector_LabelsEntry = {
encode(message: NodeSelector_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== '') {
writer.uint32(18).string(message.value);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): NodeSelector_LabelsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseNodeSelector_LabelsEntry } as NodeSelector_LabelsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): NodeSelector_LabelsEntry {
const message = { ...baseNodeSelector_LabelsEntry } as NodeSelector_LabelsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value = object.value !== undefined && object.value !== null ? String(object.value) : '';
return message;
},
toJSON(message: NodeSelector_LabelsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined && (obj.value = message.value);
return obj;
},
fromPartial<I extends Exact<DeepPartial<NodeSelector_LabelsEntry>, I>>(
object: I,
): NodeSelector_LabelsEntry {
const message = { ...baseNodeSelector_LabelsEntry } as NodeSelector_LabelsEntry;
message.key = object.key ?? '';
message.value = object.value ?? '';
return message;
},
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin
? T
: T extends Array<infer U>
? Array<DeepPartial<U>>
: T extends ReadonlyArray<infer U>
? ReadonlyArray<DeepPartial<U>>
: T extends {}
? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin
? P
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
if (_m0.util.Long !== Long) {
_m0.util.Long = Long as any;
_m0.configure();
}
| 369 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec/kubernetes_platform/index.ts | // Copyright 2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
export { KubernetesExecutorConfig, PvcMount } from 'src/generated/platform_spec/kubernetes_platform/kubernetes_executor_config';
| 370 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec/kubernetes_platform/kubernetes_executor_config_pb.d.ts | import * as jspb from 'google-protobuf'
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
export class KubernetesExecutorConfig extends jspb.Message {
getSecretAsVolumeList(): Array<SecretAsVolume>;
setSecretAsVolumeList(value: Array<SecretAsVolume>): KubernetesExecutorConfig;
clearSecretAsVolumeList(): KubernetesExecutorConfig;
addSecretAsVolume(value?: SecretAsVolume, index?: number): SecretAsVolume;
getSecretAsEnvList(): Array<SecretAsEnv>;
setSecretAsEnvList(value: Array<SecretAsEnv>): KubernetesExecutorConfig;
clearSecretAsEnvList(): KubernetesExecutorConfig;
addSecretAsEnv(value?: SecretAsEnv, index?: number): SecretAsEnv;
getPvcMountList(): Array<PvcMount>;
setPvcMountList(value: Array<PvcMount>): KubernetesExecutorConfig;
clearPvcMountList(): KubernetesExecutorConfig;
addPvcMount(value?: PvcMount, index?: number): PvcMount;
getNodeSelector(): NodeSelector | undefined;
setNodeSelector(value?: NodeSelector): KubernetesExecutorConfig;
hasNodeSelector(): boolean;
clearNodeSelector(): KubernetesExecutorConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): KubernetesExecutorConfig.AsObject;
static toObject(includeInstance: boolean, msg: KubernetesExecutorConfig): KubernetesExecutorConfig.AsObject;
static serializeBinaryToWriter(message: KubernetesExecutorConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): KubernetesExecutorConfig;
static deserializeBinaryFromReader(message: KubernetesExecutorConfig, reader: jspb.BinaryReader): KubernetesExecutorConfig;
}
export namespace KubernetesExecutorConfig {
export type AsObject = {
secretAsVolumeList: Array<SecretAsVolume.AsObject>,
secretAsEnvList: Array<SecretAsEnv.AsObject>,
pvcMountList: Array<PvcMount.AsObject>,
nodeSelector?: NodeSelector.AsObject,
}
}
export class SecretAsVolume extends jspb.Message {
getSecretName(): string;
setSecretName(value: string): SecretAsVolume;
getMountPath(): string;
setMountPath(value: string): SecretAsVolume;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SecretAsVolume.AsObject;
static toObject(includeInstance: boolean, msg: SecretAsVolume): SecretAsVolume.AsObject;
static serializeBinaryToWriter(message: SecretAsVolume, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SecretAsVolume;
static deserializeBinaryFromReader(message: SecretAsVolume, reader: jspb.BinaryReader): SecretAsVolume;
}
export namespace SecretAsVolume {
export type AsObject = {
secretName: string,
mountPath: string,
}
}
export class SecretAsEnv extends jspb.Message {
getSecretName(): string;
setSecretName(value: string): SecretAsEnv;
getKeyToEnvList(): Array<SecretAsEnv.SecretKeyToEnvMap>;
setKeyToEnvList(value: Array<SecretAsEnv.SecretKeyToEnvMap>): SecretAsEnv;
clearKeyToEnvList(): SecretAsEnv;
addKeyToEnv(value?: SecretAsEnv.SecretKeyToEnvMap, index?: number): SecretAsEnv.SecretKeyToEnvMap;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SecretAsEnv.AsObject;
static toObject(includeInstance: boolean, msg: SecretAsEnv): SecretAsEnv.AsObject;
static serializeBinaryToWriter(message: SecretAsEnv, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SecretAsEnv;
static deserializeBinaryFromReader(message: SecretAsEnv, reader: jspb.BinaryReader): SecretAsEnv;
}
export namespace SecretAsEnv {
export type AsObject = {
secretName: string,
keyToEnvList: Array<SecretAsEnv.SecretKeyToEnvMap.AsObject>,
}
export class SecretKeyToEnvMap extends jspb.Message {
getSecretKey(): string;
setSecretKey(value: string): SecretKeyToEnvMap;
getEnvVar(): string;
setEnvVar(value: string): SecretKeyToEnvMap;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SecretKeyToEnvMap.AsObject;
static toObject(includeInstance: boolean, msg: SecretKeyToEnvMap): SecretKeyToEnvMap.AsObject;
static serializeBinaryToWriter(message: SecretKeyToEnvMap, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SecretKeyToEnvMap;
static deserializeBinaryFromReader(message: SecretKeyToEnvMap, reader: jspb.BinaryReader): SecretKeyToEnvMap;
}
export namespace SecretKeyToEnvMap {
export type AsObject = {
secretKey: string,
envVar: string,
}
}
}
export class TaskOutputParameterSpec extends jspb.Message {
getProducerTask(): string;
setProducerTask(value: string): TaskOutputParameterSpec;
getOutputParameterKey(): string;
setOutputParameterKey(value: string): TaskOutputParameterSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TaskOutputParameterSpec.AsObject;
static toObject(includeInstance: boolean, msg: TaskOutputParameterSpec): TaskOutputParameterSpec.AsObject;
static serializeBinaryToWriter(message: TaskOutputParameterSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TaskOutputParameterSpec;
static deserializeBinaryFromReader(message: TaskOutputParameterSpec, reader: jspb.BinaryReader): TaskOutputParameterSpec;
}
export namespace TaskOutputParameterSpec {
export type AsObject = {
producerTask: string,
outputParameterKey: string,
}
}
export class PvcMount extends jspb.Message {
getTaskOutputParameter(): TaskOutputParameterSpec | undefined;
setTaskOutputParameter(value?: TaskOutputParameterSpec): PvcMount;
hasTaskOutputParameter(): boolean;
clearTaskOutputParameter(): PvcMount;
getConstant(): string;
setConstant(value: string): PvcMount;
getComponentInputParameter(): string;
setComponentInputParameter(value: string): PvcMount;
getMountPath(): string;
setMountPath(value: string): PvcMount;
getPvcReferenceCase(): PvcMount.PvcReferenceCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PvcMount.AsObject;
static toObject(includeInstance: boolean, msg: PvcMount): PvcMount.AsObject;
static serializeBinaryToWriter(message: PvcMount, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PvcMount;
static deserializeBinaryFromReader(message: PvcMount, reader: jspb.BinaryReader): PvcMount;
}
export namespace PvcMount {
export type AsObject = {
taskOutputParameter?: TaskOutputParameterSpec.AsObject,
constant: string,
componentInputParameter: string,
mountPath: string,
}
export enum PvcReferenceCase {
PVC_REFERENCE_NOT_SET = 0,
TASK_OUTPUT_PARAMETER = 1,
CONSTANT = 2,
COMPONENT_INPUT_PARAMETER = 3,
}
}
export class CreatePvc extends jspb.Message {
getPvcName(): string;
setPvcName(value: string): CreatePvc;
getPvcNameSuffix(): string;
setPvcNameSuffix(value: string): CreatePvc;
getAccessModesList(): Array<string>;
setAccessModesList(value: Array<string>): CreatePvc;
clearAccessModesList(): CreatePvc;
addAccessModes(value: string, index?: number): CreatePvc;
getSize(): string;
setSize(value: string): CreatePvc;
getDefaultStorageClass(): boolean;
setDefaultStorageClass(value: boolean): CreatePvc;
getStorageClassName(): string;
setStorageClassName(value: string): CreatePvc;
getVolumeName(): string;
setVolumeName(value: string): CreatePvc;
getAnnotations(): google_protobuf_struct_pb.Struct | undefined;
setAnnotations(value?: google_protobuf_struct_pb.Struct): CreatePvc;
hasAnnotations(): boolean;
clearAnnotations(): CreatePvc;
getNameCase(): CreatePvc.NameCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CreatePvc.AsObject;
static toObject(includeInstance: boolean, msg: CreatePvc): CreatePvc.AsObject;
static serializeBinaryToWriter(message: CreatePvc, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): CreatePvc;
static deserializeBinaryFromReader(message: CreatePvc, reader: jspb.BinaryReader): CreatePvc;
}
export namespace CreatePvc {
export type AsObject = {
pvcName: string,
pvcNameSuffix: string,
accessModesList: Array<string>,
size: string,
defaultStorageClass: boolean,
storageClassName: string,
volumeName: string,
annotations?: google_protobuf_struct_pb.Struct.AsObject,
}
export enum NameCase {
NAME_NOT_SET = 0,
PVC_NAME = 1,
PVC_NAME_SUFFIX = 2,
}
}
export class DeletePvc extends jspb.Message {
getTaskOutputParameter(): TaskOutputParameterSpec | undefined;
setTaskOutputParameter(value?: TaskOutputParameterSpec): DeletePvc;
hasTaskOutputParameter(): boolean;
clearTaskOutputParameter(): DeletePvc;
getConstant(): string;
setConstant(value: string): DeletePvc;
getComponentInputParameter(): string;
setComponentInputParameter(value: string): DeletePvc;
getPvcReferenceCase(): DeletePvc.PvcReferenceCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DeletePvc.AsObject;
static toObject(includeInstance: boolean, msg: DeletePvc): DeletePvc.AsObject;
static serializeBinaryToWriter(message: DeletePvc, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DeletePvc;
static deserializeBinaryFromReader(message: DeletePvc, reader: jspb.BinaryReader): DeletePvc;
}
export namespace DeletePvc {
export type AsObject = {
taskOutputParameter?: TaskOutputParameterSpec.AsObject,
constant: string,
componentInputParameter: string,
}
export enum PvcReferenceCase {
PVC_REFERENCE_NOT_SET = 0,
TASK_OUTPUT_PARAMETER = 1,
CONSTANT = 2,
COMPONENT_INPUT_PARAMETER = 3,
}
}
export class NodeSelector extends jspb.Message {
getLabelsMap(): jspb.Map<string, string>;
clearLabelsMap(): NodeSelector;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): NodeSelector.AsObject;
static toObject(includeInstance: boolean, msg: NodeSelector): NodeSelector.AsObject;
static serializeBinaryToWriter(message: NodeSelector, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): NodeSelector;
static deserializeBinaryFromReader(message: NodeSelector, reader: jspb.BinaryReader): NodeSelector;
}
export namespace NodeSelector {
export type AsObject = {
labelsMap: Array<[string, string]>,
}
}
| 371 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec/kubernetes_platform/google | kubeflow_public_repos/pipelines/frontend/src/generated/platform_spec/kubernetes_platform/google/protobuf/struct.ts | /* eslint-disable */
import Long from 'long';
import _m0 from 'protobufjs/minimal';
export const protobufPackage = 'google.protobuf';
/**
* `NullValue` is a singleton enumeration to represent the null value for the
* `Value` type union.
*
* The JSON representation for `NullValue` is JSON `null`.
*/
export enum NullValue {
/** NULL_VALUE - Null value. */
NULL_VALUE = 0,
UNRECOGNIZED = -1,
}
export function nullValueFromJSON(object: any): NullValue {
switch (object) {
case 0:
case 'NULL_VALUE':
return NullValue.NULL_VALUE;
case -1:
case 'UNRECOGNIZED':
default:
return NullValue.UNRECOGNIZED;
}
}
export function nullValueToJSON(object: NullValue): string {
switch (object) {
case NullValue.NULL_VALUE:
return 'NULL_VALUE';
default:
return 'UNKNOWN';
}
}
/**
* `Struct` represents a structured data value, consisting of fields
* which map to dynamically typed values. In some languages, `Struct`
* might be supported by a native representation. For example, in
* scripting languages like JS a struct is represented as an
* object. The details of that representation are described together
* with the proto support for the language.
*
* The JSON representation for `Struct` is JSON object.
*/
export interface Struct {
/** Unordered map of dynamically typed values. */
fields: { [key: string]: any | undefined };
}
export interface Struct_FieldsEntry {
key: string;
value: any | undefined;
}
/**
* `Value` represents a dynamically typed value which can be either
* null, a number, a string, a boolean, a recursive struct value, or a
* list of values. A producer of value is expected to set one of that
* variants, absence of any variant indicates an error.
*
* The JSON representation for `Value` is JSON value.
*/
export interface Value {
/** Represents a null value. */
nullValue: NullValue | undefined;
/** Represents a double value. */
numberValue: number | undefined;
/** Represents a string value. */
stringValue: string | undefined;
/** Represents a boolean value. */
boolValue: boolean | undefined;
/** Represents a structured value. */
structValue: { [key: string]: any } | undefined;
/** Represents a repeated `Value`. */
listValue: Array<any> | undefined;
}
/**
* `ListValue` is a wrapper around a repeated field of values.
*
* The JSON representation for `ListValue` is JSON array.
*/
export interface ListValue {
/** Repeated field of dynamically typed values. */
values: any[];
}
const baseStruct: object = {};
export const Struct = {
encode(message: Struct, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.fields).forEach(([key, value]) => {
if (value !== undefined) {
Struct_FieldsEntry.encode({ key: key as any, value }, writer.uint32(10).fork()).ldelim();
}
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Struct {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseStruct } as Struct;
message.fields = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.fields[entry1.key] = entry1.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Struct {
const message = { ...baseStruct } as Struct;
message.fields = Object.entries(object.fields ?? {}).reduce<{ [key: string]: any | undefined }>(
(acc, [key, value]) => {
acc[key] = value as any | undefined;
return acc;
},
{},
);
return message;
},
toJSON(message: Struct): unknown {
const obj: any = {};
obj.fields = {};
if (message.fields) {
Object.entries(message.fields).forEach(([k, v]) => {
obj.fields[k] = v;
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<Struct>, I>>(object: I): Struct {
const message = { ...baseStruct } as Struct;
message.fields = Object.entries(object.fields ?? {}).reduce<{ [key: string]: any | undefined }>(
(acc, [key, value]) => {
if (value !== undefined) {
acc[key] = value;
}
return acc;
},
{},
);
return message;
},
wrap(object: { [key: string]: any } | undefined): Struct {
const struct = Struct.fromPartial({});
if (object !== undefined) {
Object.keys(object).forEach((key) => {
struct.fields[key] = object[key];
});
}
return struct;
},
unwrap(message: Struct): { [key: string]: any } {
const object: { [key: string]: any } = {};
Object.keys(message.fields).forEach((key) => {
object[key] = message.fields[key];
});
return object;
},
};
const baseStruct_FieldsEntry: object = { key: '' };
export const Struct_FieldsEntry = {
encode(message: Struct_FieldsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value.encode(Value.wrap(message.value), writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Struct_FieldsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseStruct_FieldsEntry } as Struct_FieldsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value.unwrap(Value.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Struct_FieldsEntry {
const message = { ...baseStruct_FieldsEntry } as Struct_FieldsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value = object.value;
return message;
},
toJSON(message: Struct_FieldsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined && (obj.value = message.value);
return obj;
},
fromPartial<I extends Exact<DeepPartial<Struct_FieldsEntry>, I>>(object: I): Struct_FieldsEntry {
const message = { ...baseStruct_FieldsEntry } as Struct_FieldsEntry;
message.key = object.key ?? '';
message.value = object.value ?? undefined;
return message;
},
};
const baseValue: object = {};
export const Value = {
encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.nullValue !== undefined) {
writer.uint32(8).int32(message.nullValue);
}
if (message.numberValue !== undefined) {
writer.uint32(17).double(message.numberValue);
}
if (message.stringValue !== undefined) {
writer.uint32(26).string(message.stringValue);
}
if (message.boolValue !== undefined) {
writer.uint32(32).bool(message.boolValue);
}
if (message.structValue !== undefined) {
Struct.encode(Struct.wrap(message.structValue), writer.uint32(42).fork()).ldelim();
}
if (message.listValue !== undefined) {
ListValue.encode(ListValue.wrap(message.listValue), writer.uint32(50).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Value {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseValue } as Value;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.nullValue = reader.int32() as any;
break;
case 2:
message.numberValue = reader.double();
break;
case 3:
message.stringValue = reader.string();
break;
case 4:
message.boolValue = reader.bool();
break;
case 5:
message.structValue = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
case 6:
message.listValue = ListValue.unwrap(ListValue.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Value {
const message = { ...baseValue } as Value;
message.nullValue =
object.nullValue !== undefined && object.nullValue !== null
? nullValueFromJSON(object.nullValue)
: undefined;
message.numberValue =
object.numberValue !== undefined && object.numberValue !== null
? Number(object.numberValue)
: undefined;
message.stringValue =
object.stringValue !== undefined && object.stringValue !== null
? String(object.stringValue)
: undefined;
message.boolValue =
object.boolValue !== undefined && object.boolValue !== null
? Boolean(object.boolValue)
: undefined;
message.structValue = typeof object.structValue === 'object' ? object.structValue : undefined;
message.listValue = Array.isArray(object?.listValue) ? [...object.listValue] : undefined;
return message;
},
toJSON(message: Value): unknown {
const obj: any = {};
message.nullValue !== undefined &&
(obj.nullValue =
message.nullValue !== undefined ? nullValueToJSON(message.nullValue) : undefined);
message.numberValue !== undefined && (obj.numberValue = message.numberValue);
message.stringValue !== undefined && (obj.stringValue = message.stringValue);
message.boolValue !== undefined && (obj.boolValue = message.boolValue);
message.structValue !== undefined && (obj.structValue = message.structValue);
message.listValue !== undefined && (obj.listValue = message.listValue);
return obj;
},
fromPartial<I extends Exact<DeepPartial<Value>, I>>(object: I): Value {
const message = { ...baseValue } as Value;
message.nullValue = object.nullValue ?? undefined;
message.numberValue = object.numberValue ?? undefined;
message.stringValue = object.stringValue ?? undefined;
message.boolValue = object.boolValue ?? undefined;
message.structValue = object.structValue ?? undefined;
message.listValue = object.listValue ?? undefined;
return message;
},
wrap(value: any): Value {
if (value === null) {
return { nullValue: NullValue.NULL_VALUE } as Value;
} else if (typeof value === 'boolean') {
return { boolValue: value } as Value;
} else if (typeof value === 'number') {
return { numberValue: value } as Value;
} else if (typeof value === 'string') {
return { stringValue: value } as Value;
} else if (Array.isArray(value)) {
return { listValue: value } as Value;
} else if (typeof value === 'object') {
return { structValue: value } as Value;
} else if (typeof value === 'undefined') {
return {} as Value;
} else {
throw new Error('Unsupported any value type: ' + typeof value);
}
},
unwrap(message: Value): string | number | boolean | Object | null | Array<any> | undefined {
if (message?.stringValue !== undefined) {
return message.stringValue;
} else if (message?.numberValue !== undefined) {
return message.numberValue;
} else if (message?.boolValue !== undefined) {
return message.boolValue;
} else if (message?.structValue !== undefined) {
return message.structValue;
} else if (message?.listValue !== undefined) {
return message.listValue;
} else if (message?.nullValue !== undefined) {
return null;
}
return undefined;
},
};
const baseListValue: object = {};
export const ListValue = {
encode(message: ListValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
for (const v of message.values) {
Value.encode(Value.wrap(v!), writer.uint32(10).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ListValue {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseListValue } as ListValue;
message.values = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.values.push(Value.unwrap(Value.decode(reader, reader.uint32())));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ListValue {
const message = { ...baseListValue } as ListValue;
message.values = Array.isArray(object?.values) ? [...object.values] : [];
return message;
},
toJSON(message: ListValue): unknown {
const obj: any = {};
if (message.values) {
obj.values = message.values.map((e) => e);
} else {
obj.values = [];
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<ListValue>, I>>(object: I): ListValue {
const message = { ...baseListValue } as ListValue;
message.values = object.values?.map((e) => e) || [];
return message;
},
wrap(value: Array<any>): ListValue {
return { values: value };
},
unwrap(message: ListValue): Array<any> {
return message.values;
},
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin
? T
: T extends Array<infer U>
? Array<DeepPartial<U>>
: T extends ReadonlyArray<infer U>
? ReadonlyArray<DeepPartial<U>>
: T extends {}
? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin
? P
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
if (_m0.util.Long !== Long) {
_m0.util.Long = Long as any;
_m0.configure();
}
| 372 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/pipeline_spec.ts | /* eslint-disable */
import Long from 'long';
import _m0 from 'protobufjs/minimal';
import { Duration } from './google/protobuf/duration';
import { Status } from './google/rpc/status';
import { Struct, Value as Value1 } from './google/protobuf/struct';
export const protobufPackage = 'ml_pipelines';
/** The spec of a pipeline job. */
export interface PipelineJob {
/** Name of the job. */
name: string;
/** User friendly display name */
displayName: string;
/** Definition of the pipeline that is being executed. */
pipelineSpec: { [key: string]: any } | undefined;
/** The labels with user-defined metadata to organize PipelineJob. */
labels: { [key: string]: string };
/** Runtime config of the pipeline. */
runtimeConfig: PipelineJob_RuntimeConfig | undefined;
}
export interface PipelineJob_LabelsEntry {
key: string;
value: string;
}
/** The runtime config of a PipelineJob. */
export interface PipelineJob_RuntimeConfig {
/**
* Deprecated. Use [RuntimeConfig.parameter_values][] instead.
*
* @deprecated
*/
parameters: { [key: string]: Value };
/**
* A path in a Cloud Storage bucket which will be treated as the root
* output directory of the pipeline. It is used by the system to
* generate the paths of output artifacts.
* This is a GCP-specific optimization.
*/
gcsOutputDirectory: string;
/**
* The runtime parameters of the PipelineJob. The parameters will be
* passed into [PipelineJob.pipeline_spec][] to replace the placeholders
* at runtime.
*/
parameterValues: { [key: string]: any | undefined };
}
export interface PipelineJob_RuntimeConfig_ParametersEntry {
key: string;
value: Value | undefined;
}
export interface PipelineJob_RuntimeConfig_ParameterValuesEntry {
key: string;
value: any | undefined;
}
/** The spec of a pipeline. */
export interface PipelineSpec {
/** The metadata of the pipeline. */
pipelineInfo: PipelineInfo | undefined;
/**
* The deployment config of the pipeline.
* The deployment config can be extended to provide platform specific configs.
*/
deploymentSpec: { [key: string]: any } | undefined;
/** The version of the sdk, which compiles the spec. */
sdkVersion: string;
/** The version of the schema. */
schemaVersion: string;
/** The map of name to definition of all components used in this pipeline. */
components: { [key: string]: ComponentSpec };
/**
* The definition of the main pipeline. Execution of the pipeline is
* completed upon the completion of this component.
*/
root: ComponentSpec | undefined;
/** Optional field. The default root output directory of the pipeline. */
defaultPipelineRoot: string;
}
/** The definition of the runtime parameter. */
export interface PipelineSpec_RuntimeParameter {
/** Required field. The type of the runtime parameter. */
type: PrimitiveType_PrimitiveTypeEnum;
/**
* Optional field. Default value of the runtime parameter. If not set and
* the runtime parameter value is not provided during runtime, an error will
* be raised.
*/
defaultValue: Value | undefined;
}
export interface PipelineSpec_ComponentsEntry {
key: string;
value: ComponentSpec | undefined;
}
/** Definition of a component. */
export interface ComponentSpec {
/** Definition of the input parameters and artifacts of the component. */
inputDefinitions: ComponentInputsSpec | undefined;
/** Definition of the output parameters and artifacts of the component. */
outputDefinitions: ComponentOutputsSpec | undefined;
dag: DagSpec | undefined;
executorLabel: string | undefined;
}
/** A DAG contains multiple tasks. */
export interface DagSpec {
/** The tasks inside the dag. */
tasks: { [key: string]: PipelineTaskSpec };
/** Defines how the outputs of the dag are linked to the sub tasks. */
outputs: DagOutputsSpec | undefined;
}
export interface DagSpec_TasksEntry {
key: string;
value: PipelineTaskSpec | undefined;
}
/** Definition of the output artifacts and parameters of the DAG component. */
export interface DagOutputsSpec {
/** Name to the output artifact channel of the DAG. */
artifacts: { [key: string]: DagOutputsSpec_DagOutputArtifactSpec };
/** The name to the output parameter. */
parameters: { [key: string]: DagOutputsSpec_DagOutputParameterSpec };
}
/** Selects a defined output artifact from a sub task of the DAG. */
export interface DagOutputsSpec_ArtifactSelectorSpec {
/**
* The name of the sub task which produces the output that matches with
* the `output_artifact_key`.
*/
producerSubtask: string;
/** The key of [ComponentOutputsSpec.artifacts][] map of the producer task. */
outputArtifactKey: string;
}
/**
* Selects a list of output artifacts that will be aggregated to the single
* output artifact channel of the DAG.
*/
export interface DagOutputsSpec_DagOutputArtifactSpec {
/**
* The selected artifacts will be aggregated as output as a single
* output channel of the DAG.
*/
artifactSelectors: DagOutputsSpec_ArtifactSelectorSpec[];
}
export interface DagOutputsSpec_ArtifactsEntry {
key: string;
value: DagOutputsSpec_DagOutputArtifactSpec | undefined;
}
/** Selects a defined output parameter from a sub task of the DAG. */
export interface DagOutputsSpec_ParameterSelectorSpec {
/**
* The name of the sub task which produces the output that matches with
* the `output_parameter_key`.
*/
producerSubtask: string;
/** The key of [ComponentOutputsSpec.parameters][] map of the producer task. */
outputParameterKey: string;
}
/** Aggregate output parameters from sub tasks into a list object. */
export interface DagOutputsSpec_ParameterSelectorsSpec {
parameterSelectors: DagOutputsSpec_ParameterSelectorSpec[];
}
/** Aggregates output parameters from sub tasks into a map object. */
export interface DagOutputsSpec_MapParameterSelectorsSpec {
mappedParameters: { [key: string]: DagOutputsSpec_ParameterSelectorSpec };
}
export interface DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry {
key: string;
value: DagOutputsSpec_ParameterSelectorSpec | undefined;
}
/**
* We support four ways to fan-in output parameters from sub tasks to the DAG
* parent task.
* 1. Directly expose a single output parameter from a sub task,
* 2. (Conditional flow) Expose a list of output from multiple tasks
* (some might be skipped) but allows only one of the output being generated.
* 3. Expose a list of outputs from multiple tasks (e.g. iterator flow).
* 4. Expose the aggregation of output parameters as a name-value map.
*/
export interface DagOutputsSpec_DagOutputParameterSpec {
/**
* Returns the sub-task parameter as a DAG parameter. The selected
* parameter must have the same type as the DAG parameter type.
*/
valueFromParameter: DagOutputsSpec_ParameterSelectorSpec | undefined;
/**
* Returns one of the sub-task parameters as a DAG parameter. If there are
* multiple values are available to select, the DAG will fail. All the
* selected parameters must have the same type as the DAG parameter type.
*/
valueFromOneof: DagOutputsSpec_ParameterSelectorsSpec | undefined;
}
export interface DagOutputsSpec_ParametersEntry {
key: string;
value: DagOutputsSpec_DagOutputParameterSpec | undefined;
}
/** Definition specification of the component input parameters and artifacts. */
export interface ComponentInputsSpec {
/** Name to artifact input. */
artifacts: { [key: string]: ComponentInputsSpec_ArtifactSpec };
/** Name to parameter input. */
parameters: { [key: string]: ComponentInputsSpec_ParameterSpec };
}
/** Definition of an artifact input. */
export interface ComponentInputsSpec_ArtifactSpec {
artifactType: ArtifactTypeSchema | undefined;
/** Indicates whether input is a single artifact or list of artifacts */
isArtifactList: boolean;
/**
* Whether this input artifact is optional or not.
* - If required, the artifact must be able to resolve to an artifact
* at runtime.
* - If it's optional, it can be missing from the
* PipelineTaskInputsSpec.InputArtifactSpec (if it's instantiated into a
* task), or can be missing from the runtimeArtifact (if it's the root
* component).
*/
isOptional: boolean;
/**
* The description for this input artifact of the component.
* Should not exceed 1024 characters.
*/
description: string;
}
/** Definition of a parameter input. */
export interface ComponentInputsSpec_ParameterSpec {
/**
* Specifies an input parameter's type.
* Deprecated. Use [ParameterSpec.parameter_type][] instead.
*
* @deprecated
*/
type: PrimitiveType_PrimitiveTypeEnum;
/** Specifies an input parameter's type. */
parameterType: ParameterType_ParameterTypeEnum;
/** Optional field. Default value of the input parameter. */
defaultValue: any | undefined;
/**
* Whether this input parameter is optional or not.
* - If required, the parameter should either have a default value, or have
* to be able to resolve to a concrete value at runtime.
* - If it's optional, it can be missing from the
* PipelineTaskInputsSpec.InputParameterSpec (if it's instantiated into a
* task), or can be missing from the runtimeParameter (if it's the root
* component). If the value is missing, the default_value will be used. Or
* if default_value is not provided, the default value of the parameter's
* type will be used.
*/
isOptional: boolean;
/**
* The description for this input parameter of the component.
* Should not exceed 1024 characters.
*/
description: string;
}
export interface ComponentInputsSpec_ArtifactsEntry {
key: string;
value: ComponentInputsSpec_ArtifactSpec | undefined;
}
export interface ComponentInputsSpec_ParametersEntry {
key: string;
value: ComponentInputsSpec_ParameterSpec | undefined;
}
/** Definition specification of the component output parameters and artifacts. */
export interface ComponentOutputsSpec {
/** Name to artifact output. */
artifacts: { [key: string]: ComponentOutputsSpec_ArtifactSpec };
/** Name to parameter output. */
parameters: { [key: string]: ComponentOutputsSpec_ParameterSpec };
}
/** Definition of an artifact output. */
export interface ComponentOutputsSpec_ArtifactSpec {
artifactType: ArtifactTypeSchema | undefined;
/**
* Deprecated. Use [ArtifactSpec.metadata][] instead.
*
* @deprecated
*/
properties: { [key: string]: ValueOrRuntimeParameter };
/**
* Deprecated. Use [ArtifactSpec.metadata][] instead.
*
* @deprecated
*/
customProperties: { [key: string]: ValueOrRuntimeParameter };
/** Properties of the Artifact. */
metadata: { [key: string]: any } | undefined;
/** Indicates whether output is a single artifact or list of artifacts */
isArtifactList: boolean;
/**
* The description for this output artifact of the component.
* Should not exceed 1024 characters.
*/
description: string;
}
export interface ComponentOutputsSpec_ArtifactSpec_PropertiesEntry {
key: string;
value: ValueOrRuntimeParameter | undefined;
}
export interface ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry {
key: string;
value: ValueOrRuntimeParameter | undefined;
}
/** Definition of a parameter output. */
export interface ComponentOutputsSpec_ParameterSpec {
/**
* Specifies an input parameter's type.
* Deprecated. Use [ParameterSpec.parameter_type][] instead.
*
* @deprecated
*/
type: PrimitiveType_PrimitiveTypeEnum;
/** Specifies an output parameter's type. */
parameterType: ParameterType_ParameterTypeEnum;
/**
* The description for this output parameter of the component.
* Should not exceed 1024 characters.
*/
description: string;
}
export interface ComponentOutputsSpec_ArtifactsEntry {
key: string;
value: ComponentOutputsSpec_ArtifactSpec | undefined;
}
export interface ComponentOutputsSpec_ParametersEntry {
key: string;
value: ComponentOutputsSpec_ParameterSpec | undefined;
}
/** The spec of task inputs. */
export interface TaskInputsSpec {
/**
* A map of input parameters which are small values, stored by the system and
* can be queriable.
*/
parameters: { [key: string]: TaskInputsSpec_InputParameterSpec };
/** A map of input artifacts. */
artifacts: { [key: string]: TaskInputsSpec_InputArtifactSpec };
}
/** The specification of a task input artifact. */
export interface TaskInputsSpec_InputArtifactSpec {
/**
* Pass the input artifact from another task within the same parent
* component.
*/
taskOutputArtifact: TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec | undefined;
/** Pass the input artifact from parent component input artifact. */
componentInputArtifact: string | undefined;
}
export interface TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec {
/**
* The name of the upstream task which produces the output that matches
* with the `output_artifact_key`.
*/
producerTask: string;
/** The key of [TaskOutputsSpec.artifacts][] map of the producer task. */
outputArtifactKey: string;
}
/**
* Represents an input parameter. The value can be taken from an upstream
* task's output parameter (if specifying `producer_task` and
* `output_parameter_key`, or it can be a runtime value, which can either be
* determined at compile-time, or from a pipeline parameter.
*/
export interface TaskInputsSpec_InputParameterSpec {
/** Output parameter from an upstream task. */
taskOutputParameter: TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec | undefined;
/** A constant value or runtime parameter. */
runtimeValue: ValueOrRuntimeParameter | undefined;
/** Pass the input parameter from parent component input parameter. */
componentInputParameter: string | undefined;
/** The final status of an uptream task. */
taskFinalStatus: TaskInputsSpec_InputParameterSpec_TaskFinalStatus | undefined;
/**
* Selector expression of Common Expression Language (CEL)
* that applies to the parameter found from above kind.
*
* The expression is applied to the Value type
* [Value][]. For example,
* 'size(string_value)' will return the size of the Value.string_value.
*
* After applying the selection, the parameter will be returned as a
* [Value][]. The type of the Value is either deferred from the input
* definition in the corresponding
* [ComponentSpec.input_definitions.parameters][], or if not found,
* automatically deferred as either string value or double value.
*
* In addition to the builtin functions in CEL, The value.string_value can
* be treated as a json string and parsed to the [google.protobuf.Value][]
* proto message. Then, the CEL expression provided in this field will be
* used to get the requested field. For examples,
* - if Value.string_value is a json array of "[1.1, 2.2, 3.3]",
* 'parseJson(string_value)[i]' will pass the ith parameter from the list
* to the current task, or
* - if the Value.string_value is a json map of "{"a": 1.1, "b": 2.2,
* "c": 3.3}, 'parseJson(string_value)[key]' will pass the map value from
* the struct map to the current task.
*
* If unset, the value will be passed directly to the current task.
*/
parameterExpressionSelector: string;
}
/** Represents an upstream task's output parameter. */
export interface TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec {
/**
* The name of the upstream task which produces the output parameter that
* matches with the `output_parameter_key`.
*/
producerTask: string;
/** The key of [TaskOutputsSpec.parameters][] map of the producer task. */
outputParameterKey: string;
}
/**
* Represents an upstream task's final status. The field can only be set if
* the schema version is `2.0.0`. The resolved input parameter will be a
* json payload in string type.
*/
export interface TaskInputsSpec_InputParameterSpec_TaskFinalStatus {
/** The name of the upsteram task where the final status is coming from. */
producerTask: string;
}
export interface TaskInputsSpec_ParametersEntry {
key: string;
value: TaskInputsSpec_InputParameterSpec | undefined;
}
export interface TaskInputsSpec_ArtifactsEntry {
key: string;
value: TaskInputsSpec_InputArtifactSpec | undefined;
}
/** The spec of task outputs. */
export interface TaskOutputsSpec {
/**
* A map of output parameters which are small values, stored by the system and
* can be queriable. The output key is used
* by [TaskInputsSpec.InputParameterSpec][] of the downstream task to specify
* the data dependency. The same key will also be used by
* [ExecutorInput.Inputs][] to reference the output parameter.
*/
parameters: { [key: string]: TaskOutputsSpec_OutputParameterSpec };
/**
* A map of output artifacts. Keyed by output key. The output key is used
* by [TaskInputsSpec.InputArtifactSpec][] of the downstream task to specify
* the data dependency. The same key will also be used by
* [ExecutorInput.Inputs][] to reference the output artifact.
*/
artifacts: { [key: string]: TaskOutputsSpec_OutputArtifactSpec };
}
/** The specification of a task output artifact. */
export interface TaskOutputsSpec_OutputArtifactSpec {
/** The type of the artifact. */
artifactType: ArtifactTypeSchema | undefined;
/**
* The properties of the artifact, which are determined either at
* compile-time, or at pipeline submission time through runtime parameters
*/
properties: { [key: string]: ValueOrRuntimeParameter };
/**
* The custom properties of the artifact, which are determined either at
* compile-time, or at pipeline submission time through runtime parameters
*/
customProperties: { [key: string]: ValueOrRuntimeParameter };
}
export interface TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry {
key: string;
value: ValueOrRuntimeParameter | undefined;
}
export interface TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry {
key: string;
value: ValueOrRuntimeParameter | undefined;
}
/** Specification for output parameters produced by the task. */
export interface TaskOutputsSpec_OutputParameterSpec {
/** Required field. The type of the output parameter. */
type: PrimitiveType_PrimitiveTypeEnum;
}
export interface TaskOutputsSpec_ParametersEntry {
key: string;
value: TaskOutputsSpec_OutputParameterSpec | undefined;
}
export interface TaskOutputsSpec_ArtifactsEntry {
key: string;
value: TaskOutputsSpec_OutputArtifactSpec | undefined;
}
/**
* Represent primitive types. The wrapper is needed to give a namespace of
* enum value so we don't need add `PRIMITIVE_TYPE_` prefix of each enum value.
*
* @deprecated
*/
export interface PrimitiveType {}
/**
* The primitive types.
* Deprecated. Use [ParameterType.ParameterTypeEnum][] instead.
*
* @deprecated
*/
export enum PrimitiveType_PrimitiveTypeEnum {
PRIMITIVE_TYPE_UNSPECIFIED = 0,
INT = 1,
DOUBLE = 2,
STRING = 3,
UNRECOGNIZED = -1,
}
export function primitiveType_PrimitiveTypeEnumFromJSON(
object: any,
): PrimitiveType_PrimitiveTypeEnum {
switch (object) {
case 0:
case 'PRIMITIVE_TYPE_UNSPECIFIED':
return PrimitiveType_PrimitiveTypeEnum.PRIMITIVE_TYPE_UNSPECIFIED;
case 1:
case 'INT':
return PrimitiveType_PrimitiveTypeEnum.INT;
case 2:
case 'DOUBLE':
return PrimitiveType_PrimitiveTypeEnum.DOUBLE;
case 3:
case 'STRING':
return PrimitiveType_PrimitiveTypeEnum.STRING;
case -1:
case 'UNRECOGNIZED':
default:
return PrimitiveType_PrimitiveTypeEnum.UNRECOGNIZED;
}
}
export function primitiveType_PrimitiveTypeEnumToJSON(
object: PrimitiveType_PrimitiveTypeEnum,
): string {
switch (object) {
case PrimitiveType_PrimitiveTypeEnum.PRIMITIVE_TYPE_UNSPECIFIED:
return 'PRIMITIVE_TYPE_UNSPECIFIED';
case PrimitiveType_PrimitiveTypeEnum.INT:
return 'INT';
case PrimitiveType_PrimitiveTypeEnum.DOUBLE:
return 'DOUBLE';
case PrimitiveType_PrimitiveTypeEnum.STRING:
return 'STRING';
default:
return 'UNKNOWN';
}
}
/**
* Represent parameter types. The wrapper is needed to give a namespace of
* enum value so we don't need add `PARAMETER_TYPE_` prefix of each enum value.
*/
export interface ParameterType {}
/** The parameter types. */
export enum ParameterType_ParameterTypeEnum {
/** PARAMETER_TYPE_ENUM_UNSPECIFIED - Indicates that the parameter type was not specified. */
PARAMETER_TYPE_ENUM_UNSPECIFIED = 0,
/**
* NUMBER_DOUBLE - Indicates that a parameter is a number that is stored in a field of type
* `double`.
*/
NUMBER_DOUBLE = 1,
/**
* NUMBER_INTEGER - Indicates that a parameter is an integer stored in the `number_field`,
* which is of type `double`. NUMBER_INTEGER values must be within the range
* of JavaScript safe integers (-(2^53 - 1) to (2^53 - 1)). If you need to
* support integers outside the range of JavaScript safe integers, use the
* `STRING` parameter type to describe your parameter.
*/
NUMBER_INTEGER = 2,
/** STRING - Indicates that a parameter is a string. */
STRING = 3,
/** BOOLEAN - Indicates that a parameters is a boolean value. */
BOOLEAN = 4,
/**
* LIST - Indicates that a parameter is a list of values. LIST parameters are
* serialized to JSON when passed as an input or output of a pipeline step.
*/
LIST = 5,
/**
* STRUCT - Indicates that a parameter is a struct value; structs represent a data
* structure like a Python dictionary or a JSON object. STRUCT parameters
* are serialized to JSON when passed as an input or output of a pipeline
* step.
*/
STRUCT = 6,
/**
* TASK_FINAL_STATUS - Indicates that a parameter is a TaskFinalStatus type; these types can only accept inputs
* specified by InputParameterSpec.task_final_status
*/
TASK_FINAL_STATUS = 7,
UNRECOGNIZED = -1,
}
export function parameterType_ParameterTypeEnumFromJSON(
object: any,
): ParameterType_ParameterTypeEnum {
switch (object) {
case 0:
case 'PARAMETER_TYPE_ENUM_UNSPECIFIED':
return ParameterType_ParameterTypeEnum.PARAMETER_TYPE_ENUM_UNSPECIFIED;
case 1:
case 'NUMBER_DOUBLE':
return ParameterType_ParameterTypeEnum.NUMBER_DOUBLE;
case 2:
case 'NUMBER_INTEGER':
return ParameterType_ParameterTypeEnum.NUMBER_INTEGER;
case 3:
case 'STRING':
return ParameterType_ParameterTypeEnum.STRING;
case 4:
case 'BOOLEAN':
return ParameterType_ParameterTypeEnum.BOOLEAN;
case 5:
case 'LIST':
return ParameterType_ParameterTypeEnum.LIST;
case 6:
case 'STRUCT':
return ParameterType_ParameterTypeEnum.STRUCT;
case 7:
case 'TASK_FINAL_STATUS':
return ParameterType_ParameterTypeEnum.TASK_FINAL_STATUS;
case -1:
case 'UNRECOGNIZED':
default:
return ParameterType_ParameterTypeEnum.UNRECOGNIZED;
}
}
export function parameterType_ParameterTypeEnumToJSON(
object: ParameterType_ParameterTypeEnum,
): string {
switch (object) {
case ParameterType_ParameterTypeEnum.PARAMETER_TYPE_ENUM_UNSPECIFIED:
return 'PARAMETER_TYPE_ENUM_UNSPECIFIED';
case ParameterType_ParameterTypeEnum.NUMBER_DOUBLE:
return 'NUMBER_DOUBLE';
case ParameterType_ParameterTypeEnum.NUMBER_INTEGER:
return 'NUMBER_INTEGER';
case ParameterType_ParameterTypeEnum.STRING:
return 'STRING';
case ParameterType_ParameterTypeEnum.BOOLEAN:
return 'BOOLEAN';
case ParameterType_ParameterTypeEnum.LIST:
return 'LIST';
case ParameterType_ParameterTypeEnum.STRUCT:
return 'STRUCT';
case ParameterType_ParameterTypeEnum.TASK_FINAL_STATUS:
return 'TASK_FINAL_STATUS';
default:
return 'UNKNOWN';
}
}
/** The spec of a pipeline task. */
export interface PipelineTaskSpec {
/** Basic info of a pipeline task. */
taskInfo: PipelineTaskInfo | undefined;
/** Specification for task inputs which contains parameters and artifacts. */
inputs: TaskInputsSpec | undefined;
/**
* A list of names of upstream tasks that do not provide input
* artifacts for this task, but nonetheless whose completion this task depends
* on.
*/
dependentTasks: string[];
cachingOptions: PipelineTaskSpec_CachingOptions | undefined;
/**
* Reference to a component. Use this field to define either a DAG or an
* executor.
*/
componentRef: ComponentRef | undefined;
/** Trigger policy of the task. */
triggerPolicy: PipelineTaskSpec_TriggerPolicy | undefined;
/** Iterator to iterate over an artifact input. */
artifactIterator: ArtifactIteratorSpec | undefined;
/** Iterator to iterate over a parameter input. */
parameterIterator: ParameterIteratorSpec | undefined;
/**
* User-configured task-level retry.
* Applicable only to component tasks.
*/
retryPolicy: PipelineTaskSpec_RetryPolicy | undefined;
/** Iterator related settings. */
iteratorPolicy: PipelineTaskSpec_IteratorPolicy | undefined;
}
export interface PipelineTaskSpec_CachingOptions {
/** Whether or not to enable cache for this task. Defaults to false. */
enableCache: boolean;
}
/**
* Trigger policy defines how the task gets triggered. If a task is not
* triggered, it will run into SKIPPED state.
*/
export interface PipelineTaskSpec_TriggerPolicy {
/**
* An expression which will be evaluated into a boolean value. True to
* trigger the task to run. The expression follows the language of
* [CEL Spec][https://github.com/google/cel-spec]. It can access the data
* from [ExecutorInput][] message of the task.
* For example:
* - `inputs.artifacts['model'][0].properties['accuracy']*100 > 90`
* - `inputs.parameters['type'] == 'foo' && inputs.parameters['num'] == 1`
*/
condition: string;
/**
* The trigger strategy of this task. The `strategy` and `condition` are
* in logic "AND", as a task will only be tested for the `condition` when
* the `strategy` is meet.
* Unset or set to default value of TRIGGER_STRATEGY_UNDEFINED behaves the
* same as ALL_UPSTREAM_TASKS_SUCCEEDED.
*/
strategy: PipelineTaskSpec_TriggerPolicy_TriggerStrategy;
}
/**
* An enum defines the trigger strategy of when the task will be ready to be
* triggered.
* ALL_UPSTREAM_TASKS_SUCCEEDED - all upstream tasks in succeeded state.
* ALL_UPSTREAM_TASKS_COMPLETED - all upstream tasks in any final state.
* (Note that CANCELLED is also a final state but job will not trigger new
* tasks when job is in CANCELLING state, so that the task with the trigger
* policy at ALL_UPSTREAM_TASKS_COMPLETED will not start when job
* cancellation is in progress.)
*/
export enum PipelineTaskSpec_TriggerPolicy_TriggerStrategy {
/** TRIGGER_STRATEGY_UNSPECIFIED - Unspecified. Behave the same as ALL_UPSTREAM_TASKS_SUCCEEDED. */
TRIGGER_STRATEGY_UNSPECIFIED = 0,
/** ALL_UPSTREAM_TASKS_SUCCEEDED - Specifies that all upstream tasks are in succeeded state. */
ALL_UPSTREAM_TASKS_SUCCEEDED = 1,
/** ALL_UPSTREAM_TASKS_COMPLETED - Specifies that all upstream tasks are in any final state. */
ALL_UPSTREAM_TASKS_COMPLETED = 2,
UNRECOGNIZED = -1,
}
export function pipelineTaskSpec_TriggerPolicy_TriggerStrategyFromJSON(
object: any,
): PipelineTaskSpec_TriggerPolicy_TriggerStrategy {
switch (object) {
case 0:
case 'TRIGGER_STRATEGY_UNSPECIFIED':
return PipelineTaskSpec_TriggerPolicy_TriggerStrategy.TRIGGER_STRATEGY_UNSPECIFIED;
case 1:
case 'ALL_UPSTREAM_TASKS_SUCCEEDED':
return PipelineTaskSpec_TriggerPolicy_TriggerStrategy.ALL_UPSTREAM_TASKS_SUCCEEDED;
case 2:
case 'ALL_UPSTREAM_TASKS_COMPLETED':
return PipelineTaskSpec_TriggerPolicy_TriggerStrategy.ALL_UPSTREAM_TASKS_COMPLETED;
case -1:
case 'UNRECOGNIZED':
default:
return PipelineTaskSpec_TriggerPolicy_TriggerStrategy.UNRECOGNIZED;
}
}
export function pipelineTaskSpec_TriggerPolicy_TriggerStrategyToJSON(
object: PipelineTaskSpec_TriggerPolicy_TriggerStrategy,
): string {
switch (object) {
case PipelineTaskSpec_TriggerPolicy_TriggerStrategy.TRIGGER_STRATEGY_UNSPECIFIED:
return 'TRIGGER_STRATEGY_UNSPECIFIED';
case PipelineTaskSpec_TriggerPolicy_TriggerStrategy.ALL_UPSTREAM_TASKS_SUCCEEDED:
return 'ALL_UPSTREAM_TASKS_SUCCEEDED';
case PipelineTaskSpec_TriggerPolicy_TriggerStrategy.ALL_UPSTREAM_TASKS_COMPLETED:
return 'ALL_UPSTREAM_TASKS_COMPLETED';
default:
return 'UNKNOWN';
}
}
/** User-configured task-level retry. */
export interface PipelineTaskSpec_RetryPolicy {
/**
* Number of retries before considering a task as failed. Set to 0 or
* unspecified to disallow retry."
*/
maxRetryCount: number;
/** The time interval between retries. Defaults to zero (an immediate retry). */
backoffDuration: Duration | undefined;
/**
* The exponential backoff factor applied to backoff_duration. If
* unspecified, will default to 2.
*/
backoffFactor: number;
/**
* The maximum duration during which the task will be retried according to
* the backoff strategy. Max allowed is 1 hour - higher value will be capped
* to this limit. If unspecified, will set to 1 hour.
*/
backoffMaxDuration: Duration | undefined;
}
/** Iterator related settings. */
export interface PipelineTaskSpec_IteratorPolicy {
/**
* The limit for the number of concurrent sub-tasks spawned by an iterator
* task. The value should be a non-negative integer. A value of 0 represents
* unconstrained parallelism.
*/
parallelismLimit: number;
}
/**
* The spec of an artifact iterator. It supports fan-out a workflow from a list
* of artifacts.
*/
export interface ArtifactIteratorSpec {
/** The items to iterate. */
items: ArtifactIteratorSpec_ItemsSpec | undefined;
/**
* The name of the input artifact channel which has the artifact item from the
* [items][] collection.
*/
itemInput: string;
}
/**
* Specifies the name of the artifact channel which contains the collection of
* items to iterate. The iterator will create a sub-task for each item of
* the collection and pass the item as a new input artifact channel as
* specified by [item_input][].
*/
export interface ArtifactIteratorSpec_ItemsSpec {
/** The name of the input artifact. */
inputArtifact: string;
}
/**
* The spec of a parameter iterator. It supports fan-out a workflow from a
* string parameter which contains a JSON array.
*/
export interface ParameterIteratorSpec {
/** The items to iterate. */
items: ParameterIteratorSpec_ItemsSpec | undefined;
/**
* The name of the input parameter which has the item value from the
* [items][] collection.
*/
itemInput: string;
}
/** Specifies the spec to decribe the parameter items to iterate. */
export interface ParameterIteratorSpec_ItemsSpec {
/** The raw JSON array. */
raw: string | undefined;
/**
* The name of the input parameter whose value has the items collection.
* The parameter must be in STRING type and its content can be parsed
* as a JSON array.
*/
inputParameter: string | undefined;
}
export interface ComponentRef {
/**
* The name of a component. Refer to the key of the
* [PipelineSpec.components][] map.
*/
name: string;
}
/** Basic info of a pipeline. */
export interface PipelineInfo {
/**
* Required field. The name of the pipeline.
* The name will be used to create or find pipeline context in MLMD.
*/
name: string;
/**
* Optional fields. The readable display name for the pipeline template.
* Should not exceed 1024 characters.
*/
displayName: string;
/**
* Optional fields. The readable description for the pipeline template.
* Should not exceed 1024 characters.
*/
description: string;
}
/** The definition of a artifact type in MLMD. */
export interface ArtifactTypeSchema {
/**
* The name of the type. The format of the title must be:
* `<namespace>.<title>`.
* Examples:
* - `aiplatform.Model`
* - `acme.CustomModel`
* When this field is set, the type must be pre-registered in the MLMD
* store.
*/
schemaTitle: string | undefined;
/**
* Points to a YAML file stored on Google Cloud Storage describing the
* format.
* Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or
* [PipelineArtifactTypeSchema.instance_schema][] instead.
*
* @deprecated
*/
schemaUri: string | undefined;
/**
* Contains a raw YAML string, describing the format of
* the properties of the type.
*/
instanceSchema: string | undefined;
/**
* The schema version of the artifact. If the value is not set, it defaults
* to the the latest version in the system.
*/
schemaVersion: string;
}
/** The basic info of a task. */
export interface PipelineTaskInfo {
/** The display name of the task. */
name: string;
}
/**
* Definition for a value or reference to a runtime parameter. A
* ValueOrRuntimeParameter instance can be either a field value that is
* determined during compilation time, or a runtime parameter which will be
* determined during runtime.
*/
export interface ValueOrRuntimeParameter {
/**
* Constant value which is determined in compile time.
* Deprecated. Use [ValueOrRuntimeParameter.constant][] instead.
*
* @deprecated
*/
constantValue: Value | undefined;
/** The runtime parameter refers to the parent component input parameter. */
runtimeParameter: string | undefined;
/** Constant value which is determined in compile time. */
constant: any | undefined;
}
/**
* The definition of the deployment config of the pipeline. It contains the
* the platform specific executor configs for KFP OSS.
*/
export interface PipelineDeploymentConfig {
/** Map from executor label to executor spec. */
executors: { [key: string]: PipelineDeploymentConfig_ExecutorSpec };
}
/**
* The specification on a container invocation.
* The string fields of the message support string based placeholder contract
* defined in [ExecutorInput](). The output of the container follows the
* contract of [ExecutorOutput]().
*/
export interface PipelineDeploymentConfig_PipelineContainerSpec {
/** The image uri of the container. */
image: string;
/**
* The main entrypoint commands of the container to run. If not provided,
* fallback to use the entry point command defined in the container image.
*/
command: string[];
/** The arguments to pass into the main entrypoint of the container. */
args: string[];
/** The lifecycle hooks of the container executor. */
lifecycle: PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle | undefined;
resources: PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec | undefined;
/** Environment variables to be passed to the container. */
env: PipelineDeploymentConfig_PipelineContainerSpec_EnvVar[];
}
/**
* The lifecycle hooks of the container.
* Each hook follows the same I/O contract as the main container entrypoint.
* See [ExecutorInput]() and [ExecutorOutput]() for details.
* (-- TODO(b/165323565): add more documentation on caching and lifecycle
* hooks. --)
*/
export interface PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle {
/**
* This hook is invoked before caching check. It can change the properties
* of the execution and output artifacts before they are used to compute
* the cache key. The updated metadata will be passed into the main
* container entrypoint.
*/
preCacheCheck: PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec | undefined;
}
/** The command and args to execute a program. */
export interface PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec {
/** The command of the exec program. */
command: string[];
/** The args of the exec program. */
args: string[];
}
/**
* The specification on the resource requirements of a container execution.
* This can include specification of vCPU, memory requirements, as well as
* accelerator types and counts.
*/
export interface PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec {
/**
* The limit of the number of vCPU cores. This container execution needs
* at most cpu_limit vCPU to run.
*/
cpuLimit: number;
/**
* The memory limit in GB. This container execution needs at most
* memory_limit RAM to run.
*/
memoryLimit: number;
/**
* The request of the number of vCPU cores. This container execution
* needs at least cpu_request vCPU to run.
*/
cpuRequest: number;
/**
* The memory request in GB. This container execution needs at least
* memory_request RAM to run.
*/
memoryRequest: number;
accelerator:
| PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig
| undefined;
}
/** The specification on the accelerators being attached to this container. */
export interface PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig {
/** The type of accelerators. */
type: string;
/** The number of accelerators. */
count: number;
}
/**
* Environment variables to be passed to the container.
* Represents an environment variable present in a container.
*/
export interface PipelineDeploymentConfig_PipelineContainerSpec_EnvVar {
/**
* Name of the environment variable. Must be a valid C identifier. It can
* be composed of characters such as uppercase, lowercase characters,
* underscore, digits, but the leading character should be either a
* letter or an underscore.
*/
name: string;
/**
* Variables that reference a $(VAR_NAME) are expanded using the previous
* defined environment variables in the container and any environment
* variables defined by the platform runtime that executes this pipeline.
* If a variable cannot be resolved, the reference in the input string
* will be unchanged. The $(VAR_NAME) syntax can be escaped with a double
* $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
* regardless of whether the variable exists or not.
*/
value: string;
}
/** The specification to import or reimport a new artifact to the pipeline. */
export interface PipelineDeploymentConfig_ImporterSpec {
/** The URI of the artifact. */
artifactUri: ValueOrRuntimeParameter | undefined;
/** The type of the artifact. */
typeSchema: ArtifactTypeSchema | undefined;
/**
* The properties of the artifact.
* Deprecated. Use [ImporterSpec.metadata][] instead.
*
* @deprecated
*/
properties: { [key: string]: ValueOrRuntimeParameter };
/**
* The custom properties of the artifact.
* Deprecated. Use [ImporterSpec.metadata][] instead.
*
* @deprecated
*/
customProperties: { [key: string]: ValueOrRuntimeParameter };
/** Properties of the Artifact. */
metadata: { [key: string]: any } | undefined;
/** Whether or not import an artifact regardless it has been imported before. */
reimport: boolean;
}
export interface PipelineDeploymentConfig_ImporterSpec_PropertiesEntry {
key: string;
value: ValueOrRuntimeParameter | undefined;
}
export interface PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry {
key: string;
value: ValueOrRuntimeParameter | undefined;
}
/**
* ResolverSpec resolves artifacts from historical metadata and returns them
* to the pipeline as output artifacts of the resolver task. The downstream
* tasks can consume them as their input artifacts.
*/
export interface PipelineDeploymentConfig_ResolverSpec {
/**
* A list of resolver output definitions. The
* key of the map must be exactly the same as
* the keys in the [PipelineTaskOutputsSpec.artifacts][] map.
* At least one output must be defined.
*/
outputArtifactQueries: { [key: string]: PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec };
}
/** The query to fetch artifacts. */
export interface PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec {
/**
* The filter of the artifact query. The supported syntax are:
* - `in_context("<context name>")`
* - `artifact_type="<artifact type name>"`
* - `uri="<uri>"`
* - `state=<state>`
* - `name="value"`
* - `AND` to combine two conditions and returns when both are true.
* If no `in_context` filter is set, the query will be scoped to the
* the current pipeline context.
*/
filter: string;
/**
* The maximum number of the artifacts to be returned from the
* query. If not defined, the default limit is `1`.
*/
limit: number;
}
export interface PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry {
key: string;
value: PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec | undefined;
}
/** @deprecated */
export interface PipelineDeploymentConfig_AIPlatformCustomJobSpec {
/**
* API Specification for invoking a Google Cloud AI Platform CustomJob.
* The fields must match the field names and structures of CustomJob
* defined in
* https://cloud.google.com/ai-platform-unified/docs/reference/rest/v1beta1/projects.locations.customJobs.
* The field types must be either the same, or be a string containing the
* string based placeholder contract defined in [ExecutorInput](). The
* placeholders will be replaced with the actual value during the runtime
* before the job is launched.
*/
customJob: { [key: string]: any } | undefined;
}
/** The specification of the executor. */
export interface PipelineDeploymentConfig_ExecutorSpec {
/** Starts a container. */
container: PipelineDeploymentConfig_PipelineContainerSpec | undefined;
/** Import an artifact. */
importer: PipelineDeploymentConfig_ImporterSpec | undefined;
/** Resolves an existing artifact. */
resolver: PipelineDeploymentConfig_ResolverSpec | undefined;
/**
* Starts a Google Cloud AI Platform CustomJob.
*
* @deprecated
*/
customJob: PipelineDeploymentConfig_AIPlatformCustomJobSpec | undefined;
}
export interface PipelineDeploymentConfig_ExecutorsEntry {
key: string;
value: PipelineDeploymentConfig_ExecutorSpec | undefined;
}
/** Value is the value of the field. */
export interface Value {
/** An integer value */
intValue: number | undefined;
/** A double value */
doubleValue: number | undefined;
/** A string value */
stringValue: string | undefined;
}
/** The definition of a runtime artifact. */
export interface RuntimeArtifact {
/** The name of an artifact. */
name: string;
/** The type of the artifact. */
type: ArtifactTypeSchema | undefined;
/** The URI of the artifact. */
uri: string;
/**
* The properties of the artifact.
* Deprecated. Use [RuntimeArtifact.metadata][] instead.
*
* @deprecated
*/
properties: { [key: string]: Value };
/**
* The custom properties of the artifact.
* Deprecated. Use [RuntimeArtifact.metadata][] instead.
*
* @deprecated
*/
customProperties: { [key: string]: Value };
/** Properties of the Artifact. */
metadata: { [key: string]: any } | undefined;
}
export interface RuntimeArtifact_PropertiesEntry {
key: string;
value: Value | undefined;
}
export interface RuntimeArtifact_CustomPropertiesEntry {
key: string;
value: Value | undefined;
}
/** Message that represents a list of artifacts. */
export interface ArtifactList {
/** A list of artifacts. */
artifacts: RuntimeArtifact[];
}
/**
* The input of an executor, which includes all the data that
* can be passed into the executor spec by a string based placeholder.
*
* The string based placeholder uses a JSON path to reference to the data
* in the [ExecutionInput]().
*
* `{{$}}`: prints the full [ExecutorInput]() as a JSON string.
* `{{$.inputs.artifacts['<name>'].uri}}`: prints the URI of an input
* artifact.
* `{{$.inputs.artifacts['<name>'].properties['<property name>']}}`: prints
* the
* property of an input artifact.
* `{{$.inputs.parameters['<name>']}}`: prints the value of an input
* parameter.
* `{{$.outputs.artifacts['<name>'].uri}}: prints the URI of an output artifact.
* `{{$.outputs.artifacts['<name>'].properties['<property name>']}}`: prints the
* property of an output artifact.
* `{{$.outputs.parameters['<name>'].output_file}}`: prints a file path which
* points to a file and container can write to it to return the value of the
* parameter..
* `{{$.outputs.output_file}}`: prints a file path of the output metadata file
* which is used to send output metadata from executor to orchestrator. The
* contract of the output metadata is [ExecutorOutput](). When both parameter
* output file and executor output metadata files are set by the container, the
* output metadata file will have higher precedence to set output parameters.
*/
export interface ExecutorInput {
/** The runtime input artifacts of the task invocation. */
inputs: ExecutorInput_Inputs | undefined;
/** The runtime output artifacts of the task invocation. */
outputs: ExecutorInput_Outputs | undefined;
}
/** The runtime inputs data of the execution. */
export interface ExecutorInput_Inputs {
/**
* Input parameters of the execution.
* Deprecated. Use [ExecutorInput.Inputs.parameter_values][] instead.
*
* @deprecated
*/
parameters: { [key: string]: Value };
/** Input artifacts of the execution. */
artifacts: { [key: string]: ArtifactList };
/** Input parameters of the execution. */
parameterValues: { [key: string]: any | undefined };
}
export interface ExecutorInput_Inputs_ParametersEntry {
key: string;
value: Value | undefined;
}
export interface ExecutorInput_Inputs_ArtifactsEntry {
key: string;
value: ArtifactList | undefined;
}
export interface ExecutorInput_Inputs_ParameterValuesEntry {
key: string;
value: any | undefined;
}
/** The runtime output parameter. */
export interface ExecutorInput_OutputParameter {
/**
* The file path which is used by the executor to pass the parameter value
* to the system.
*/
outputFile: string;
}
/** The runtime outputs data of the execution. */
export interface ExecutorInput_Outputs {
/** The runtime output parameters. */
parameters: { [key: string]: ExecutorInput_OutputParameter };
/** The runtime output artifacts. */
artifacts: { [key: string]: ArtifactList };
/**
* The file path of the full output metadata JSON. The schema of the output
* file is [ExecutorOutput][].
*
* When the full output metadata file is set by the container, the output
* parameter files will be ignored.
*/
outputFile: string;
}
export interface ExecutorInput_Outputs_ParametersEntry {
key: string;
value: ExecutorInput_OutputParameter | undefined;
}
export interface ExecutorInput_Outputs_ArtifactsEntry {
key: string;
value: ArtifactList | undefined;
}
/**
* The schema of the output metadata of an execution. It will be used to parse
* the output metadata file.
*/
export interface ExecutorOutput {
/**
* The values for output parameters.
* Deprecated. Use [ExecutorOutput.parameter_values][] instead.
*
* @deprecated
*/
parameters: { [key: string]: Value };
/** The updated metadata for output artifact. */
artifacts: { [key: string]: ArtifactList };
/** The values for output parameters. */
parameterValues: { [key: string]: any | undefined };
}
export interface ExecutorOutput_ParametersEntry {
key: string;
value: Value | undefined;
}
export interface ExecutorOutput_ArtifactsEntry {
key: string;
value: ArtifactList | undefined;
}
export interface ExecutorOutput_ParameterValuesEntry {
key: string;
value: any | undefined;
}
/**
* The final status of a task. The structure will be passed to input parameter
* of kind `task_final_status`.
*/
export interface PipelineTaskFinalStatus {
/**
* The final state of the task.
* The value is the string version of [PipelineStateEnum.PipelineTaskState][]
*/
state: string;
/** The error of the task. */
error: Status | undefined;
/**
* The pipeline job unique id.
*
* @deprecated
*/
pipelineJobUuid: number;
/**
* The pipeline job name from the [PipelineJob.name][].
*
* @deprecated
*/
pipelineJobName: string;
/**
* The pipeline job resource name, in the format of
* `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`.
*/
pipelineJobResourceName: string;
/** The pipeline task that produces this status. */
pipelineTaskName: string;
}
export interface PipelineStateEnum {}
export enum PipelineStateEnum_PipelineTaskState {
TASK_STATE_UNSPECIFIED = 0,
PENDING = 1,
RUNNING_DRIVER = 2,
DRIVER_SUCCEEDED = 3,
RUNNING_EXECUTOR = 4,
SUCCEEDED = 5,
CANCEL_PENDING = 6,
CANCELLING = 7,
CANCELLED = 8,
FAILED = 9,
/** SKIPPED - Indicates that the task is skipped to run due to a cache hit. */
SKIPPED = 10,
/**
* QUEUED - Indicates that the task was just populated to the DB but not ready to
* be scheduled. Once job handler determined the task being ready to
* be scheduled, the task state will change to PENDING. The state
* transition is depicted below:
* * QUEUED(not ready to run) --> PENDING(ready to run) --> RUNNING
*/
QUEUED = 11,
/**
* NOT_TRIGGERED - Indicates that the task is not triggered based on the
* [PipelineTaskSpec.TriggerPolicy.condition][] config.
*/
NOT_TRIGGERED = 12,
/**
* UNSCHEDULABLE - Indicates that the tasks will no longer be schedulable. Usually a task
* was set to this state because its all upstream tasks are in final state
* but the [PipelineTaskSpec.TriggerPolicy.strategy][] disallows the task to
* be triggered.
* The difference between `NOT_TRIGGERED` is that `UNSCHEDULABLE` must met
* [PipelineTaskSpec.TriggerPolicy.strategy][], but must not met the
* [PipelineTaskSpec.TriggerPolicy.condition][].
*/
UNSCHEDULABLE = 13,
UNRECOGNIZED = -1,
}
export function pipelineStateEnum_PipelineTaskStateFromJSON(
object: any,
): PipelineStateEnum_PipelineTaskState {
switch (object) {
case 0:
case 'TASK_STATE_UNSPECIFIED':
return PipelineStateEnum_PipelineTaskState.TASK_STATE_UNSPECIFIED;
case 1:
case 'PENDING':
return PipelineStateEnum_PipelineTaskState.PENDING;
case 2:
case 'RUNNING_DRIVER':
return PipelineStateEnum_PipelineTaskState.RUNNING_DRIVER;
case 3:
case 'DRIVER_SUCCEEDED':
return PipelineStateEnum_PipelineTaskState.DRIVER_SUCCEEDED;
case 4:
case 'RUNNING_EXECUTOR':
return PipelineStateEnum_PipelineTaskState.RUNNING_EXECUTOR;
case 5:
case 'SUCCEEDED':
return PipelineStateEnum_PipelineTaskState.SUCCEEDED;
case 6:
case 'CANCEL_PENDING':
return PipelineStateEnum_PipelineTaskState.CANCEL_PENDING;
case 7:
case 'CANCELLING':
return PipelineStateEnum_PipelineTaskState.CANCELLING;
case 8:
case 'CANCELLED':
return PipelineStateEnum_PipelineTaskState.CANCELLED;
case 9:
case 'FAILED':
return PipelineStateEnum_PipelineTaskState.FAILED;
case 10:
case 'SKIPPED':
return PipelineStateEnum_PipelineTaskState.SKIPPED;
case 11:
case 'QUEUED':
return PipelineStateEnum_PipelineTaskState.QUEUED;
case 12:
case 'NOT_TRIGGERED':
return PipelineStateEnum_PipelineTaskState.NOT_TRIGGERED;
case 13:
case 'UNSCHEDULABLE':
return PipelineStateEnum_PipelineTaskState.UNSCHEDULABLE;
case -1:
case 'UNRECOGNIZED':
default:
return PipelineStateEnum_PipelineTaskState.UNRECOGNIZED;
}
}
export function pipelineStateEnum_PipelineTaskStateToJSON(
object: PipelineStateEnum_PipelineTaskState,
): string {
switch (object) {
case PipelineStateEnum_PipelineTaskState.TASK_STATE_UNSPECIFIED:
return 'TASK_STATE_UNSPECIFIED';
case PipelineStateEnum_PipelineTaskState.PENDING:
return 'PENDING';
case PipelineStateEnum_PipelineTaskState.RUNNING_DRIVER:
return 'RUNNING_DRIVER';
case PipelineStateEnum_PipelineTaskState.DRIVER_SUCCEEDED:
return 'DRIVER_SUCCEEDED';
case PipelineStateEnum_PipelineTaskState.RUNNING_EXECUTOR:
return 'RUNNING_EXECUTOR';
case PipelineStateEnum_PipelineTaskState.SUCCEEDED:
return 'SUCCEEDED';
case PipelineStateEnum_PipelineTaskState.CANCEL_PENDING:
return 'CANCEL_PENDING';
case PipelineStateEnum_PipelineTaskState.CANCELLING:
return 'CANCELLING';
case PipelineStateEnum_PipelineTaskState.CANCELLED:
return 'CANCELLED';
case PipelineStateEnum_PipelineTaskState.FAILED:
return 'FAILED';
case PipelineStateEnum_PipelineTaskState.SKIPPED:
return 'SKIPPED';
case PipelineStateEnum_PipelineTaskState.QUEUED:
return 'QUEUED';
case PipelineStateEnum_PipelineTaskState.NOT_TRIGGERED:
return 'NOT_TRIGGERED';
case PipelineStateEnum_PipelineTaskState.UNSCHEDULABLE:
return 'UNSCHEDULABLE';
default:
return 'UNKNOWN';
}
}
/** Spec for all platforms; second document in IR */
export interface PlatformSpec {
/** Platform key to full platform config */
platforms: { [key: string]: SinglePlatformSpec };
}
export interface PlatformSpec_PlatformsEntry {
key: string;
value: SinglePlatformSpec | undefined;
}
export interface SinglePlatformSpec {
/** Mirrors PipelineSpec.deployment_spec structure */
deploymentSpec: PlatformDeploymentConfig | undefined;
}
export interface PlatformDeploymentConfig {
/**
* Map of executor label to executor-level config
* Mirrors PipelineSpec.deployment_spec.executors structure
*/
executors: { [key: string]: { [key: string]: any } | undefined };
}
export interface PlatformDeploymentConfig_ExecutorsEntry {
key: string;
value: { [key: string]: any } | undefined;
}
const basePipelineJob: object = { name: '', displayName: '' };
export const PipelineJob = {
encode(message: PipelineJob, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.name !== '') {
writer.uint32(10).string(message.name);
}
if (message.displayName !== '') {
writer.uint32(18).string(message.displayName);
}
if (message.pipelineSpec !== undefined) {
Struct.encode(Struct.wrap(message.pipelineSpec), writer.uint32(58).fork()).ldelim();
}
Object.entries(message.labels).forEach(([key, value]) => {
PipelineJob_LabelsEntry.encode({ key: key as any, value }, writer.uint32(90).fork()).ldelim();
});
if (message.runtimeConfig !== undefined) {
PipelineJob_RuntimeConfig.encode(message.runtimeConfig, writer.uint32(98).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineJob {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineJob } as PipelineJob;
message.labels = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.name = reader.string();
break;
case 2:
message.displayName = reader.string();
break;
case 7:
message.pipelineSpec = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
case 11:
const entry11 = PipelineJob_LabelsEntry.decode(reader, reader.uint32());
if (entry11.value !== undefined) {
message.labels[entry11.key] = entry11.value;
}
break;
case 12:
message.runtimeConfig = PipelineJob_RuntimeConfig.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineJob {
const message = { ...basePipelineJob } as PipelineJob;
message.name = object.name !== undefined && object.name !== null ? String(object.name) : '';
message.displayName =
object.displayName !== undefined && object.displayName !== null
? String(object.displayName)
: '';
message.pipelineSpec =
typeof object.pipelineSpec === 'object' ? object.pipelineSpec : undefined;
message.labels = Object.entries(object.labels ?? {}).reduce<{ [key: string]: string }>(
(acc, [key, value]) => {
acc[key] = String(value);
return acc;
},
{},
);
message.runtimeConfig =
object.runtimeConfig !== undefined && object.runtimeConfig !== null
? PipelineJob_RuntimeConfig.fromJSON(object.runtimeConfig)
: undefined;
return message;
},
toJSON(message: PipelineJob): unknown {
const obj: any = {};
message.name !== undefined && (obj.name = message.name);
message.displayName !== undefined && (obj.displayName = message.displayName);
message.pipelineSpec !== undefined && (obj.pipelineSpec = message.pipelineSpec);
obj.labels = {};
if (message.labels) {
Object.entries(message.labels).forEach(([k, v]) => {
obj.labels[k] = v;
});
}
message.runtimeConfig !== undefined &&
(obj.runtimeConfig = message.runtimeConfig
? PipelineJob_RuntimeConfig.toJSON(message.runtimeConfig)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineJob>, I>>(object: I): PipelineJob {
const message = { ...basePipelineJob } as PipelineJob;
message.name = object.name ?? '';
message.displayName = object.displayName ?? '';
message.pipelineSpec = object.pipelineSpec ?? undefined;
message.labels = Object.entries(object.labels ?? {}).reduce<{ [key: string]: string }>(
(acc, [key, value]) => {
if (value !== undefined) {
acc[key] = String(value);
}
return acc;
},
{},
);
message.runtimeConfig =
object.runtimeConfig !== undefined && object.runtimeConfig !== null
? PipelineJob_RuntimeConfig.fromPartial(object.runtimeConfig)
: undefined;
return message;
},
};
const basePipelineJob_LabelsEntry: object = { key: '', value: '' };
export const PipelineJob_LabelsEntry = {
encode(message: PipelineJob_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== '') {
writer.uint32(18).string(message.value);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineJob_LabelsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineJob_LabelsEntry } as PipelineJob_LabelsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineJob_LabelsEntry {
const message = { ...basePipelineJob_LabelsEntry } as PipelineJob_LabelsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value = object.value !== undefined && object.value !== null ? String(object.value) : '';
return message;
},
toJSON(message: PipelineJob_LabelsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined && (obj.value = message.value);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineJob_LabelsEntry>, I>>(
object: I,
): PipelineJob_LabelsEntry {
const message = { ...basePipelineJob_LabelsEntry } as PipelineJob_LabelsEntry;
message.key = object.key ?? '';
message.value = object.value ?? '';
return message;
},
};
const basePipelineJob_RuntimeConfig: object = { gcsOutputDirectory: '' };
export const PipelineJob_RuntimeConfig = {
encode(message: PipelineJob_RuntimeConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.parameters).forEach(([key, value]) => {
PipelineJob_RuntimeConfig_ParametersEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
if (message.gcsOutputDirectory !== '') {
writer.uint32(18).string(message.gcsOutputDirectory);
}
Object.entries(message.parameterValues).forEach(([key, value]) => {
if (value !== undefined) {
PipelineJob_RuntimeConfig_ParameterValuesEntry.encode(
{ key: key as any, value },
writer.uint32(26).fork(),
).ldelim();
}
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineJob_RuntimeConfig {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineJob_RuntimeConfig } as PipelineJob_RuntimeConfig;
message.parameters = {};
message.parameterValues = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = PipelineJob_RuntimeConfig_ParametersEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.parameters[entry1.key] = entry1.value;
}
break;
case 2:
message.gcsOutputDirectory = reader.string();
break;
case 3:
const entry3 = PipelineJob_RuntimeConfig_ParameterValuesEntry.decode(
reader,
reader.uint32(),
);
if (entry3.value !== undefined) {
message.parameterValues[entry3.key] = entry3.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineJob_RuntimeConfig {
const message = { ...basePipelineJob_RuntimeConfig } as PipelineJob_RuntimeConfig;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{ [key: string]: Value }>(
(acc, [key, value]) => {
acc[key] = Value.fromJSON(value);
return acc;
},
{},
);
message.gcsOutputDirectory =
object.gcsOutputDirectory !== undefined && object.gcsOutputDirectory !== null
? String(object.gcsOutputDirectory)
: '';
message.parameterValues = Object.entries(object.parameterValues ?? {}).reduce<{
[key: string]: any | undefined;
}>((acc, [key, value]) => {
acc[key] = value as any | undefined;
return acc;
}, {});
return message;
},
toJSON(message: PipelineJob_RuntimeConfig): unknown {
const obj: any = {};
obj.parameters = {};
if (message.parameters) {
Object.entries(message.parameters).forEach(([k, v]) => {
obj.parameters[k] = Value.toJSON(v);
});
}
message.gcsOutputDirectory !== undefined &&
(obj.gcsOutputDirectory = message.gcsOutputDirectory);
obj.parameterValues = {};
if (message.parameterValues) {
Object.entries(message.parameterValues).forEach(([k, v]) => {
obj.parameterValues[k] = v;
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineJob_RuntimeConfig>, I>>(
object: I,
): PipelineJob_RuntimeConfig {
const message = { ...basePipelineJob_RuntimeConfig } as PipelineJob_RuntimeConfig;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{ [key: string]: Value }>(
(acc, [key, value]) => {
if (value !== undefined) {
acc[key] = Value.fromPartial(value);
}
return acc;
},
{},
);
message.gcsOutputDirectory = object.gcsOutputDirectory ?? '';
message.parameterValues = Object.entries(object.parameterValues ?? {}).reduce<{
[key: string]: any | undefined;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = value;
}
return acc;
}, {});
return message;
},
};
const basePipelineJob_RuntimeConfig_ParametersEntry: object = { key: '' };
export const PipelineJob_RuntimeConfig_ParametersEntry = {
encode(
message: PipelineJob_RuntimeConfig_ParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineJob_RuntimeConfig_ParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineJob_RuntimeConfig_ParametersEntry,
} as PipelineJob_RuntimeConfig_ParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineJob_RuntimeConfig_ParametersEntry {
const message = {
...basePipelineJob_RuntimeConfig_ParametersEntry,
} as PipelineJob_RuntimeConfig_ParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: PipelineJob_RuntimeConfig_ParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? Value.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineJob_RuntimeConfig_ParametersEntry>, I>>(
object: I,
): PipelineJob_RuntimeConfig_ParametersEntry {
const message = {
...basePipelineJob_RuntimeConfig_ParametersEntry,
} as PipelineJob_RuntimeConfig_ParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromPartial(object.value)
: undefined;
return message;
},
};
const basePipelineJob_RuntimeConfig_ParameterValuesEntry: object = { key: '' };
export const PipelineJob_RuntimeConfig_ParameterValuesEntry = {
encode(
message: PipelineJob_RuntimeConfig_ParameterValuesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value1.encode(Value1.wrap(message.value), writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineJob_RuntimeConfig_ParameterValuesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineJob_RuntimeConfig_ParameterValuesEntry,
} as PipelineJob_RuntimeConfig_ParameterValuesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value1.unwrap(Value1.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineJob_RuntimeConfig_ParameterValuesEntry {
const message = {
...basePipelineJob_RuntimeConfig_ParameterValuesEntry,
} as PipelineJob_RuntimeConfig_ParameterValuesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value = object.value;
return message;
},
toJSON(message: PipelineJob_RuntimeConfig_ParameterValuesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined && (obj.value = message.value);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineJob_RuntimeConfig_ParameterValuesEntry>, I>>(
object: I,
): PipelineJob_RuntimeConfig_ParameterValuesEntry {
const message = {
...basePipelineJob_RuntimeConfig_ParameterValuesEntry,
} as PipelineJob_RuntimeConfig_ParameterValuesEntry;
message.key = object.key ?? '';
message.value = object.value ?? undefined;
return message;
},
};
const basePipelineSpec: object = { sdkVersion: '', schemaVersion: '', defaultPipelineRoot: '' };
export const PipelineSpec = {
encode(message: PipelineSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.pipelineInfo !== undefined) {
PipelineInfo.encode(message.pipelineInfo, writer.uint32(10).fork()).ldelim();
}
if (message.deploymentSpec !== undefined) {
Struct.encode(Struct.wrap(message.deploymentSpec), writer.uint32(58).fork()).ldelim();
}
if (message.sdkVersion !== '') {
writer.uint32(34).string(message.sdkVersion);
}
if (message.schemaVersion !== '') {
writer.uint32(42).string(message.schemaVersion);
}
Object.entries(message.components).forEach(([key, value]) => {
PipelineSpec_ComponentsEntry.encode(
{ key: key as any, value },
writer.uint32(66).fork(),
).ldelim();
});
if (message.root !== undefined) {
ComponentSpec.encode(message.root, writer.uint32(74).fork()).ldelim();
}
if (message.defaultPipelineRoot !== '') {
writer.uint32(82).string(message.defaultPipelineRoot);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineSpec } as PipelineSpec;
message.components = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.pipelineInfo = PipelineInfo.decode(reader, reader.uint32());
break;
case 7:
message.deploymentSpec = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
case 4:
message.sdkVersion = reader.string();
break;
case 5:
message.schemaVersion = reader.string();
break;
case 8:
const entry8 = PipelineSpec_ComponentsEntry.decode(reader, reader.uint32());
if (entry8.value !== undefined) {
message.components[entry8.key] = entry8.value;
}
break;
case 9:
message.root = ComponentSpec.decode(reader, reader.uint32());
break;
case 10:
message.defaultPipelineRoot = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineSpec {
const message = { ...basePipelineSpec } as PipelineSpec;
message.pipelineInfo =
object.pipelineInfo !== undefined && object.pipelineInfo !== null
? PipelineInfo.fromJSON(object.pipelineInfo)
: undefined;
message.deploymentSpec =
typeof object.deploymentSpec === 'object' ? object.deploymentSpec : undefined;
message.sdkVersion =
object.sdkVersion !== undefined && object.sdkVersion !== null
? String(object.sdkVersion)
: '';
message.schemaVersion =
object.schemaVersion !== undefined && object.schemaVersion !== null
? String(object.schemaVersion)
: '';
message.components = Object.entries(object.components ?? {}).reduce<{
[key: string]: ComponentSpec;
}>((acc, [key, value]) => {
acc[key] = ComponentSpec.fromJSON(value);
return acc;
}, {});
message.root =
object.root !== undefined && object.root !== null
? ComponentSpec.fromJSON(object.root)
: undefined;
message.defaultPipelineRoot =
object.defaultPipelineRoot !== undefined && object.defaultPipelineRoot !== null
? String(object.defaultPipelineRoot)
: '';
return message;
},
toJSON(message: PipelineSpec): unknown {
const obj: any = {};
message.pipelineInfo !== undefined &&
(obj.pipelineInfo = message.pipelineInfo
? PipelineInfo.toJSON(message.pipelineInfo)
: undefined);
message.deploymentSpec !== undefined && (obj.deploymentSpec = message.deploymentSpec);
message.sdkVersion !== undefined && (obj.sdkVersion = message.sdkVersion);
message.schemaVersion !== undefined && (obj.schemaVersion = message.schemaVersion);
obj.components = {};
if (message.components) {
Object.entries(message.components).forEach(([k, v]) => {
obj.components[k] = ComponentSpec.toJSON(v);
});
}
message.root !== undefined &&
(obj.root = message.root ? ComponentSpec.toJSON(message.root) : undefined);
message.defaultPipelineRoot !== undefined &&
(obj.defaultPipelineRoot = message.defaultPipelineRoot);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineSpec>, I>>(object: I): PipelineSpec {
const message = { ...basePipelineSpec } as PipelineSpec;
message.pipelineInfo =
object.pipelineInfo !== undefined && object.pipelineInfo !== null
? PipelineInfo.fromPartial(object.pipelineInfo)
: undefined;
message.deploymentSpec = object.deploymentSpec ?? undefined;
message.sdkVersion = object.sdkVersion ?? '';
message.schemaVersion = object.schemaVersion ?? '';
message.components = Object.entries(object.components ?? {}).reduce<{
[key: string]: ComponentSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ComponentSpec.fromPartial(value);
}
return acc;
}, {});
message.root =
object.root !== undefined && object.root !== null
? ComponentSpec.fromPartial(object.root)
: undefined;
message.defaultPipelineRoot = object.defaultPipelineRoot ?? '';
return message;
},
};
const basePipelineSpec_RuntimeParameter: object = { type: 0 };
export const PipelineSpec_RuntimeParameter = {
encode(
message: PipelineSpec_RuntimeParameter,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.type !== 0) {
writer.uint32(8).int32(message.type);
}
if (message.defaultValue !== undefined) {
Value.encode(message.defaultValue, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineSpec_RuntimeParameter {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineSpec_RuntimeParameter } as PipelineSpec_RuntimeParameter;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.type = reader.int32() as any;
break;
case 2:
message.defaultValue = Value.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineSpec_RuntimeParameter {
const message = { ...basePipelineSpec_RuntimeParameter } as PipelineSpec_RuntimeParameter;
message.type =
object.type !== undefined && object.type !== null
? primitiveType_PrimitiveTypeEnumFromJSON(object.type)
: 0;
message.defaultValue =
object.defaultValue !== undefined && object.defaultValue !== null
? Value.fromJSON(object.defaultValue)
: undefined;
return message;
},
toJSON(message: PipelineSpec_RuntimeParameter): unknown {
const obj: any = {};
message.type !== undefined && (obj.type = primitiveType_PrimitiveTypeEnumToJSON(message.type));
message.defaultValue !== undefined &&
(obj.defaultValue = message.defaultValue ? Value.toJSON(message.defaultValue) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineSpec_RuntimeParameter>, I>>(
object: I,
): PipelineSpec_RuntimeParameter {
const message = { ...basePipelineSpec_RuntimeParameter } as PipelineSpec_RuntimeParameter;
message.type = object.type ?? 0;
message.defaultValue =
object.defaultValue !== undefined && object.defaultValue !== null
? Value.fromPartial(object.defaultValue)
: undefined;
return message;
},
};
const basePipelineSpec_ComponentsEntry: object = { key: '' };
export const PipelineSpec_ComponentsEntry = {
encode(
message: PipelineSpec_ComponentsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ComponentSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineSpec_ComponentsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineSpec_ComponentsEntry } as PipelineSpec_ComponentsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ComponentSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineSpec_ComponentsEntry {
const message = { ...basePipelineSpec_ComponentsEntry } as PipelineSpec_ComponentsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ComponentSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: PipelineSpec_ComponentsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ComponentSpec.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineSpec_ComponentsEntry>, I>>(
object: I,
): PipelineSpec_ComponentsEntry {
const message = { ...basePipelineSpec_ComponentsEntry } as PipelineSpec_ComponentsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ComponentSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseComponentSpec: object = {};
export const ComponentSpec = {
encode(message: ComponentSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.inputDefinitions !== undefined) {
ComponentInputsSpec.encode(message.inputDefinitions, writer.uint32(10).fork()).ldelim();
}
if (message.outputDefinitions !== undefined) {
ComponentOutputsSpec.encode(message.outputDefinitions, writer.uint32(18).fork()).ldelim();
}
if (message.dag !== undefined) {
DagSpec.encode(message.dag, writer.uint32(26).fork()).ldelim();
}
if (message.executorLabel !== undefined) {
writer.uint32(34).string(message.executorLabel);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseComponentSpec } as ComponentSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.inputDefinitions = ComponentInputsSpec.decode(reader, reader.uint32());
break;
case 2:
message.outputDefinitions = ComponentOutputsSpec.decode(reader, reader.uint32());
break;
case 3:
message.dag = DagSpec.decode(reader, reader.uint32());
break;
case 4:
message.executorLabel = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentSpec {
const message = { ...baseComponentSpec } as ComponentSpec;
message.inputDefinitions =
object.inputDefinitions !== undefined && object.inputDefinitions !== null
? ComponentInputsSpec.fromJSON(object.inputDefinitions)
: undefined;
message.outputDefinitions =
object.outputDefinitions !== undefined && object.outputDefinitions !== null
? ComponentOutputsSpec.fromJSON(object.outputDefinitions)
: undefined;
message.dag =
object.dag !== undefined && object.dag !== null ? DagSpec.fromJSON(object.dag) : undefined;
message.executorLabel =
object.executorLabel !== undefined && object.executorLabel !== null
? String(object.executorLabel)
: undefined;
return message;
},
toJSON(message: ComponentSpec): unknown {
const obj: any = {};
message.inputDefinitions !== undefined &&
(obj.inputDefinitions = message.inputDefinitions
? ComponentInputsSpec.toJSON(message.inputDefinitions)
: undefined);
message.outputDefinitions !== undefined &&
(obj.outputDefinitions = message.outputDefinitions
? ComponentOutputsSpec.toJSON(message.outputDefinitions)
: undefined);
message.dag !== undefined && (obj.dag = message.dag ? DagSpec.toJSON(message.dag) : undefined);
message.executorLabel !== undefined && (obj.executorLabel = message.executorLabel);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentSpec>, I>>(object: I): ComponentSpec {
const message = { ...baseComponentSpec } as ComponentSpec;
message.inputDefinitions =
object.inputDefinitions !== undefined && object.inputDefinitions !== null
? ComponentInputsSpec.fromPartial(object.inputDefinitions)
: undefined;
message.outputDefinitions =
object.outputDefinitions !== undefined && object.outputDefinitions !== null
? ComponentOutputsSpec.fromPartial(object.outputDefinitions)
: undefined;
message.dag =
object.dag !== undefined && object.dag !== null ? DagSpec.fromPartial(object.dag) : undefined;
message.executorLabel = object.executorLabel ?? undefined;
return message;
},
};
const baseDagSpec: object = {};
export const DagSpec = {
encode(message: DagSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.tasks).forEach(([key, value]) => {
DagSpec_TasksEntry.encode({ key: key as any, value }, writer.uint32(10).fork()).ldelim();
});
if (message.outputs !== undefined) {
DagOutputsSpec.encode(message.outputs, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseDagSpec } as DagSpec;
message.tasks = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = DagSpec_TasksEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.tasks[entry1.key] = entry1.value;
}
break;
case 2:
message.outputs = DagOutputsSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagSpec {
const message = { ...baseDagSpec } as DagSpec;
message.tasks = Object.entries(object.tasks ?? {}).reduce<{ [key: string]: PipelineTaskSpec }>(
(acc, [key, value]) => {
acc[key] = PipelineTaskSpec.fromJSON(value);
return acc;
},
{},
);
message.outputs =
object.outputs !== undefined && object.outputs !== null
? DagOutputsSpec.fromJSON(object.outputs)
: undefined;
return message;
},
toJSON(message: DagSpec): unknown {
const obj: any = {};
obj.tasks = {};
if (message.tasks) {
Object.entries(message.tasks).forEach(([k, v]) => {
obj.tasks[k] = PipelineTaskSpec.toJSON(v);
});
}
message.outputs !== undefined &&
(obj.outputs = message.outputs ? DagOutputsSpec.toJSON(message.outputs) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagSpec>, I>>(object: I): DagSpec {
const message = { ...baseDagSpec } as DagSpec;
message.tasks = Object.entries(object.tasks ?? {}).reduce<{ [key: string]: PipelineTaskSpec }>(
(acc, [key, value]) => {
if (value !== undefined) {
acc[key] = PipelineTaskSpec.fromPartial(value);
}
return acc;
},
{},
);
message.outputs =
object.outputs !== undefined && object.outputs !== null
? DagOutputsSpec.fromPartial(object.outputs)
: undefined;
return message;
},
};
const baseDagSpec_TasksEntry: object = { key: '' };
export const DagSpec_TasksEntry = {
encode(message: DagSpec_TasksEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
PipelineTaskSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagSpec_TasksEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseDagSpec_TasksEntry } as DagSpec_TasksEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = PipelineTaskSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagSpec_TasksEntry {
const message = { ...baseDagSpec_TasksEntry } as DagSpec_TasksEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? PipelineTaskSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: DagSpec_TasksEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? PipelineTaskSpec.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagSpec_TasksEntry>, I>>(object: I): DagSpec_TasksEntry {
const message = { ...baseDagSpec_TasksEntry } as DagSpec_TasksEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? PipelineTaskSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseDagOutputsSpec: object = {};
export const DagOutputsSpec = {
encode(message: DagOutputsSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.artifacts).forEach(([key, value]) => {
DagOutputsSpec_ArtifactsEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
Object.entries(message.parameters).forEach(([key, value]) => {
DagOutputsSpec_ParametersEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagOutputsSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseDagOutputsSpec } as DagOutputsSpec;
message.artifacts = {};
message.parameters = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = DagOutputsSpec_ArtifactsEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.artifacts[entry1.key] = entry1.value;
}
break;
case 2:
const entry2 = DagOutputsSpec_ParametersEntry.decode(reader, reader.uint32());
if (entry2.value !== undefined) {
message.parameters[entry2.key] = entry2.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec {
const message = { ...baseDagOutputsSpec } as DagOutputsSpec;
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: DagOutputsSpec_DagOutputArtifactSpec;
}>((acc, [key, value]) => {
acc[key] = DagOutputsSpec_DagOutputArtifactSpec.fromJSON(value);
return acc;
}, {});
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: DagOutputsSpec_DagOutputParameterSpec;
}>((acc, [key, value]) => {
acc[key] = DagOutputsSpec_DagOutputParameterSpec.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: DagOutputsSpec): unknown {
const obj: any = {};
obj.artifacts = {};
if (message.artifacts) {
Object.entries(message.artifacts).forEach(([k, v]) => {
obj.artifacts[k] = DagOutputsSpec_DagOutputArtifactSpec.toJSON(v);
});
}
obj.parameters = {};
if (message.parameters) {
Object.entries(message.parameters).forEach(([k, v]) => {
obj.parameters[k] = DagOutputsSpec_DagOutputParameterSpec.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagOutputsSpec>, I>>(object: I): DagOutputsSpec {
const message = { ...baseDagOutputsSpec } as DagOutputsSpec;
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: DagOutputsSpec_DagOutputArtifactSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = DagOutputsSpec_DagOutputArtifactSpec.fromPartial(value);
}
return acc;
}, {});
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: DagOutputsSpec_DagOutputParameterSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = DagOutputsSpec_DagOutputParameterSpec.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const baseDagOutputsSpec_ArtifactSelectorSpec: object = {
producerSubtask: '',
outputArtifactKey: '',
};
export const DagOutputsSpec_ArtifactSelectorSpec = {
encode(
message: DagOutputsSpec_ArtifactSelectorSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.producerSubtask !== '') {
writer.uint32(10).string(message.producerSubtask);
}
if (message.outputArtifactKey !== '') {
writer.uint32(18).string(message.outputArtifactKey);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagOutputsSpec_ArtifactSelectorSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseDagOutputsSpec_ArtifactSelectorSpec,
} as DagOutputsSpec_ArtifactSelectorSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.producerSubtask = reader.string();
break;
case 2:
message.outputArtifactKey = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec_ArtifactSelectorSpec {
const message = {
...baseDagOutputsSpec_ArtifactSelectorSpec,
} as DagOutputsSpec_ArtifactSelectorSpec;
message.producerSubtask =
object.producerSubtask !== undefined && object.producerSubtask !== null
? String(object.producerSubtask)
: '';
message.outputArtifactKey =
object.outputArtifactKey !== undefined && object.outputArtifactKey !== null
? String(object.outputArtifactKey)
: '';
return message;
},
toJSON(message: DagOutputsSpec_ArtifactSelectorSpec): unknown {
const obj: any = {};
message.producerSubtask !== undefined && (obj.producerSubtask = message.producerSubtask);
message.outputArtifactKey !== undefined && (obj.outputArtifactKey = message.outputArtifactKey);
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagOutputsSpec_ArtifactSelectorSpec>, I>>(
object: I,
): DagOutputsSpec_ArtifactSelectorSpec {
const message = {
...baseDagOutputsSpec_ArtifactSelectorSpec,
} as DagOutputsSpec_ArtifactSelectorSpec;
message.producerSubtask = object.producerSubtask ?? '';
message.outputArtifactKey = object.outputArtifactKey ?? '';
return message;
},
};
const baseDagOutputsSpec_DagOutputArtifactSpec: object = {};
export const DagOutputsSpec_DagOutputArtifactSpec = {
encode(
message: DagOutputsSpec_DagOutputArtifactSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
for (const v of message.artifactSelectors) {
DagOutputsSpec_ArtifactSelectorSpec.encode(v!, writer.uint32(10).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagOutputsSpec_DagOutputArtifactSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseDagOutputsSpec_DagOutputArtifactSpec,
} as DagOutputsSpec_DagOutputArtifactSpec;
message.artifactSelectors = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.artifactSelectors.push(
DagOutputsSpec_ArtifactSelectorSpec.decode(reader, reader.uint32()),
);
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec_DagOutputArtifactSpec {
const message = {
...baseDagOutputsSpec_DagOutputArtifactSpec,
} as DagOutputsSpec_DagOutputArtifactSpec;
message.artifactSelectors = (object.artifactSelectors ?? []).map((e: any) =>
DagOutputsSpec_ArtifactSelectorSpec.fromJSON(e),
);
return message;
},
toJSON(message: DagOutputsSpec_DagOutputArtifactSpec): unknown {
const obj: any = {};
if (message.artifactSelectors) {
obj.artifactSelectors = message.artifactSelectors.map((e) =>
e ? DagOutputsSpec_ArtifactSelectorSpec.toJSON(e) : undefined,
);
} else {
obj.artifactSelectors = [];
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagOutputsSpec_DagOutputArtifactSpec>, I>>(
object: I,
): DagOutputsSpec_DagOutputArtifactSpec {
const message = {
...baseDagOutputsSpec_DagOutputArtifactSpec,
} as DagOutputsSpec_DagOutputArtifactSpec;
message.artifactSelectors =
object.artifactSelectors?.map((e) => DagOutputsSpec_ArtifactSelectorSpec.fromPartial(e)) ||
[];
return message;
},
};
const baseDagOutputsSpec_ArtifactsEntry: object = { key: '' };
export const DagOutputsSpec_ArtifactsEntry = {
encode(
message: DagOutputsSpec_ArtifactsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
DagOutputsSpec_DagOutputArtifactSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagOutputsSpec_ArtifactsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseDagOutputsSpec_ArtifactsEntry } as DagOutputsSpec_ArtifactsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = DagOutputsSpec_DagOutputArtifactSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec_ArtifactsEntry {
const message = { ...baseDagOutputsSpec_ArtifactsEntry } as DagOutputsSpec_ArtifactsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? DagOutputsSpec_DagOutputArtifactSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: DagOutputsSpec_ArtifactsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? DagOutputsSpec_DagOutputArtifactSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagOutputsSpec_ArtifactsEntry>, I>>(
object: I,
): DagOutputsSpec_ArtifactsEntry {
const message = { ...baseDagOutputsSpec_ArtifactsEntry } as DagOutputsSpec_ArtifactsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? DagOutputsSpec_DagOutputArtifactSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseDagOutputsSpec_ParameterSelectorSpec: object = {
producerSubtask: '',
outputParameterKey: '',
};
export const DagOutputsSpec_ParameterSelectorSpec = {
encode(
message: DagOutputsSpec_ParameterSelectorSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.producerSubtask !== '') {
writer.uint32(10).string(message.producerSubtask);
}
if (message.outputParameterKey !== '') {
writer.uint32(18).string(message.outputParameterKey);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagOutputsSpec_ParameterSelectorSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseDagOutputsSpec_ParameterSelectorSpec,
} as DagOutputsSpec_ParameterSelectorSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.producerSubtask = reader.string();
break;
case 2:
message.outputParameterKey = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec_ParameterSelectorSpec {
const message = {
...baseDagOutputsSpec_ParameterSelectorSpec,
} as DagOutputsSpec_ParameterSelectorSpec;
message.producerSubtask =
object.producerSubtask !== undefined && object.producerSubtask !== null
? String(object.producerSubtask)
: '';
message.outputParameterKey =
object.outputParameterKey !== undefined && object.outputParameterKey !== null
? String(object.outputParameterKey)
: '';
return message;
},
toJSON(message: DagOutputsSpec_ParameterSelectorSpec): unknown {
const obj: any = {};
message.producerSubtask !== undefined && (obj.producerSubtask = message.producerSubtask);
message.outputParameterKey !== undefined &&
(obj.outputParameterKey = message.outputParameterKey);
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagOutputsSpec_ParameterSelectorSpec>, I>>(
object: I,
): DagOutputsSpec_ParameterSelectorSpec {
const message = {
...baseDagOutputsSpec_ParameterSelectorSpec,
} as DagOutputsSpec_ParameterSelectorSpec;
message.producerSubtask = object.producerSubtask ?? '';
message.outputParameterKey = object.outputParameterKey ?? '';
return message;
},
};
const baseDagOutputsSpec_ParameterSelectorsSpec: object = {};
export const DagOutputsSpec_ParameterSelectorsSpec = {
encode(
message: DagOutputsSpec_ParameterSelectorsSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
for (const v of message.parameterSelectors) {
DagOutputsSpec_ParameterSelectorSpec.encode(v!, writer.uint32(10).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagOutputsSpec_ParameterSelectorsSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseDagOutputsSpec_ParameterSelectorsSpec,
} as DagOutputsSpec_ParameterSelectorsSpec;
message.parameterSelectors = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.parameterSelectors.push(
DagOutputsSpec_ParameterSelectorSpec.decode(reader, reader.uint32()),
);
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec_ParameterSelectorsSpec {
const message = {
...baseDagOutputsSpec_ParameterSelectorsSpec,
} as DagOutputsSpec_ParameterSelectorsSpec;
message.parameterSelectors = (object.parameterSelectors ?? []).map((e: any) =>
DagOutputsSpec_ParameterSelectorSpec.fromJSON(e),
);
return message;
},
toJSON(message: DagOutputsSpec_ParameterSelectorsSpec): unknown {
const obj: any = {};
if (message.parameterSelectors) {
obj.parameterSelectors = message.parameterSelectors.map((e) =>
e ? DagOutputsSpec_ParameterSelectorSpec.toJSON(e) : undefined,
);
} else {
obj.parameterSelectors = [];
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagOutputsSpec_ParameterSelectorsSpec>, I>>(
object: I,
): DagOutputsSpec_ParameterSelectorsSpec {
const message = {
...baseDagOutputsSpec_ParameterSelectorsSpec,
} as DagOutputsSpec_ParameterSelectorsSpec;
message.parameterSelectors =
object.parameterSelectors?.map((e) => DagOutputsSpec_ParameterSelectorSpec.fromPartial(e)) ||
[];
return message;
},
};
const baseDagOutputsSpec_MapParameterSelectorsSpec: object = {};
export const DagOutputsSpec_MapParameterSelectorsSpec = {
encode(
message: DagOutputsSpec_MapParameterSelectorsSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
Object.entries(message.mappedParameters).forEach(([key, value]) => {
DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): DagOutputsSpec_MapParameterSelectorsSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseDagOutputsSpec_MapParameterSelectorsSpec,
} as DagOutputsSpec_MapParameterSelectorsSpec;
message.mappedParameters = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 2:
const entry2 = DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry.decode(
reader,
reader.uint32(),
);
if (entry2.value !== undefined) {
message.mappedParameters[entry2.key] = entry2.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec_MapParameterSelectorsSpec {
const message = {
...baseDagOutputsSpec_MapParameterSelectorsSpec,
} as DagOutputsSpec_MapParameterSelectorsSpec;
message.mappedParameters = Object.entries(object.mappedParameters ?? {}).reduce<{
[key: string]: DagOutputsSpec_ParameterSelectorSpec;
}>((acc, [key, value]) => {
acc[key] = DagOutputsSpec_ParameterSelectorSpec.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: DagOutputsSpec_MapParameterSelectorsSpec): unknown {
const obj: any = {};
obj.mappedParameters = {};
if (message.mappedParameters) {
Object.entries(message.mappedParameters).forEach(([k, v]) => {
obj.mappedParameters[k] = DagOutputsSpec_ParameterSelectorSpec.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagOutputsSpec_MapParameterSelectorsSpec>, I>>(
object: I,
): DagOutputsSpec_MapParameterSelectorsSpec {
const message = {
...baseDagOutputsSpec_MapParameterSelectorsSpec,
} as DagOutputsSpec_MapParameterSelectorsSpec;
message.mappedParameters = Object.entries(object.mappedParameters ?? {}).reduce<{
[key: string]: DagOutputsSpec_ParameterSelectorSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = DagOutputsSpec_ParameterSelectorSpec.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const baseDagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry: object = { key: '' };
export const DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry = {
encode(
message: DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
DagOutputsSpec_ParameterSelectorSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseDagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry,
} as DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = DagOutputsSpec_ParameterSelectorSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry {
const message = {
...baseDagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry,
} as DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? DagOutputsSpec_ParameterSelectorSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? DagOutputsSpec_ParameterSelectorSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry>, I>,
>(object: I): DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry {
const message = {
...baseDagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry,
} as DagOutputsSpec_MapParameterSelectorsSpec_MappedParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? DagOutputsSpec_ParameterSelectorSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseDagOutputsSpec_DagOutputParameterSpec: object = {};
export const DagOutputsSpec_DagOutputParameterSpec = {
encode(
message: DagOutputsSpec_DagOutputParameterSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.valueFromParameter !== undefined) {
DagOutputsSpec_ParameterSelectorSpec.encode(
message.valueFromParameter,
writer.uint32(10).fork(),
).ldelim();
}
if (message.valueFromOneof !== undefined) {
DagOutputsSpec_ParameterSelectorsSpec.encode(
message.valueFromOneof,
writer.uint32(18).fork(),
).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagOutputsSpec_DagOutputParameterSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseDagOutputsSpec_DagOutputParameterSpec,
} as DagOutputsSpec_DagOutputParameterSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.valueFromParameter = DagOutputsSpec_ParameterSelectorSpec.decode(
reader,
reader.uint32(),
);
break;
case 2:
message.valueFromOneof = DagOutputsSpec_ParameterSelectorsSpec.decode(
reader,
reader.uint32(),
);
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec_DagOutputParameterSpec {
const message = {
...baseDagOutputsSpec_DagOutputParameterSpec,
} as DagOutputsSpec_DagOutputParameterSpec;
message.valueFromParameter =
object.valueFromParameter !== undefined && object.valueFromParameter !== null
? DagOutputsSpec_ParameterSelectorSpec.fromJSON(object.valueFromParameter)
: undefined;
message.valueFromOneof =
object.valueFromOneof !== undefined && object.valueFromOneof !== null
? DagOutputsSpec_ParameterSelectorsSpec.fromJSON(object.valueFromOneof)
: undefined;
return message;
},
toJSON(message: DagOutputsSpec_DagOutputParameterSpec): unknown {
const obj: any = {};
message.valueFromParameter !== undefined &&
(obj.valueFromParameter = message.valueFromParameter
? DagOutputsSpec_ParameterSelectorSpec.toJSON(message.valueFromParameter)
: undefined);
message.valueFromOneof !== undefined &&
(obj.valueFromOneof = message.valueFromOneof
? DagOutputsSpec_ParameterSelectorsSpec.toJSON(message.valueFromOneof)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagOutputsSpec_DagOutputParameterSpec>, I>>(
object: I,
): DagOutputsSpec_DagOutputParameterSpec {
const message = {
...baseDagOutputsSpec_DagOutputParameterSpec,
} as DagOutputsSpec_DagOutputParameterSpec;
message.valueFromParameter =
object.valueFromParameter !== undefined && object.valueFromParameter !== null
? DagOutputsSpec_ParameterSelectorSpec.fromPartial(object.valueFromParameter)
: undefined;
message.valueFromOneof =
object.valueFromOneof !== undefined && object.valueFromOneof !== null
? DagOutputsSpec_ParameterSelectorsSpec.fromPartial(object.valueFromOneof)
: undefined;
return message;
},
};
const baseDagOutputsSpec_ParametersEntry: object = { key: '' };
export const DagOutputsSpec_ParametersEntry = {
encode(
message: DagOutputsSpec_ParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
DagOutputsSpec_DagOutputParameterSpec.encode(
message.value,
writer.uint32(18).fork(),
).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): DagOutputsSpec_ParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseDagOutputsSpec_ParametersEntry } as DagOutputsSpec_ParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = DagOutputsSpec_DagOutputParameterSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): DagOutputsSpec_ParametersEntry {
const message = { ...baseDagOutputsSpec_ParametersEntry } as DagOutputsSpec_ParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? DagOutputsSpec_DagOutputParameterSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: DagOutputsSpec_ParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? DagOutputsSpec_DagOutputParameterSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<DagOutputsSpec_ParametersEntry>, I>>(
object: I,
): DagOutputsSpec_ParametersEntry {
const message = { ...baseDagOutputsSpec_ParametersEntry } as DagOutputsSpec_ParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? DagOutputsSpec_DagOutputParameterSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseComponentInputsSpec: object = {};
export const ComponentInputsSpec = {
encode(message: ComponentInputsSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.artifacts).forEach(([key, value]) => {
ComponentInputsSpec_ArtifactsEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
Object.entries(message.parameters).forEach(([key, value]) => {
ComponentInputsSpec_ParametersEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentInputsSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseComponentInputsSpec } as ComponentInputsSpec;
message.artifacts = {};
message.parameters = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = ComponentInputsSpec_ArtifactsEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.artifacts[entry1.key] = entry1.value;
}
break;
case 2:
const entry2 = ComponentInputsSpec_ParametersEntry.decode(reader, reader.uint32());
if (entry2.value !== undefined) {
message.parameters[entry2.key] = entry2.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentInputsSpec {
const message = { ...baseComponentInputsSpec } as ComponentInputsSpec;
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ComponentInputsSpec_ArtifactSpec;
}>((acc, [key, value]) => {
acc[key] = ComponentInputsSpec_ArtifactSpec.fromJSON(value);
return acc;
}, {});
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: ComponentInputsSpec_ParameterSpec;
}>((acc, [key, value]) => {
acc[key] = ComponentInputsSpec_ParameterSpec.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: ComponentInputsSpec): unknown {
const obj: any = {};
obj.artifacts = {};
if (message.artifacts) {
Object.entries(message.artifacts).forEach(([k, v]) => {
obj.artifacts[k] = ComponentInputsSpec_ArtifactSpec.toJSON(v);
});
}
obj.parameters = {};
if (message.parameters) {
Object.entries(message.parameters).forEach(([k, v]) => {
obj.parameters[k] = ComponentInputsSpec_ParameterSpec.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentInputsSpec>, I>>(
object: I,
): ComponentInputsSpec {
const message = { ...baseComponentInputsSpec } as ComponentInputsSpec;
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ComponentInputsSpec_ArtifactSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ComponentInputsSpec_ArtifactSpec.fromPartial(value);
}
return acc;
}, {});
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: ComponentInputsSpec_ParameterSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ComponentInputsSpec_ParameterSpec.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const baseComponentInputsSpec_ArtifactSpec: object = {
isArtifactList: false,
isOptional: false,
description: '',
};
export const ComponentInputsSpec_ArtifactSpec = {
encode(
message: ComponentInputsSpec_ArtifactSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.artifactType !== undefined) {
ArtifactTypeSchema.encode(message.artifactType, writer.uint32(10).fork()).ldelim();
}
if (message.isArtifactList === true) {
writer.uint32(16).bool(message.isArtifactList);
}
if (message.isOptional === true) {
writer.uint32(24).bool(message.isOptional);
}
if (message.description !== '') {
writer.uint32(34).string(message.description);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentInputsSpec_ArtifactSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseComponentInputsSpec_ArtifactSpec } as ComponentInputsSpec_ArtifactSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.artifactType = ArtifactTypeSchema.decode(reader, reader.uint32());
break;
case 2:
message.isArtifactList = reader.bool();
break;
case 3:
message.isOptional = reader.bool();
break;
case 4:
message.description = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentInputsSpec_ArtifactSpec {
const message = { ...baseComponentInputsSpec_ArtifactSpec } as ComponentInputsSpec_ArtifactSpec;
message.artifactType =
object.artifactType !== undefined && object.artifactType !== null
? ArtifactTypeSchema.fromJSON(object.artifactType)
: undefined;
message.isArtifactList =
object.isArtifactList !== undefined && object.isArtifactList !== null
? Boolean(object.isArtifactList)
: false;
message.isOptional =
object.isOptional !== undefined && object.isOptional !== null
? Boolean(object.isOptional)
: false;
message.description =
object.description !== undefined && object.description !== null
? String(object.description)
: '';
return message;
},
toJSON(message: ComponentInputsSpec_ArtifactSpec): unknown {
const obj: any = {};
message.artifactType !== undefined &&
(obj.artifactType = message.artifactType
? ArtifactTypeSchema.toJSON(message.artifactType)
: undefined);
message.isArtifactList !== undefined && (obj.isArtifactList = message.isArtifactList);
message.isOptional !== undefined && (obj.isOptional = message.isOptional);
message.description !== undefined && (obj.description = message.description);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentInputsSpec_ArtifactSpec>, I>>(
object: I,
): ComponentInputsSpec_ArtifactSpec {
const message = { ...baseComponentInputsSpec_ArtifactSpec } as ComponentInputsSpec_ArtifactSpec;
message.artifactType =
object.artifactType !== undefined && object.artifactType !== null
? ArtifactTypeSchema.fromPartial(object.artifactType)
: undefined;
message.isArtifactList = object.isArtifactList ?? false;
message.isOptional = object.isOptional ?? false;
message.description = object.description ?? '';
return message;
},
};
const baseComponentInputsSpec_ParameterSpec: object = {
type: 0,
parameterType: 0,
isOptional: false,
description: '',
};
export const ComponentInputsSpec_ParameterSpec = {
encode(
message: ComponentInputsSpec_ParameterSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.type !== 0) {
writer.uint32(8).int32(message.type);
}
if (message.parameterType !== 0) {
writer.uint32(16).int32(message.parameterType);
}
if (message.defaultValue !== undefined) {
Value1.encode(Value1.wrap(message.defaultValue), writer.uint32(26).fork()).ldelim();
}
if (message.isOptional === true) {
writer.uint32(32).bool(message.isOptional);
}
if (message.description !== '') {
writer.uint32(42).string(message.description);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentInputsSpec_ParameterSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseComponentInputsSpec_ParameterSpec,
} as ComponentInputsSpec_ParameterSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.type = reader.int32() as any;
break;
case 2:
message.parameterType = reader.int32() as any;
break;
case 3:
message.defaultValue = Value1.unwrap(Value1.decode(reader, reader.uint32()));
break;
case 4:
message.isOptional = reader.bool();
break;
case 5:
message.description = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentInputsSpec_ParameterSpec {
const message = {
...baseComponentInputsSpec_ParameterSpec,
} as ComponentInputsSpec_ParameterSpec;
message.type =
object.type !== undefined && object.type !== null
? primitiveType_PrimitiveTypeEnumFromJSON(object.type)
: 0;
message.parameterType =
object.parameterType !== undefined && object.parameterType !== null
? parameterType_ParameterTypeEnumFromJSON(object.parameterType)
: 0;
message.defaultValue = object.defaultValue;
message.isOptional =
object.isOptional !== undefined && object.isOptional !== null
? Boolean(object.isOptional)
: false;
message.description =
object.description !== undefined && object.description !== null
? String(object.description)
: '';
return message;
},
toJSON(message: ComponentInputsSpec_ParameterSpec): unknown {
const obj: any = {};
message.type !== undefined && (obj.type = primitiveType_PrimitiveTypeEnumToJSON(message.type));
message.parameterType !== undefined &&
(obj.parameterType = parameterType_ParameterTypeEnumToJSON(message.parameterType));
message.defaultValue !== undefined && (obj.defaultValue = message.defaultValue);
message.isOptional !== undefined && (obj.isOptional = message.isOptional);
message.description !== undefined && (obj.description = message.description);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentInputsSpec_ParameterSpec>, I>>(
object: I,
): ComponentInputsSpec_ParameterSpec {
const message = {
...baseComponentInputsSpec_ParameterSpec,
} as ComponentInputsSpec_ParameterSpec;
message.type = object.type ?? 0;
message.parameterType = object.parameterType ?? 0;
message.defaultValue = object.defaultValue ?? undefined;
message.isOptional = object.isOptional ?? false;
message.description = object.description ?? '';
return message;
},
};
const baseComponentInputsSpec_ArtifactsEntry: object = { key: '' };
export const ComponentInputsSpec_ArtifactsEntry = {
encode(
message: ComponentInputsSpec_ArtifactsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ComponentInputsSpec_ArtifactSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentInputsSpec_ArtifactsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseComponentInputsSpec_ArtifactsEntry,
} as ComponentInputsSpec_ArtifactsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ComponentInputsSpec_ArtifactSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentInputsSpec_ArtifactsEntry {
const message = {
...baseComponentInputsSpec_ArtifactsEntry,
} as ComponentInputsSpec_ArtifactsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ComponentInputsSpec_ArtifactSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ComponentInputsSpec_ArtifactsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? ComponentInputsSpec_ArtifactSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentInputsSpec_ArtifactsEntry>, I>>(
object: I,
): ComponentInputsSpec_ArtifactsEntry {
const message = {
...baseComponentInputsSpec_ArtifactsEntry,
} as ComponentInputsSpec_ArtifactsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ComponentInputsSpec_ArtifactSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseComponentInputsSpec_ParametersEntry: object = { key: '' };
export const ComponentInputsSpec_ParametersEntry = {
encode(
message: ComponentInputsSpec_ParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ComponentInputsSpec_ParameterSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentInputsSpec_ParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseComponentInputsSpec_ParametersEntry,
} as ComponentInputsSpec_ParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ComponentInputsSpec_ParameterSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentInputsSpec_ParametersEntry {
const message = {
...baseComponentInputsSpec_ParametersEntry,
} as ComponentInputsSpec_ParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ComponentInputsSpec_ParameterSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ComponentInputsSpec_ParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? ComponentInputsSpec_ParameterSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentInputsSpec_ParametersEntry>, I>>(
object: I,
): ComponentInputsSpec_ParametersEntry {
const message = {
...baseComponentInputsSpec_ParametersEntry,
} as ComponentInputsSpec_ParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ComponentInputsSpec_ParameterSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseComponentOutputsSpec: object = {};
export const ComponentOutputsSpec = {
encode(message: ComponentOutputsSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.artifacts).forEach(([key, value]) => {
ComponentOutputsSpec_ArtifactsEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
Object.entries(message.parameters).forEach(([key, value]) => {
ComponentOutputsSpec_ParametersEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentOutputsSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseComponentOutputsSpec } as ComponentOutputsSpec;
message.artifacts = {};
message.parameters = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = ComponentOutputsSpec_ArtifactsEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.artifacts[entry1.key] = entry1.value;
}
break;
case 2:
const entry2 = ComponentOutputsSpec_ParametersEntry.decode(reader, reader.uint32());
if (entry2.value !== undefined) {
message.parameters[entry2.key] = entry2.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentOutputsSpec {
const message = { ...baseComponentOutputsSpec } as ComponentOutputsSpec;
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ComponentOutputsSpec_ArtifactSpec;
}>((acc, [key, value]) => {
acc[key] = ComponentOutputsSpec_ArtifactSpec.fromJSON(value);
return acc;
}, {});
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: ComponentOutputsSpec_ParameterSpec;
}>((acc, [key, value]) => {
acc[key] = ComponentOutputsSpec_ParameterSpec.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: ComponentOutputsSpec): unknown {
const obj: any = {};
obj.artifacts = {};
if (message.artifacts) {
Object.entries(message.artifacts).forEach(([k, v]) => {
obj.artifacts[k] = ComponentOutputsSpec_ArtifactSpec.toJSON(v);
});
}
obj.parameters = {};
if (message.parameters) {
Object.entries(message.parameters).forEach(([k, v]) => {
obj.parameters[k] = ComponentOutputsSpec_ParameterSpec.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentOutputsSpec>, I>>(
object: I,
): ComponentOutputsSpec {
const message = { ...baseComponentOutputsSpec } as ComponentOutputsSpec;
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ComponentOutputsSpec_ArtifactSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ComponentOutputsSpec_ArtifactSpec.fromPartial(value);
}
return acc;
}, {});
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: ComponentOutputsSpec_ParameterSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ComponentOutputsSpec_ParameterSpec.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const baseComponentOutputsSpec_ArtifactSpec: object = { isArtifactList: false, description: '' };
export const ComponentOutputsSpec_ArtifactSpec = {
encode(
message: ComponentOutputsSpec_ArtifactSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.artifactType !== undefined) {
ArtifactTypeSchema.encode(message.artifactType, writer.uint32(10).fork()).ldelim();
}
Object.entries(message.properties).forEach(([key, value]) => {
ComponentOutputsSpec_ArtifactSpec_PropertiesEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
Object.entries(message.customProperties).forEach(([key, value]) => {
ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry.encode(
{ key: key as any, value },
writer.uint32(26).fork(),
).ldelim();
});
if (message.metadata !== undefined) {
Struct.encode(Struct.wrap(message.metadata), writer.uint32(34).fork()).ldelim();
}
if (message.isArtifactList === true) {
writer.uint32(40).bool(message.isArtifactList);
}
if (message.description !== '') {
writer.uint32(50).string(message.description);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentOutputsSpec_ArtifactSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseComponentOutputsSpec_ArtifactSpec,
} as ComponentOutputsSpec_ArtifactSpec;
message.properties = {};
message.customProperties = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.artifactType = ArtifactTypeSchema.decode(reader, reader.uint32());
break;
case 2:
const entry2 = ComponentOutputsSpec_ArtifactSpec_PropertiesEntry.decode(
reader,
reader.uint32(),
);
if (entry2.value !== undefined) {
message.properties[entry2.key] = entry2.value;
}
break;
case 3:
const entry3 = ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry.decode(
reader,
reader.uint32(),
);
if (entry3.value !== undefined) {
message.customProperties[entry3.key] = entry3.value;
}
break;
case 4:
message.metadata = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
case 5:
message.isArtifactList = reader.bool();
break;
case 6:
message.description = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentOutputsSpec_ArtifactSpec {
const message = {
...baseComponentOutputsSpec_ArtifactSpec,
} as ComponentOutputsSpec_ArtifactSpec;
message.artifactType =
object.artifactType !== undefined && object.artifactType !== null
? ArtifactTypeSchema.fromJSON(object.artifactType)
: undefined;
message.properties = Object.entries(object.properties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
acc[key] = ValueOrRuntimeParameter.fromJSON(value);
return acc;
}, {});
message.customProperties = Object.entries(object.customProperties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
acc[key] = ValueOrRuntimeParameter.fromJSON(value);
return acc;
}, {});
message.metadata = typeof object.metadata === 'object' ? object.metadata : undefined;
message.isArtifactList =
object.isArtifactList !== undefined && object.isArtifactList !== null
? Boolean(object.isArtifactList)
: false;
message.description =
object.description !== undefined && object.description !== null
? String(object.description)
: '';
return message;
},
toJSON(message: ComponentOutputsSpec_ArtifactSpec): unknown {
const obj: any = {};
message.artifactType !== undefined &&
(obj.artifactType = message.artifactType
? ArtifactTypeSchema.toJSON(message.artifactType)
: undefined);
obj.properties = {};
if (message.properties) {
Object.entries(message.properties).forEach(([k, v]) => {
obj.properties[k] = ValueOrRuntimeParameter.toJSON(v);
});
}
obj.customProperties = {};
if (message.customProperties) {
Object.entries(message.customProperties).forEach(([k, v]) => {
obj.customProperties[k] = ValueOrRuntimeParameter.toJSON(v);
});
}
message.metadata !== undefined && (obj.metadata = message.metadata);
message.isArtifactList !== undefined && (obj.isArtifactList = message.isArtifactList);
message.description !== undefined && (obj.description = message.description);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentOutputsSpec_ArtifactSpec>, I>>(
object: I,
): ComponentOutputsSpec_ArtifactSpec {
const message = {
...baseComponentOutputsSpec_ArtifactSpec,
} as ComponentOutputsSpec_ArtifactSpec;
message.artifactType =
object.artifactType !== undefined && object.artifactType !== null
? ArtifactTypeSchema.fromPartial(object.artifactType)
: undefined;
message.properties = Object.entries(object.properties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ValueOrRuntimeParameter.fromPartial(value);
}
return acc;
}, {});
message.customProperties = Object.entries(object.customProperties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ValueOrRuntimeParameter.fromPartial(value);
}
return acc;
}, {});
message.metadata = object.metadata ?? undefined;
message.isArtifactList = object.isArtifactList ?? false;
message.description = object.description ?? '';
return message;
},
};
const baseComponentOutputsSpec_ArtifactSpec_PropertiesEntry: object = { key: '' };
export const ComponentOutputsSpec_ArtifactSpec_PropertiesEntry = {
encode(
message: ComponentOutputsSpec_ArtifactSpec_PropertiesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ValueOrRuntimeParameter.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): ComponentOutputsSpec_ArtifactSpec_PropertiesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseComponentOutputsSpec_ArtifactSpec_PropertiesEntry,
} as ComponentOutputsSpec_ArtifactSpec_PropertiesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ValueOrRuntimeParameter.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentOutputsSpec_ArtifactSpec_PropertiesEntry {
const message = {
...baseComponentOutputsSpec_ArtifactSpec_PropertiesEntry,
} as ComponentOutputsSpec_ArtifactSpec_PropertiesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ComponentOutputsSpec_ArtifactSpec_PropertiesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ValueOrRuntimeParameter.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentOutputsSpec_ArtifactSpec_PropertiesEntry>, I>>(
object: I,
): ComponentOutputsSpec_ArtifactSpec_PropertiesEntry {
const message = {
...baseComponentOutputsSpec_ArtifactSpec_PropertiesEntry,
} as ComponentOutputsSpec_ArtifactSpec_PropertiesEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromPartial(object.value)
: undefined;
return message;
},
};
const baseComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry: object = { key: '' };
export const ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry = {
encode(
message: ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ValueOrRuntimeParameter.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry,
} as ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ValueOrRuntimeParameter.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry {
const message = {
...baseComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry,
} as ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ValueOrRuntimeParameter.toJSON(message.value) : undefined);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry>, I>,
>(object: I): ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry {
const message = {
...baseComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry,
} as ComponentOutputsSpec_ArtifactSpec_CustomPropertiesEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromPartial(object.value)
: undefined;
return message;
},
};
const baseComponentOutputsSpec_ParameterSpec: object = {
type: 0,
parameterType: 0,
description: '',
};
export const ComponentOutputsSpec_ParameterSpec = {
encode(
message: ComponentOutputsSpec_ParameterSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.type !== 0) {
writer.uint32(8).int32(message.type);
}
if (message.parameterType !== 0) {
writer.uint32(16).int32(message.parameterType);
}
if (message.description !== '') {
writer.uint32(26).string(message.description);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentOutputsSpec_ParameterSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseComponentOutputsSpec_ParameterSpec,
} as ComponentOutputsSpec_ParameterSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.type = reader.int32() as any;
break;
case 2:
message.parameterType = reader.int32() as any;
break;
case 3:
message.description = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentOutputsSpec_ParameterSpec {
const message = {
...baseComponentOutputsSpec_ParameterSpec,
} as ComponentOutputsSpec_ParameterSpec;
message.type =
object.type !== undefined && object.type !== null
? primitiveType_PrimitiveTypeEnumFromJSON(object.type)
: 0;
message.parameterType =
object.parameterType !== undefined && object.parameterType !== null
? parameterType_ParameterTypeEnumFromJSON(object.parameterType)
: 0;
message.description =
object.description !== undefined && object.description !== null
? String(object.description)
: '';
return message;
},
toJSON(message: ComponentOutputsSpec_ParameterSpec): unknown {
const obj: any = {};
message.type !== undefined && (obj.type = primitiveType_PrimitiveTypeEnumToJSON(message.type));
message.parameterType !== undefined &&
(obj.parameterType = parameterType_ParameterTypeEnumToJSON(message.parameterType));
message.description !== undefined && (obj.description = message.description);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentOutputsSpec_ParameterSpec>, I>>(
object: I,
): ComponentOutputsSpec_ParameterSpec {
const message = {
...baseComponentOutputsSpec_ParameterSpec,
} as ComponentOutputsSpec_ParameterSpec;
message.type = object.type ?? 0;
message.parameterType = object.parameterType ?? 0;
message.description = object.description ?? '';
return message;
},
};
const baseComponentOutputsSpec_ArtifactsEntry: object = { key: '' };
export const ComponentOutputsSpec_ArtifactsEntry = {
encode(
message: ComponentOutputsSpec_ArtifactsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ComponentOutputsSpec_ArtifactSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentOutputsSpec_ArtifactsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseComponentOutputsSpec_ArtifactsEntry,
} as ComponentOutputsSpec_ArtifactsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ComponentOutputsSpec_ArtifactSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentOutputsSpec_ArtifactsEntry {
const message = {
...baseComponentOutputsSpec_ArtifactsEntry,
} as ComponentOutputsSpec_ArtifactsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ComponentOutputsSpec_ArtifactSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ComponentOutputsSpec_ArtifactsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? ComponentOutputsSpec_ArtifactSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentOutputsSpec_ArtifactsEntry>, I>>(
object: I,
): ComponentOutputsSpec_ArtifactsEntry {
const message = {
...baseComponentOutputsSpec_ArtifactsEntry,
} as ComponentOutputsSpec_ArtifactsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ComponentOutputsSpec_ArtifactSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseComponentOutputsSpec_ParametersEntry: object = { key: '' };
export const ComponentOutputsSpec_ParametersEntry = {
encode(
message: ComponentOutputsSpec_ParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ComponentOutputsSpec_ParameterSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentOutputsSpec_ParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseComponentOutputsSpec_ParametersEntry,
} as ComponentOutputsSpec_ParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ComponentOutputsSpec_ParameterSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentOutputsSpec_ParametersEntry {
const message = {
...baseComponentOutputsSpec_ParametersEntry,
} as ComponentOutputsSpec_ParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ComponentOutputsSpec_ParameterSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ComponentOutputsSpec_ParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? ComponentOutputsSpec_ParameterSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentOutputsSpec_ParametersEntry>, I>>(
object: I,
): ComponentOutputsSpec_ParametersEntry {
const message = {
...baseComponentOutputsSpec_ParametersEntry,
} as ComponentOutputsSpec_ParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ComponentOutputsSpec_ParameterSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseTaskInputsSpec: object = {};
export const TaskInputsSpec = {
encode(message: TaskInputsSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.parameters).forEach(([key, value]) => {
TaskInputsSpec_ParametersEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
Object.entries(message.artifacts).forEach(([key, value]) => {
TaskInputsSpec_ArtifactsEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskInputsSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseTaskInputsSpec } as TaskInputsSpec;
message.parameters = {};
message.artifacts = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = TaskInputsSpec_ParametersEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.parameters[entry1.key] = entry1.value;
}
break;
case 2:
const entry2 = TaskInputsSpec_ArtifactsEntry.decode(reader, reader.uint32());
if (entry2.value !== undefined) {
message.artifacts[entry2.key] = entry2.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskInputsSpec {
const message = { ...baseTaskInputsSpec } as TaskInputsSpec;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: TaskInputsSpec_InputParameterSpec;
}>((acc, [key, value]) => {
acc[key] = TaskInputsSpec_InputParameterSpec.fromJSON(value);
return acc;
}, {});
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: TaskInputsSpec_InputArtifactSpec;
}>((acc, [key, value]) => {
acc[key] = TaskInputsSpec_InputArtifactSpec.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: TaskInputsSpec): unknown {
const obj: any = {};
obj.parameters = {};
if (message.parameters) {
Object.entries(message.parameters).forEach(([k, v]) => {
obj.parameters[k] = TaskInputsSpec_InputParameterSpec.toJSON(v);
});
}
obj.artifacts = {};
if (message.artifacts) {
Object.entries(message.artifacts).forEach(([k, v]) => {
obj.artifacts[k] = TaskInputsSpec_InputArtifactSpec.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskInputsSpec>, I>>(object: I): TaskInputsSpec {
const message = { ...baseTaskInputsSpec } as TaskInputsSpec;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: TaskInputsSpec_InputParameterSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = TaskInputsSpec_InputParameterSpec.fromPartial(value);
}
return acc;
}, {});
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: TaskInputsSpec_InputArtifactSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = TaskInputsSpec_InputArtifactSpec.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const baseTaskInputsSpec_InputArtifactSpec: object = {};
export const TaskInputsSpec_InputArtifactSpec = {
encode(
message: TaskInputsSpec_InputArtifactSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.taskOutputArtifact !== undefined) {
TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec.encode(
message.taskOutputArtifact,
writer.uint32(26).fork(),
).ldelim();
}
if (message.componentInputArtifact !== undefined) {
writer.uint32(34).string(message.componentInputArtifact);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskInputsSpec_InputArtifactSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseTaskInputsSpec_InputArtifactSpec } as TaskInputsSpec_InputArtifactSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 3:
message.taskOutputArtifact =
TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec.decode(reader, reader.uint32());
break;
case 4:
message.componentInputArtifact = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskInputsSpec_InputArtifactSpec {
const message = { ...baseTaskInputsSpec_InputArtifactSpec } as TaskInputsSpec_InputArtifactSpec;
message.taskOutputArtifact =
object.taskOutputArtifact !== undefined && object.taskOutputArtifact !== null
? TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec.fromJSON(
object.taskOutputArtifact,
)
: undefined;
message.componentInputArtifact =
object.componentInputArtifact !== undefined && object.componentInputArtifact !== null
? String(object.componentInputArtifact)
: undefined;
return message;
},
toJSON(message: TaskInputsSpec_InputArtifactSpec): unknown {
const obj: any = {};
message.taskOutputArtifact !== undefined &&
(obj.taskOutputArtifact = message.taskOutputArtifact
? TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec.toJSON(message.taskOutputArtifact)
: undefined);
message.componentInputArtifact !== undefined &&
(obj.componentInputArtifact = message.componentInputArtifact);
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskInputsSpec_InputArtifactSpec>, I>>(
object: I,
): TaskInputsSpec_InputArtifactSpec {
const message = { ...baseTaskInputsSpec_InputArtifactSpec } as TaskInputsSpec_InputArtifactSpec;
message.taskOutputArtifact =
object.taskOutputArtifact !== undefined && object.taskOutputArtifact !== null
? TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec.fromPartial(
object.taskOutputArtifact,
)
: undefined;
message.componentInputArtifact = object.componentInputArtifact ?? undefined;
return message;
},
};
const baseTaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec: object = {
producerTask: '',
outputArtifactKey: '',
};
export const TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec = {
encode(
message: TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.producerTask !== '') {
writer.uint32(10).string(message.producerTask);
}
if (message.outputArtifactKey !== '') {
writer.uint32(18).string(message.outputArtifactKey);
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseTaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec,
} as TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.producerTask = reader.string();
break;
case 2:
message.outputArtifactKey = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec {
const message = {
...baseTaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec,
} as TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec;
message.producerTask =
object.producerTask !== undefined && object.producerTask !== null
? String(object.producerTask)
: '';
message.outputArtifactKey =
object.outputArtifactKey !== undefined && object.outputArtifactKey !== null
? String(object.outputArtifactKey)
: '';
return message;
},
toJSON(message: TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec): unknown {
const obj: any = {};
message.producerTask !== undefined && (obj.producerTask = message.producerTask);
message.outputArtifactKey !== undefined && (obj.outputArtifactKey = message.outputArtifactKey);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec>, I>,
>(object: I): TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec {
const message = {
...baseTaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec,
} as TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec;
message.producerTask = object.producerTask ?? '';
message.outputArtifactKey = object.outputArtifactKey ?? '';
return message;
},
};
const baseTaskInputsSpec_InputParameterSpec: object = { parameterExpressionSelector: '' };
export const TaskInputsSpec_InputParameterSpec = {
encode(
message: TaskInputsSpec_InputParameterSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.taskOutputParameter !== undefined) {
TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec.encode(
message.taskOutputParameter,
writer.uint32(10).fork(),
).ldelim();
}
if (message.runtimeValue !== undefined) {
ValueOrRuntimeParameter.encode(message.runtimeValue, writer.uint32(18).fork()).ldelim();
}
if (message.componentInputParameter !== undefined) {
writer.uint32(26).string(message.componentInputParameter);
}
if (message.taskFinalStatus !== undefined) {
TaskInputsSpec_InputParameterSpec_TaskFinalStatus.encode(
message.taskFinalStatus,
writer.uint32(42).fork(),
).ldelim();
}
if (message.parameterExpressionSelector !== '') {
writer.uint32(34).string(message.parameterExpressionSelector);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskInputsSpec_InputParameterSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseTaskInputsSpec_InputParameterSpec,
} as TaskInputsSpec_InputParameterSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.taskOutputParameter =
TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec.decode(
reader,
reader.uint32(),
);
break;
case 2:
message.runtimeValue = ValueOrRuntimeParameter.decode(reader, reader.uint32());
break;
case 3:
message.componentInputParameter = reader.string();
break;
case 5:
message.taskFinalStatus = TaskInputsSpec_InputParameterSpec_TaskFinalStatus.decode(
reader,
reader.uint32(),
);
break;
case 4:
message.parameterExpressionSelector = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskInputsSpec_InputParameterSpec {
const message = {
...baseTaskInputsSpec_InputParameterSpec,
} as TaskInputsSpec_InputParameterSpec;
message.taskOutputParameter =
object.taskOutputParameter !== undefined && object.taskOutputParameter !== null
? TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec.fromJSON(
object.taskOutputParameter,
)
: undefined;
message.runtimeValue =
object.runtimeValue !== undefined && object.runtimeValue !== null
? ValueOrRuntimeParameter.fromJSON(object.runtimeValue)
: undefined;
message.componentInputParameter =
object.componentInputParameter !== undefined && object.componentInputParameter !== null
? String(object.componentInputParameter)
: undefined;
message.taskFinalStatus =
object.taskFinalStatus !== undefined && object.taskFinalStatus !== null
? TaskInputsSpec_InputParameterSpec_TaskFinalStatus.fromJSON(object.taskFinalStatus)
: undefined;
message.parameterExpressionSelector =
object.parameterExpressionSelector !== undefined &&
object.parameterExpressionSelector !== null
? String(object.parameterExpressionSelector)
: '';
return message;
},
toJSON(message: TaskInputsSpec_InputParameterSpec): unknown {
const obj: any = {};
message.taskOutputParameter !== undefined &&
(obj.taskOutputParameter = message.taskOutputParameter
? TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec.toJSON(
message.taskOutputParameter,
)
: undefined);
message.runtimeValue !== undefined &&
(obj.runtimeValue = message.runtimeValue
? ValueOrRuntimeParameter.toJSON(message.runtimeValue)
: undefined);
message.componentInputParameter !== undefined &&
(obj.componentInputParameter = message.componentInputParameter);
message.taskFinalStatus !== undefined &&
(obj.taskFinalStatus = message.taskFinalStatus
? TaskInputsSpec_InputParameterSpec_TaskFinalStatus.toJSON(message.taskFinalStatus)
: undefined);
message.parameterExpressionSelector !== undefined &&
(obj.parameterExpressionSelector = message.parameterExpressionSelector);
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskInputsSpec_InputParameterSpec>, I>>(
object: I,
): TaskInputsSpec_InputParameterSpec {
const message = {
...baseTaskInputsSpec_InputParameterSpec,
} as TaskInputsSpec_InputParameterSpec;
message.taskOutputParameter =
object.taskOutputParameter !== undefined && object.taskOutputParameter !== null
? TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec.fromPartial(
object.taskOutputParameter,
)
: undefined;
message.runtimeValue =
object.runtimeValue !== undefined && object.runtimeValue !== null
? ValueOrRuntimeParameter.fromPartial(object.runtimeValue)
: undefined;
message.componentInputParameter = object.componentInputParameter ?? undefined;
message.taskFinalStatus =
object.taskFinalStatus !== undefined && object.taskFinalStatus !== null
? TaskInputsSpec_InputParameterSpec_TaskFinalStatus.fromPartial(object.taskFinalStatus)
: undefined;
message.parameterExpressionSelector = object.parameterExpressionSelector ?? '';
return message;
},
};
const baseTaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec: object = {
producerTask: '',
outputParameterKey: '',
};
export const TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec = {
encode(
message: TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.producerTask !== '') {
writer.uint32(10).string(message.producerTask);
}
if (message.outputParameterKey !== '') {
writer.uint32(18).string(message.outputParameterKey);
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseTaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec,
} as TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.producerTask = reader.string();
break;
case 2:
message.outputParameterKey = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec {
const message = {
...baseTaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec,
} as TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec;
message.producerTask =
object.producerTask !== undefined && object.producerTask !== null
? String(object.producerTask)
: '';
message.outputParameterKey =
object.outputParameterKey !== undefined && object.outputParameterKey !== null
? String(object.outputParameterKey)
: '';
return message;
},
toJSON(message: TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec): unknown {
const obj: any = {};
message.producerTask !== undefined && (obj.producerTask = message.producerTask);
message.outputParameterKey !== undefined &&
(obj.outputParameterKey = message.outputParameterKey);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec>, I>,
>(object: I): TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec {
const message = {
...baseTaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec,
} as TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec;
message.producerTask = object.producerTask ?? '';
message.outputParameterKey = object.outputParameterKey ?? '';
return message;
},
};
const baseTaskInputsSpec_InputParameterSpec_TaskFinalStatus: object = { producerTask: '' };
export const TaskInputsSpec_InputParameterSpec_TaskFinalStatus = {
encode(
message: TaskInputsSpec_InputParameterSpec_TaskFinalStatus,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.producerTask !== '') {
writer.uint32(10).string(message.producerTask);
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): TaskInputsSpec_InputParameterSpec_TaskFinalStatus {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseTaskInputsSpec_InputParameterSpec_TaskFinalStatus,
} as TaskInputsSpec_InputParameterSpec_TaskFinalStatus;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.producerTask = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskInputsSpec_InputParameterSpec_TaskFinalStatus {
const message = {
...baseTaskInputsSpec_InputParameterSpec_TaskFinalStatus,
} as TaskInputsSpec_InputParameterSpec_TaskFinalStatus;
message.producerTask =
object.producerTask !== undefined && object.producerTask !== null
? String(object.producerTask)
: '';
return message;
},
toJSON(message: TaskInputsSpec_InputParameterSpec_TaskFinalStatus): unknown {
const obj: any = {};
message.producerTask !== undefined && (obj.producerTask = message.producerTask);
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskInputsSpec_InputParameterSpec_TaskFinalStatus>, I>>(
object: I,
): TaskInputsSpec_InputParameterSpec_TaskFinalStatus {
const message = {
...baseTaskInputsSpec_InputParameterSpec_TaskFinalStatus,
} as TaskInputsSpec_InputParameterSpec_TaskFinalStatus;
message.producerTask = object.producerTask ?? '';
return message;
},
};
const baseTaskInputsSpec_ParametersEntry: object = { key: '' };
export const TaskInputsSpec_ParametersEntry = {
encode(
message: TaskInputsSpec_ParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
TaskInputsSpec_InputParameterSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskInputsSpec_ParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseTaskInputsSpec_ParametersEntry } as TaskInputsSpec_ParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = TaskInputsSpec_InputParameterSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskInputsSpec_ParametersEntry {
const message = { ...baseTaskInputsSpec_ParametersEntry } as TaskInputsSpec_ParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? TaskInputsSpec_InputParameterSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: TaskInputsSpec_ParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? TaskInputsSpec_InputParameterSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskInputsSpec_ParametersEntry>, I>>(
object: I,
): TaskInputsSpec_ParametersEntry {
const message = { ...baseTaskInputsSpec_ParametersEntry } as TaskInputsSpec_ParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? TaskInputsSpec_InputParameterSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseTaskInputsSpec_ArtifactsEntry: object = { key: '' };
export const TaskInputsSpec_ArtifactsEntry = {
encode(
message: TaskInputsSpec_ArtifactsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
TaskInputsSpec_InputArtifactSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskInputsSpec_ArtifactsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseTaskInputsSpec_ArtifactsEntry } as TaskInputsSpec_ArtifactsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = TaskInputsSpec_InputArtifactSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskInputsSpec_ArtifactsEntry {
const message = { ...baseTaskInputsSpec_ArtifactsEntry } as TaskInputsSpec_ArtifactsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? TaskInputsSpec_InputArtifactSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: TaskInputsSpec_ArtifactsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? TaskInputsSpec_InputArtifactSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskInputsSpec_ArtifactsEntry>, I>>(
object: I,
): TaskInputsSpec_ArtifactsEntry {
const message = { ...baseTaskInputsSpec_ArtifactsEntry } as TaskInputsSpec_ArtifactsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? TaskInputsSpec_InputArtifactSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseTaskOutputsSpec: object = {};
export const TaskOutputsSpec = {
encode(message: TaskOutputsSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.parameters).forEach(([key, value]) => {
TaskOutputsSpec_ParametersEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
Object.entries(message.artifacts).forEach(([key, value]) => {
TaskOutputsSpec_ArtifactsEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskOutputsSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseTaskOutputsSpec } as TaskOutputsSpec;
message.parameters = {};
message.artifacts = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = TaskOutputsSpec_ParametersEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.parameters[entry1.key] = entry1.value;
}
break;
case 2:
const entry2 = TaskOutputsSpec_ArtifactsEntry.decode(reader, reader.uint32());
if (entry2.value !== undefined) {
message.artifacts[entry2.key] = entry2.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskOutputsSpec {
const message = { ...baseTaskOutputsSpec } as TaskOutputsSpec;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: TaskOutputsSpec_OutputParameterSpec;
}>((acc, [key, value]) => {
acc[key] = TaskOutputsSpec_OutputParameterSpec.fromJSON(value);
return acc;
}, {});
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: TaskOutputsSpec_OutputArtifactSpec;
}>((acc, [key, value]) => {
acc[key] = TaskOutputsSpec_OutputArtifactSpec.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: TaskOutputsSpec): unknown {
const obj: any = {};
obj.parameters = {};
if (message.parameters) {
Object.entries(message.parameters).forEach(([k, v]) => {
obj.parameters[k] = TaskOutputsSpec_OutputParameterSpec.toJSON(v);
});
}
obj.artifacts = {};
if (message.artifacts) {
Object.entries(message.artifacts).forEach(([k, v]) => {
obj.artifacts[k] = TaskOutputsSpec_OutputArtifactSpec.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskOutputsSpec>, I>>(object: I): TaskOutputsSpec {
const message = { ...baseTaskOutputsSpec } as TaskOutputsSpec;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: TaskOutputsSpec_OutputParameterSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = TaskOutputsSpec_OutputParameterSpec.fromPartial(value);
}
return acc;
}, {});
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: TaskOutputsSpec_OutputArtifactSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = TaskOutputsSpec_OutputArtifactSpec.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const baseTaskOutputsSpec_OutputArtifactSpec: object = {};
export const TaskOutputsSpec_OutputArtifactSpec = {
encode(
message: TaskOutputsSpec_OutputArtifactSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.artifactType !== undefined) {
ArtifactTypeSchema.encode(message.artifactType, writer.uint32(10).fork()).ldelim();
}
Object.entries(message.properties).forEach(([key, value]) => {
TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
Object.entries(message.customProperties).forEach(([key, value]) => {
TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry.encode(
{ key: key as any, value },
writer.uint32(26).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskOutputsSpec_OutputArtifactSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseTaskOutputsSpec_OutputArtifactSpec,
} as TaskOutputsSpec_OutputArtifactSpec;
message.properties = {};
message.customProperties = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.artifactType = ArtifactTypeSchema.decode(reader, reader.uint32());
break;
case 2:
const entry2 = TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry.decode(
reader,
reader.uint32(),
);
if (entry2.value !== undefined) {
message.properties[entry2.key] = entry2.value;
}
break;
case 3:
const entry3 = TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry.decode(
reader,
reader.uint32(),
);
if (entry3.value !== undefined) {
message.customProperties[entry3.key] = entry3.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskOutputsSpec_OutputArtifactSpec {
const message = {
...baseTaskOutputsSpec_OutputArtifactSpec,
} as TaskOutputsSpec_OutputArtifactSpec;
message.artifactType =
object.artifactType !== undefined && object.artifactType !== null
? ArtifactTypeSchema.fromJSON(object.artifactType)
: undefined;
message.properties = Object.entries(object.properties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
acc[key] = ValueOrRuntimeParameter.fromJSON(value);
return acc;
}, {});
message.customProperties = Object.entries(object.customProperties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
acc[key] = ValueOrRuntimeParameter.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: TaskOutputsSpec_OutputArtifactSpec): unknown {
const obj: any = {};
message.artifactType !== undefined &&
(obj.artifactType = message.artifactType
? ArtifactTypeSchema.toJSON(message.artifactType)
: undefined);
obj.properties = {};
if (message.properties) {
Object.entries(message.properties).forEach(([k, v]) => {
obj.properties[k] = ValueOrRuntimeParameter.toJSON(v);
});
}
obj.customProperties = {};
if (message.customProperties) {
Object.entries(message.customProperties).forEach(([k, v]) => {
obj.customProperties[k] = ValueOrRuntimeParameter.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskOutputsSpec_OutputArtifactSpec>, I>>(
object: I,
): TaskOutputsSpec_OutputArtifactSpec {
const message = {
...baseTaskOutputsSpec_OutputArtifactSpec,
} as TaskOutputsSpec_OutputArtifactSpec;
message.artifactType =
object.artifactType !== undefined && object.artifactType !== null
? ArtifactTypeSchema.fromPartial(object.artifactType)
: undefined;
message.properties = Object.entries(object.properties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ValueOrRuntimeParameter.fromPartial(value);
}
return acc;
}, {});
message.customProperties = Object.entries(object.customProperties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ValueOrRuntimeParameter.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const baseTaskOutputsSpec_OutputArtifactSpec_PropertiesEntry: object = { key: '' };
export const TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry = {
encode(
message: TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ValueOrRuntimeParameter.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseTaskOutputsSpec_OutputArtifactSpec_PropertiesEntry,
} as TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ValueOrRuntimeParameter.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry {
const message = {
...baseTaskOutputsSpec_OutputArtifactSpec_PropertiesEntry,
} as TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ValueOrRuntimeParameter.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry>, I>>(
object: I,
): TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry {
const message = {
...baseTaskOutputsSpec_OutputArtifactSpec_PropertiesEntry,
} as TaskOutputsSpec_OutputArtifactSpec_PropertiesEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromPartial(object.value)
: undefined;
return message;
},
};
const baseTaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry: object = { key: '' };
export const TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry = {
encode(
message: TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ValueOrRuntimeParameter.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseTaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry,
} as TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ValueOrRuntimeParameter.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry {
const message = {
...baseTaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry,
} as TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ValueOrRuntimeParameter.toJSON(message.value) : undefined);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry>, I>,
>(object: I): TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry {
const message = {
...baseTaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry,
} as TaskOutputsSpec_OutputArtifactSpec_CustomPropertiesEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromPartial(object.value)
: undefined;
return message;
},
};
const baseTaskOutputsSpec_OutputParameterSpec: object = { type: 0 };
export const TaskOutputsSpec_OutputParameterSpec = {
encode(
message: TaskOutputsSpec_OutputParameterSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.type !== 0) {
writer.uint32(8).int32(message.type);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskOutputsSpec_OutputParameterSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseTaskOutputsSpec_OutputParameterSpec,
} as TaskOutputsSpec_OutputParameterSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.type = reader.int32() as any;
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskOutputsSpec_OutputParameterSpec {
const message = {
...baseTaskOutputsSpec_OutputParameterSpec,
} as TaskOutputsSpec_OutputParameterSpec;
message.type =
object.type !== undefined && object.type !== null
? primitiveType_PrimitiveTypeEnumFromJSON(object.type)
: 0;
return message;
},
toJSON(message: TaskOutputsSpec_OutputParameterSpec): unknown {
const obj: any = {};
message.type !== undefined && (obj.type = primitiveType_PrimitiveTypeEnumToJSON(message.type));
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskOutputsSpec_OutputParameterSpec>, I>>(
object: I,
): TaskOutputsSpec_OutputParameterSpec {
const message = {
...baseTaskOutputsSpec_OutputParameterSpec,
} as TaskOutputsSpec_OutputParameterSpec;
message.type = object.type ?? 0;
return message;
},
};
const baseTaskOutputsSpec_ParametersEntry: object = { key: '' };
export const TaskOutputsSpec_ParametersEntry = {
encode(
message: TaskOutputsSpec_ParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
TaskOutputsSpec_OutputParameterSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskOutputsSpec_ParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseTaskOutputsSpec_ParametersEntry } as TaskOutputsSpec_ParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = TaskOutputsSpec_OutputParameterSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskOutputsSpec_ParametersEntry {
const message = { ...baseTaskOutputsSpec_ParametersEntry } as TaskOutputsSpec_ParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? TaskOutputsSpec_OutputParameterSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: TaskOutputsSpec_ParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? TaskOutputsSpec_OutputParameterSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskOutputsSpec_ParametersEntry>, I>>(
object: I,
): TaskOutputsSpec_ParametersEntry {
const message = { ...baseTaskOutputsSpec_ParametersEntry } as TaskOutputsSpec_ParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? TaskOutputsSpec_OutputParameterSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseTaskOutputsSpec_ArtifactsEntry: object = { key: '' };
export const TaskOutputsSpec_ArtifactsEntry = {
encode(
message: TaskOutputsSpec_ArtifactsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
TaskOutputsSpec_OutputArtifactSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): TaskOutputsSpec_ArtifactsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseTaskOutputsSpec_ArtifactsEntry } as TaskOutputsSpec_ArtifactsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = TaskOutputsSpec_OutputArtifactSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): TaskOutputsSpec_ArtifactsEntry {
const message = { ...baseTaskOutputsSpec_ArtifactsEntry } as TaskOutputsSpec_ArtifactsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? TaskOutputsSpec_OutputArtifactSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: TaskOutputsSpec_ArtifactsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? TaskOutputsSpec_OutputArtifactSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<TaskOutputsSpec_ArtifactsEntry>, I>>(
object: I,
): TaskOutputsSpec_ArtifactsEntry {
const message = { ...baseTaskOutputsSpec_ArtifactsEntry } as TaskOutputsSpec_ArtifactsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? TaskOutputsSpec_OutputArtifactSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const basePrimitiveType: object = {};
export const PrimitiveType = {
encode(_: PrimitiveType, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PrimitiveType {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePrimitiveType } as PrimitiveType;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(_: any): PrimitiveType {
const message = { ...basePrimitiveType } as PrimitiveType;
return message;
},
toJSON(_: PrimitiveType): unknown {
const obj: any = {};
return obj;
},
fromPartial<I extends Exact<DeepPartial<PrimitiveType>, I>>(_: I): PrimitiveType {
const message = { ...basePrimitiveType } as PrimitiveType;
return message;
},
};
const baseParameterType: object = {};
export const ParameterType = {
encode(_: ParameterType, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ParameterType {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseParameterType } as ParameterType;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(_: any): ParameterType {
const message = { ...baseParameterType } as ParameterType;
return message;
},
toJSON(_: ParameterType): unknown {
const obj: any = {};
return obj;
},
fromPartial<I extends Exact<DeepPartial<ParameterType>, I>>(_: I): ParameterType {
const message = { ...baseParameterType } as ParameterType;
return message;
},
};
const basePipelineTaskSpec: object = { dependentTasks: '' };
export const PipelineTaskSpec = {
encode(message: PipelineTaskSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.taskInfo !== undefined) {
PipelineTaskInfo.encode(message.taskInfo, writer.uint32(10).fork()).ldelim();
}
if (message.inputs !== undefined) {
TaskInputsSpec.encode(message.inputs, writer.uint32(18).fork()).ldelim();
}
for (const v of message.dependentTasks) {
writer.uint32(42).string(v!);
}
if (message.cachingOptions !== undefined) {
PipelineTaskSpec_CachingOptions.encode(
message.cachingOptions,
writer.uint32(50).fork(),
).ldelim();
}
if (message.componentRef !== undefined) {
ComponentRef.encode(message.componentRef, writer.uint32(58).fork()).ldelim();
}
if (message.triggerPolicy !== undefined) {
PipelineTaskSpec_TriggerPolicy.encode(
message.triggerPolicy,
writer.uint32(66).fork(),
).ldelim();
}
if (message.artifactIterator !== undefined) {
ArtifactIteratorSpec.encode(message.artifactIterator, writer.uint32(74).fork()).ldelim();
}
if (message.parameterIterator !== undefined) {
ParameterIteratorSpec.encode(message.parameterIterator, writer.uint32(82).fork()).ldelim();
}
if (message.retryPolicy !== undefined) {
PipelineTaskSpec_RetryPolicy.encode(message.retryPolicy, writer.uint32(90).fork()).ldelim();
}
if (message.iteratorPolicy !== undefined) {
PipelineTaskSpec_IteratorPolicy.encode(
message.iteratorPolicy,
writer.uint32(98).fork(),
).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineTaskSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineTaskSpec } as PipelineTaskSpec;
message.dependentTasks = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.taskInfo = PipelineTaskInfo.decode(reader, reader.uint32());
break;
case 2:
message.inputs = TaskInputsSpec.decode(reader, reader.uint32());
break;
case 5:
message.dependentTasks.push(reader.string());
break;
case 6:
message.cachingOptions = PipelineTaskSpec_CachingOptions.decode(reader, reader.uint32());
break;
case 7:
message.componentRef = ComponentRef.decode(reader, reader.uint32());
break;
case 8:
message.triggerPolicy = PipelineTaskSpec_TriggerPolicy.decode(reader, reader.uint32());
break;
case 9:
message.artifactIterator = ArtifactIteratorSpec.decode(reader, reader.uint32());
break;
case 10:
message.parameterIterator = ParameterIteratorSpec.decode(reader, reader.uint32());
break;
case 11:
message.retryPolicy = PipelineTaskSpec_RetryPolicy.decode(reader, reader.uint32());
break;
case 12:
message.iteratorPolicy = PipelineTaskSpec_IteratorPolicy.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineTaskSpec {
const message = { ...basePipelineTaskSpec } as PipelineTaskSpec;
message.taskInfo =
object.taskInfo !== undefined && object.taskInfo !== null
? PipelineTaskInfo.fromJSON(object.taskInfo)
: undefined;
message.inputs =
object.inputs !== undefined && object.inputs !== null
? TaskInputsSpec.fromJSON(object.inputs)
: undefined;
message.dependentTasks = (object.dependentTasks ?? []).map((e: any) => String(e));
message.cachingOptions =
object.cachingOptions !== undefined && object.cachingOptions !== null
? PipelineTaskSpec_CachingOptions.fromJSON(object.cachingOptions)
: undefined;
message.componentRef =
object.componentRef !== undefined && object.componentRef !== null
? ComponentRef.fromJSON(object.componentRef)
: undefined;
message.triggerPolicy =
object.triggerPolicy !== undefined && object.triggerPolicy !== null
? PipelineTaskSpec_TriggerPolicy.fromJSON(object.triggerPolicy)
: undefined;
message.artifactIterator =
object.artifactIterator !== undefined && object.artifactIterator !== null
? ArtifactIteratorSpec.fromJSON(object.artifactIterator)
: undefined;
message.parameterIterator =
object.parameterIterator !== undefined && object.parameterIterator !== null
? ParameterIteratorSpec.fromJSON(object.parameterIterator)
: undefined;
message.retryPolicy =
object.retryPolicy !== undefined && object.retryPolicy !== null
? PipelineTaskSpec_RetryPolicy.fromJSON(object.retryPolicy)
: undefined;
message.iteratorPolicy =
object.iteratorPolicy !== undefined && object.iteratorPolicy !== null
? PipelineTaskSpec_IteratorPolicy.fromJSON(object.iteratorPolicy)
: undefined;
return message;
},
toJSON(message: PipelineTaskSpec): unknown {
const obj: any = {};
message.taskInfo !== undefined &&
(obj.taskInfo = message.taskInfo ? PipelineTaskInfo.toJSON(message.taskInfo) : undefined);
message.inputs !== undefined &&
(obj.inputs = message.inputs ? TaskInputsSpec.toJSON(message.inputs) : undefined);
if (message.dependentTasks) {
obj.dependentTasks = message.dependentTasks.map((e) => e);
} else {
obj.dependentTasks = [];
}
message.cachingOptions !== undefined &&
(obj.cachingOptions = message.cachingOptions
? PipelineTaskSpec_CachingOptions.toJSON(message.cachingOptions)
: undefined);
message.componentRef !== undefined &&
(obj.componentRef = message.componentRef
? ComponentRef.toJSON(message.componentRef)
: undefined);
message.triggerPolicy !== undefined &&
(obj.triggerPolicy = message.triggerPolicy
? PipelineTaskSpec_TriggerPolicy.toJSON(message.triggerPolicy)
: undefined);
message.artifactIterator !== undefined &&
(obj.artifactIterator = message.artifactIterator
? ArtifactIteratorSpec.toJSON(message.artifactIterator)
: undefined);
message.parameterIterator !== undefined &&
(obj.parameterIterator = message.parameterIterator
? ParameterIteratorSpec.toJSON(message.parameterIterator)
: undefined);
message.retryPolicy !== undefined &&
(obj.retryPolicy = message.retryPolicy
? PipelineTaskSpec_RetryPolicy.toJSON(message.retryPolicy)
: undefined);
message.iteratorPolicy !== undefined &&
(obj.iteratorPolicy = message.iteratorPolicy
? PipelineTaskSpec_IteratorPolicy.toJSON(message.iteratorPolicy)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineTaskSpec>, I>>(object: I): PipelineTaskSpec {
const message = { ...basePipelineTaskSpec } as PipelineTaskSpec;
message.taskInfo =
object.taskInfo !== undefined && object.taskInfo !== null
? PipelineTaskInfo.fromPartial(object.taskInfo)
: undefined;
message.inputs =
object.inputs !== undefined && object.inputs !== null
? TaskInputsSpec.fromPartial(object.inputs)
: undefined;
message.dependentTasks = object.dependentTasks?.map((e) => e) || [];
message.cachingOptions =
object.cachingOptions !== undefined && object.cachingOptions !== null
? PipelineTaskSpec_CachingOptions.fromPartial(object.cachingOptions)
: undefined;
message.componentRef =
object.componentRef !== undefined && object.componentRef !== null
? ComponentRef.fromPartial(object.componentRef)
: undefined;
message.triggerPolicy =
object.triggerPolicy !== undefined && object.triggerPolicy !== null
? PipelineTaskSpec_TriggerPolicy.fromPartial(object.triggerPolicy)
: undefined;
message.artifactIterator =
object.artifactIterator !== undefined && object.artifactIterator !== null
? ArtifactIteratorSpec.fromPartial(object.artifactIterator)
: undefined;
message.parameterIterator =
object.parameterIterator !== undefined && object.parameterIterator !== null
? ParameterIteratorSpec.fromPartial(object.parameterIterator)
: undefined;
message.retryPolicy =
object.retryPolicy !== undefined && object.retryPolicy !== null
? PipelineTaskSpec_RetryPolicy.fromPartial(object.retryPolicy)
: undefined;
message.iteratorPolicy =
object.iteratorPolicy !== undefined && object.iteratorPolicy !== null
? PipelineTaskSpec_IteratorPolicy.fromPartial(object.iteratorPolicy)
: undefined;
return message;
},
};
const basePipelineTaskSpec_CachingOptions: object = { enableCache: false };
export const PipelineTaskSpec_CachingOptions = {
encode(
message: PipelineTaskSpec_CachingOptions,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.enableCache === true) {
writer.uint32(8).bool(message.enableCache);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineTaskSpec_CachingOptions {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineTaskSpec_CachingOptions } as PipelineTaskSpec_CachingOptions;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.enableCache = reader.bool();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineTaskSpec_CachingOptions {
const message = { ...basePipelineTaskSpec_CachingOptions } as PipelineTaskSpec_CachingOptions;
message.enableCache =
object.enableCache !== undefined && object.enableCache !== null
? Boolean(object.enableCache)
: false;
return message;
},
toJSON(message: PipelineTaskSpec_CachingOptions): unknown {
const obj: any = {};
message.enableCache !== undefined && (obj.enableCache = message.enableCache);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineTaskSpec_CachingOptions>, I>>(
object: I,
): PipelineTaskSpec_CachingOptions {
const message = { ...basePipelineTaskSpec_CachingOptions } as PipelineTaskSpec_CachingOptions;
message.enableCache = object.enableCache ?? false;
return message;
},
};
const basePipelineTaskSpec_TriggerPolicy: object = { condition: '', strategy: 0 };
export const PipelineTaskSpec_TriggerPolicy = {
encode(
message: PipelineTaskSpec_TriggerPolicy,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.condition !== '') {
writer.uint32(10).string(message.condition);
}
if (message.strategy !== 0) {
writer.uint32(16).int32(message.strategy);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineTaskSpec_TriggerPolicy {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineTaskSpec_TriggerPolicy } as PipelineTaskSpec_TriggerPolicy;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.condition = reader.string();
break;
case 2:
message.strategy = reader.int32() as any;
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineTaskSpec_TriggerPolicy {
const message = { ...basePipelineTaskSpec_TriggerPolicy } as PipelineTaskSpec_TriggerPolicy;
message.condition =
object.condition !== undefined && object.condition !== null ? String(object.condition) : '';
message.strategy =
object.strategy !== undefined && object.strategy !== null
? pipelineTaskSpec_TriggerPolicy_TriggerStrategyFromJSON(object.strategy)
: 0;
return message;
},
toJSON(message: PipelineTaskSpec_TriggerPolicy): unknown {
const obj: any = {};
message.condition !== undefined && (obj.condition = message.condition);
message.strategy !== undefined &&
(obj.strategy = pipelineTaskSpec_TriggerPolicy_TriggerStrategyToJSON(message.strategy));
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineTaskSpec_TriggerPolicy>, I>>(
object: I,
): PipelineTaskSpec_TriggerPolicy {
const message = { ...basePipelineTaskSpec_TriggerPolicy } as PipelineTaskSpec_TriggerPolicy;
message.condition = object.condition ?? '';
message.strategy = object.strategy ?? 0;
return message;
},
};
const basePipelineTaskSpec_RetryPolicy: object = { maxRetryCount: 0, backoffFactor: 0 };
export const PipelineTaskSpec_RetryPolicy = {
encode(
message: PipelineTaskSpec_RetryPolicy,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.maxRetryCount !== 0) {
writer.uint32(8).int32(message.maxRetryCount);
}
if (message.backoffDuration !== undefined) {
Duration.encode(message.backoffDuration, writer.uint32(18).fork()).ldelim();
}
if (message.backoffFactor !== 0) {
writer.uint32(25).double(message.backoffFactor);
}
if (message.backoffMaxDuration !== undefined) {
Duration.encode(message.backoffMaxDuration, writer.uint32(34).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineTaskSpec_RetryPolicy {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineTaskSpec_RetryPolicy } as PipelineTaskSpec_RetryPolicy;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.maxRetryCount = reader.int32();
break;
case 2:
message.backoffDuration = Duration.decode(reader, reader.uint32());
break;
case 3:
message.backoffFactor = reader.double();
break;
case 4:
message.backoffMaxDuration = Duration.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineTaskSpec_RetryPolicy {
const message = { ...basePipelineTaskSpec_RetryPolicy } as PipelineTaskSpec_RetryPolicy;
message.maxRetryCount =
object.maxRetryCount !== undefined && object.maxRetryCount !== null
? Number(object.maxRetryCount)
: 0;
message.backoffDuration =
object.backoffDuration !== undefined && object.backoffDuration !== null
? Duration.fromJSON(object.backoffDuration)
: undefined;
message.backoffFactor =
object.backoffFactor !== undefined && object.backoffFactor !== null
? Number(object.backoffFactor)
: 0;
message.backoffMaxDuration =
object.backoffMaxDuration !== undefined && object.backoffMaxDuration !== null
? Duration.fromJSON(object.backoffMaxDuration)
: undefined;
return message;
},
toJSON(message: PipelineTaskSpec_RetryPolicy): unknown {
const obj: any = {};
message.maxRetryCount !== undefined && (obj.maxRetryCount = Math.round(message.maxRetryCount));
message.backoffDuration !== undefined &&
(obj.backoffDuration = message.backoffDuration
? Duration.toJSON(message.backoffDuration)
: undefined);
message.backoffFactor !== undefined && (obj.backoffFactor = message.backoffFactor);
message.backoffMaxDuration !== undefined &&
(obj.backoffMaxDuration = message.backoffMaxDuration
? Duration.toJSON(message.backoffMaxDuration)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineTaskSpec_RetryPolicy>, I>>(
object: I,
): PipelineTaskSpec_RetryPolicy {
const message = { ...basePipelineTaskSpec_RetryPolicy } as PipelineTaskSpec_RetryPolicy;
message.maxRetryCount = object.maxRetryCount ?? 0;
message.backoffDuration =
object.backoffDuration !== undefined && object.backoffDuration !== null
? Duration.fromPartial(object.backoffDuration)
: undefined;
message.backoffFactor = object.backoffFactor ?? 0;
message.backoffMaxDuration =
object.backoffMaxDuration !== undefined && object.backoffMaxDuration !== null
? Duration.fromPartial(object.backoffMaxDuration)
: undefined;
return message;
},
};
const basePipelineTaskSpec_IteratorPolicy: object = { parallelismLimit: 0 };
export const PipelineTaskSpec_IteratorPolicy = {
encode(
message: PipelineTaskSpec_IteratorPolicy,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.parallelismLimit !== 0) {
writer.uint32(8).int32(message.parallelismLimit);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineTaskSpec_IteratorPolicy {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineTaskSpec_IteratorPolicy } as PipelineTaskSpec_IteratorPolicy;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.parallelismLimit = reader.int32();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineTaskSpec_IteratorPolicy {
const message = { ...basePipelineTaskSpec_IteratorPolicy } as PipelineTaskSpec_IteratorPolicy;
message.parallelismLimit =
object.parallelismLimit !== undefined && object.parallelismLimit !== null
? Number(object.parallelismLimit)
: 0;
return message;
},
toJSON(message: PipelineTaskSpec_IteratorPolicy): unknown {
const obj: any = {};
message.parallelismLimit !== undefined &&
(obj.parallelismLimit = Math.round(message.parallelismLimit));
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineTaskSpec_IteratorPolicy>, I>>(
object: I,
): PipelineTaskSpec_IteratorPolicy {
const message = { ...basePipelineTaskSpec_IteratorPolicy } as PipelineTaskSpec_IteratorPolicy;
message.parallelismLimit = object.parallelismLimit ?? 0;
return message;
},
};
const baseArtifactIteratorSpec: object = { itemInput: '' };
export const ArtifactIteratorSpec = {
encode(message: ArtifactIteratorSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.items !== undefined) {
ArtifactIteratorSpec_ItemsSpec.encode(message.items, writer.uint32(10).fork()).ldelim();
}
if (message.itemInput !== '') {
writer.uint32(18).string(message.itemInput);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ArtifactIteratorSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseArtifactIteratorSpec } as ArtifactIteratorSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.items = ArtifactIteratorSpec_ItemsSpec.decode(reader, reader.uint32());
break;
case 2:
message.itemInput = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ArtifactIteratorSpec {
const message = { ...baseArtifactIteratorSpec } as ArtifactIteratorSpec;
message.items =
object.items !== undefined && object.items !== null
? ArtifactIteratorSpec_ItemsSpec.fromJSON(object.items)
: undefined;
message.itemInput =
object.itemInput !== undefined && object.itemInput !== null ? String(object.itemInput) : '';
return message;
},
toJSON(message: ArtifactIteratorSpec): unknown {
const obj: any = {};
message.items !== undefined &&
(obj.items = message.items
? ArtifactIteratorSpec_ItemsSpec.toJSON(message.items)
: undefined);
message.itemInput !== undefined && (obj.itemInput = message.itemInput);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ArtifactIteratorSpec>, I>>(
object: I,
): ArtifactIteratorSpec {
const message = { ...baseArtifactIteratorSpec } as ArtifactIteratorSpec;
message.items =
object.items !== undefined && object.items !== null
? ArtifactIteratorSpec_ItemsSpec.fromPartial(object.items)
: undefined;
message.itemInput = object.itemInput ?? '';
return message;
},
};
const baseArtifactIteratorSpec_ItemsSpec: object = { inputArtifact: '' };
export const ArtifactIteratorSpec_ItemsSpec = {
encode(
message: ArtifactIteratorSpec_ItemsSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.inputArtifact !== '') {
writer.uint32(10).string(message.inputArtifact);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ArtifactIteratorSpec_ItemsSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseArtifactIteratorSpec_ItemsSpec } as ArtifactIteratorSpec_ItemsSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.inputArtifact = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ArtifactIteratorSpec_ItemsSpec {
const message = { ...baseArtifactIteratorSpec_ItemsSpec } as ArtifactIteratorSpec_ItemsSpec;
message.inputArtifact =
object.inputArtifact !== undefined && object.inputArtifact !== null
? String(object.inputArtifact)
: '';
return message;
},
toJSON(message: ArtifactIteratorSpec_ItemsSpec): unknown {
const obj: any = {};
message.inputArtifact !== undefined && (obj.inputArtifact = message.inputArtifact);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ArtifactIteratorSpec_ItemsSpec>, I>>(
object: I,
): ArtifactIteratorSpec_ItemsSpec {
const message = { ...baseArtifactIteratorSpec_ItemsSpec } as ArtifactIteratorSpec_ItemsSpec;
message.inputArtifact = object.inputArtifact ?? '';
return message;
},
};
const baseParameterIteratorSpec: object = { itemInput: '' };
export const ParameterIteratorSpec = {
encode(message: ParameterIteratorSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.items !== undefined) {
ParameterIteratorSpec_ItemsSpec.encode(message.items, writer.uint32(10).fork()).ldelim();
}
if (message.itemInput !== '') {
writer.uint32(18).string(message.itemInput);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ParameterIteratorSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseParameterIteratorSpec } as ParameterIteratorSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.items = ParameterIteratorSpec_ItemsSpec.decode(reader, reader.uint32());
break;
case 2:
message.itemInput = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ParameterIteratorSpec {
const message = { ...baseParameterIteratorSpec } as ParameterIteratorSpec;
message.items =
object.items !== undefined && object.items !== null
? ParameterIteratorSpec_ItemsSpec.fromJSON(object.items)
: undefined;
message.itemInput =
object.itemInput !== undefined && object.itemInput !== null ? String(object.itemInput) : '';
return message;
},
toJSON(message: ParameterIteratorSpec): unknown {
const obj: any = {};
message.items !== undefined &&
(obj.items = message.items
? ParameterIteratorSpec_ItemsSpec.toJSON(message.items)
: undefined);
message.itemInput !== undefined && (obj.itemInput = message.itemInput);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ParameterIteratorSpec>, I>>(
object: I,
): ParameterIteratorSpec {
const message = { ...baseParameterIteratorSpec } as ParameterIteratorSpec;
message.items =
object.items !== undefined && object.items !== null
? ParameterIteratorSpec_ItemsSpec.fromPartial(object.items)
: undefined;
message.itemInput = object.itemInput ?? '';
return message;
},
};
const baseParameterIteratorSpec_ItemsSpec: object = {};
export const ParameterIteratorSpec_ItemsSpec = {
encode(
message: ParameterIteratorSpec_ItemsSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.raw !== undefined) {
writer.uint32(10).string(message.raw);
}
if (message.inputParameter !== undefined) {
writer.uint32(18).string(message.inputParameter);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ParameterIteratorSpec_ItemsSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseParameterIteratorSpec_ItemsSpec } as ParameterIteratorSpec_ItemsSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.raw = reader.string();
break;
case 2:
message.inputParameter = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ParameterIteratorSpec_ItemsSpec {
const message = { ...baseParameterIteratorSpec_ItemsSpec } as ParameterIteratorSpec_ItemsSpec;
message.raw = object.raw !== undefined && object.raw !== null ? String(object.raw) : undefined;
message.inputParameter =
object.inputParameter !== undefined && object.inputParameter !== null
? String(object.inputParameter)
: undefined;
return message;
},
toJSON(message: ParameterIteratorSpec_ItemsSpec): unknown {
const obj: any = {};
message.raw !== undefined && (obj.raw = message.raw);
message.inputParameter !== undefined && (obj.inputParameter = message.inputParameter);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ParameterIteratorSpec_ItemsSpec>, I>>(
object: I,
): ParameterIteratorSpec_ItemsSpec {
const message = { ...baseParameterIteratorSpec_ItemsSpec } as ParameterIteratorSpec_ItemsSpec;
message.raw = object.raw ?? undefined;
message.inputParameter = object.inputParameter ?? undefined;
return message;
},
};
const baseComponentRef: object = { name: '' };
export const ComponentRef = {
encode(message: ComponentRef, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.name !== '') {
writer.uint32(10).string(message.name);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ComponentRef {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseComponentRef } as ComponentRef;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.name = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ComponentRef {
const message = { ...baseComponentRef } as ComponentRef;
message.name = object.name !== undefined && object.name !== null ? String(object.name) : '';
return message;
},
toJSON(message: ComponentRef): unknown {
const obj: any = {};
message.name !== undefined && (obj.name = message.name);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ComponentRef>, I>>(object: I): ComponentRef {
const message = { ...baseComponentRef } as ComponentRef;
message.name = object.name ?? '';
return message;
},
};
const basePipelineInfo: object = { name: '', displayName: '', description: '' };
export const PipelineInfo = {
encode(message: PipelineInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.name !== '') {
writer.uint32(10).string(message.name);
}
if (message.displayName !== '') {
writer.uint32(18).string(message.displayName);
}
if (message.description !== '') {
writer.uint32(26).string(message.description);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineInfo {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineInfo } as PipelineInfo;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.name = reader.string();
break;
case 2:
message.displayName = reader.string();
break;
case 3:
message.description = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineInfo {
const message = { ...basePipelineInfo } as PipelineInfo;
message.name = object.name !== undefined && object.name !== null ? String(object.name) : '';
message.displayName =
object.displayName !== undefined && object.displayName !== null
? String(object.displayName)
: '';
message.description =
object.description !== undefined && object.description !== null
? String(object.description)
: '';
return message;
},
toJSON(message: PipelineInfo): unknown {
const obj: any = {};
message.name !== undefined && (obj.name = message.name);
message.displayName !== undefined && (obj.displayName = message.displayName);
message.description !== undefined && (obj.description = message.description);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineInfo>, I>>(object: I): PipelineInfo {
const message = { ...basePipelineInfo } as PipelineInfo;
message.name = object.name ?? '';
message.displayName = object.displayName ?? '';
message.description = object.description ?? '';
return message;
},
};
const baseArtifactTypeSchema: object = { schemaVersion: '' };
export const ArtifactTypeSchema = {
encode(message: ArtifactTypeSchema, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.schemaTitle !== undefined) {
writer.uint32(10).string(message.schemaTitle);
}
if (message.schemaUri !== undefined) {
writer.uint32(18).string(message.schemaUri);
}
if (message.instanceSchema !== undefined) {
writer.uint32(26).string(message.instanceSchema);
}
if (message.schemaVersion !== '') {
writer.uint32(34).string(message.schemaVersion);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ArtifactTypeSchema {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseArtifactTypeSchema } as ArtifactTypeSchema;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.schemaTitle = reader.string();
break;
case 2:
message.schemaUri = reader.string();
break;
case 3:
message.instanceSchema = reader.string();
break;
case 4:
message.schemaVersion = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ArtifactTypeSchema {
const message = { ...baseArtifactTypeSchema } as ArtifactTypeSchema;
message.schemaTitle =
object.schemaTitle !== undefined && object.schemaTitle !== null
? String(object.schemaTitle)
: undefined;
message.schemaUri =
object.schemaUri !== undefined && object.schemaUri !== null
? String(object.schemaUri)
: undefined;
message.instanceSchema =
object.instanceSchema !== undefined && object.instanceSchema !== null
? String(object.instanceSchema)
: undefined;
message.schemaVersion =
object.schemaVersion !== undefined && object.schemaVersion !== null
? String(object.schemaVersion)
: '';
return message;
},
toJSON(message: ArtifactTypeSchema): unknown {
const obj: any = {};
message.schemaTitle !== undefined && (obj.schemaTitle = message.schemaTitle);
message.schemaUri !== undefined && (obj.schemaUri = message.schemaUri);
message.instanceSchema !== undefined && (obj.instanceSchema = message.instanceSchema);
message.schemaVersion !== undefined && (obj.schemaVersion = message.schemaVersion);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ArtifactTypeSchema>, I>>(object: I): ArtifactTypeSchema {
const message = { ...baseArtifactTypeSchema } as ArtifactTypeSchema;
message.schemaTitle = object.schemaTitle ?? undefined;
message.schemaUri = object.schemaUri ?? undefined;
message.instanceSchema = object.instanceSchema ?? undefined;
message.schemaVersion = object.schemaVersion ?? '';
return message;
},
};
const basePipelineTaskInfo: object = { name: '' };
export const PipelineTaskInfo = {
encode(message: PipelineTaskInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.name !== '') {
writer.uint32(10).string(message.name);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineTaskInfo {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineTaskInfo } as PipelineTaskInfo;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.name = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineTaskInfo {
const message = { ...basePipelineTaskInfo } as PipelineTaskInfo;
message.name = object.name !== undefined && object.name !== null ? String(object.name) : '';
return message;
},
toJSON(message: PipelineTaskInfo): unknown {
const obj: any = {};
message.name !== undefined && (obj.name = message.name);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineTaskInfo>, I>>(object: I): PipelineTaskInfo {
const message = { ...basePipelineTaskInfo } as PipelineTaskInfo;
message.name = object.name ?? '';
return message;
},
};
const baseValueOrRuntimeParameter: object = {};
export const ValueOrRuntimeParameter = {
encode(message: ValueOrRuntimeParameter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.constantValue !== undefined) {
Value.encode(message.constantValue, writer.uint32(10).fork()).ldelim();
}
if (message.runtimeParameter !== undefined) {
writer.uint32(18).string(message.runtimeParameter);
}
if (message.constant !== undefined) {
Value1.encode(Value1.wrap(message.constant), writer.uint32(26).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ValueOrRuntimeParameter {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseValueOrRuntimeParameter } as ValueOrRuntimeParameter;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.constantValue = Value.decode(reader, reader.uint32());
break;
case 2:
message.runtimeParameter = reader.string();
break;
case 3:
message.constant = Value1.unwrap(Value1.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ValueOrRuntimeParameter {
const message = { ...baseValueOrRuntimeParameter } as ValueOrRuntimeParameter;
message.constantValue =
object.constantValue !== undefined && object.constantValue !== null
? Value.fromJSON(object.constantValue)
: undefined;
message.runtimeParameter =
object.runtimeParameter !== undefined && object.runtimeParameter !== null
? String(object.runtimeParameter)
: undefined;
message.constant = object.constant;
return message;
},
toJSON(message: ValueOrRuntimeParameter): unknown {
const obj: any = {};
message.constantValue !== undefined &&
(obj.constantValue = message.constantValue ? Value.toJSON(message.constantValue) : undefined);
message.runtimeParameter !== undefined && (obj.runtimeParameter = message.runtimeParameter);
message.constant !== undefined && (obj.constant = message.constant);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ValueOrRuntimeParameter>, I>>(
object: I,
): ValueOrRuntimeParameter {
const message = { ...baseValueOrRuntimeParameter } as ValueOrRuntimeParameter;
message.constantValue =
object.constantValue !== undefined && object.constantValue !== null
? Value.fromPartial(object.constantValue)
: undefined;
message.runtimeParameter = object.runtimeParameter ?? undefined;
message.constant = object.constant ?? undefined;
return message;
},
};
const basePipelineDeploymentConfig: object = {};
export const PipelineDeploymentConfig = {
encode(message: PipelineDeploymentConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.executors).forEach(([key, value]) => {
PipelineDeploymentConfig_ExecutorsEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineDeploymentConfig {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineDeploymentConfig } as PipelineDeploymentConfig;
message.executors = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = PipelineDeploymentConfig_ExecutorsEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.executors[entry1.key] = entry1.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig {
const message = { ...basePipelineDeploymentConfig } as PipelineDeploymentConfig;
message.executors = Object.entries(object.executors ?? {}).reduce<{
[key: string]: PipelineDeploymentConfig_ExecutorSpec;
}>((acc, [key, value]) => {
acc[key] = PipelineDeploymentConfig_ExecutorSpec.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: PipelineDeploymentConfig): unknown {
const obj: any = {};
obj.executors = {};
if (message.executors) {
Object.entries(message.executors).forEach(([k, v]) => {
obj.executors[k] = PipelineDeploymentConfig_ExecutorSpec.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineDeploymentConfig>, I>>(
object: I,
): PipelineDeploymentConfig {
const message = { ...basePipelineDeploymentConfig } as PipelineDeploymentConfig;
message.executors = Object.entries(object.executors ?? {}).reduce<{
[key: string]: PipelineDeploymentConfig_ExecutorSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = PipelineDeploymentConfig_ExecutorSpec.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const basePipelineDeploymentConfig_PipelineContainerSpec: object = {
image: '',
command: '',
args: '',
};
export const PipelineDeploymentConfig_PipelineContainerSpec = {
encode(
message: PipelineDeploymentConfig_PipelineContainerSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.image !== '') {
writer.uint32(10).string(message.image);
}
for (const v of message.command) {
writer.uint32(18).string(v!);
}
for (const v of message.args) {
writer.uint32(26).string(v!);
}
if (message.lifecycle !== undefined) {
PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle.encode(
message.lifecycle,
writer.uint32(34).fork(),
).ldelim();
}
if (message.resources !== undefined) {
PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec.encode(
message.resources,
writer.uint32(42).fork(),
).ldelim();
}
for (const v of message.env) {
PipelineDeploymentConfig_PipelineContainerSpec_EnvVar.encode(
v!,
writer.uint32(50).fork(),
).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_PipelineContainerSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec,
} as PipelineDeploymentConfig_PipelineContainerSpec;
message.command = [];
message.args = [];
message.env = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.image = reader.string();
break;
case 2:
message.command.push(reader.string());
break;
case 3:
message.args.push(reader.string());
break;
case 4:
message.lifecycle = PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle.decode(
reader,
reader.uint32(),
);
break;
case 5:
message.resources = PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec.decode(
reader,
reader.uint32(),
);
break;
case 6:
message.env.push(
PipelineDeploymentConfig_PipelineContainerSpec_EnvVar.decode(reader, reader.uint32()),
);
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_PipelineContainerSpec {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec,
} as PipelineDeploymentConfig_PipelineContainerSpec;
message.image = object.image !== undefined && object.image !== null ? String(object.image) : '';
message.command = (object.command ?? []).map((e: any) => String(e));
message.args = (object.args ?? []).map((e: any) => String(e));
message.lifecycle =
object.lifecycle !== undefined && object.lifecycle !== null
? PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle.fromJSON(object.lifecycle)
: undefined;
message.resources =
object.resources !== undefined && object.resources !== null
? PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec.fromJSON(object.resources)
: undefined;
message.env = (object.env ?? []).map((e: any) =>
PipelineDeploymentConfig_PipelineContainerSpec_EnvVar.fromJSON(e),
);
return message;
},
toJSON(message: PipelineDeploymentConfig_PipelineContainerSpec): unknown {
const obj: any = {};
message.image !== undefined && (obj.image = message.image);
if (message.command) {
obj.command = message.command.map((e) => e);
} else {
obj.command = [];
}
if (message.args) {
obj.args = message.args.map((e) => e);
} else {
obj.args = [];
}
message.lifecycle !== undefined &&
(obj.lifecycle = message.lifecycle
? PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle.toJSON(message.lifecycle)
: undefined);
message.resources !== undefined &&
(obj.resources = message.resources
? PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec.toJSON(message.resources)
: undefined);
if (message.env) {
obj.env = message.env.map((e) =>
e ? PipelineDeploymentConfig_PipelineContainerSpec_EnvVar.toJSON(e) : undefined,
);
} else {
obj.env = [];
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineDeploymentConfig_PipelineContainerSpec>, I>>(
object: I,
): PipelineDeploymentConfig_PipelineContainerSpec {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec,
} as PipelineDeploymentConfig_PipelineContainerSpec;
message.image = object.image ?? '';
message.command = object.command?.map((e) => e) || [];
message.args = object.args?.map((e) => e) || [];
message.lifecycle =
object.lifecycle !== undefined && object.lifecycle !== null
? PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle.fromPartial(object.lifecycle)
: undefined;
message.resources =
object.resources !== undefined && object.resources !== null
? PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec.fromPartial(object.resources)
: undefined;
message.env =
object.env?.map((e) =>
PipelineDeploymentConfig_PipelineContainerSpec_EnvVar.fromPartial(e),
) || [];
return message;
},
};
const basePipelineDeploymentConfig_PipelineContainerSpec_Lifecycle: object = {};
export const PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle = {
encode(
message: PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.preCacheCheck !== undefined) {
PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec.encode(
message.preCacheCheck,
writer.uint32(10).fork(),
).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_Lifecycle,
} as PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.preCacheCheck =
PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec.decode(
reader,
reader.uint32(),
);
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_Lifecycle,
} as PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle;
message.preCacheCheck =
object.preCacheCheck !== undefined && object.preCacheCheck !== null
? PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec.fromJSON(
object.preCacheCheck,
)
: undefined;
return message;
},
toJSON(message: PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle): unknown {
const obj: any = {};
message.preCacheCheck !== undefined &&
(obj.preCacheCheck = message.preCacheCheck
? PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec.toJSON(
message.preCacheCheck,
)
: undefined);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle>, I>,
>(object: I): PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_Lifecycle,
} as PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle;
message.preCacheCheck =
object.preCacheCheck !== undefined && object.preCacheCheck !== null
? PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec.fromPartial(
object.preCacheCheck,
)
: undefined;
return message;
},
};
const basePipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec: object = {
command: '',
args: '',
};
export const PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec = {
encode(
message: PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
for (const v of message.command) {
writer.uint32(18).string(v!);
}
for (const v of message.args) {
writer.uint32(26).string(v!);
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec,
} as PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec;
message.command = [];
message.args = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 2:
message.command.push(reader.string());
break;
case 3:
message.args.push(reader.string());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec,
} as PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec;
message.command = (object.command ?? []).map((e: any) => String(e));
message.args = (object.args ?? []).map((e: any) => String(e));
return message;
},
toJSON(message: PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec): unknown {
const obj: any = {};
if (message.command) {
obj.command = message.command.map((e) => e);
} else {
obj.command = [];
}
if (message.args) {
obj.args = message.args.map((e) => e);
} else {
obj.args = [];
}
return obj;
},
fromPartial<
I extends Exact<DeepPartial<PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec>, I>,
>(object: I): PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec,
} as PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec;
message.command = object.command?.map((e) => e) || [];
message.args = object.args?.map((e) => e) || [];
return message;
},
};
const basePipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec: object = {
cpuLimit: 0,
memoryLimit: 0,
cpuRequest: 0,
memoryRequest: 0,
};
export const PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec = {
encode(
message: PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.cpuLimit !== 0) {
writer.uint32(9).double(message.cpuLimit);
}
if (message.memoryLimit !== 0) {
writer.uint32(17).double(message.memoryLimit);
}
if (message.cpuRequest !== 0) {
writer.uint32(41).double(message.cpuRequest);
}
if (message.memoryRequest !== 0) {
writer.uint32(49).double(message.memoryRequest);
}
if (message.accelerator !== undefined) {
PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig.encode(
message.accelerator,
writer.uint32(26).fork(),
).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec,
} as PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.cpuLimit = reader.double();
break;
case 2:
message.memoryLimit = reader.double();
break;
case 5:
message.cpuRequest = reader.double();
break;
case 6:
message.memoryRequest = reader.double();
break;
case 3:
message.accelerator =
PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig.decode(
reader,
reader.uint32(),
);
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec,
} as PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec;
message.cpuLimit =
object.cpuLimit !== undefined && object.cpuLimit !== null ? Number(object.cpuLimit) : 0;
message.memoryLimit =
object.memoryLimit !== undefined && object.memoryLimit !== null
? Number(object.memoryLimit)
: 0;
message.cpuRequest =
object.cpuRequest !== undefined && object.cpuRequest !== null ? Number(object.cpuRequest) : 0;
message.memoryRequest =
object.memoryRequest !== undefined && object.memoryRequest !== null
? Number(object.memoryRequest)
: 0;
message.accelerator =
object.accelerator !== undefined && object.accelerator !== null
? PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig.fromJSON(
object.accelerator,
)
: undefined;
return message;
},
toJSON(message: PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec): unknown {
const obj: any = {};
message.cpuLimit !== undefined && (obj.cpuLimit = message.cpuLimit);
message.memoryLimit !== undefined && (obj.memoryLimit = message.memoryLimit);
message.cpuRequest !== undefined && (obj.cpuRequest = message.cpuRequest);
message.memoryRequest !== undefined && (obj.memoryRequest = message.memoryRequest);
message.accelerator !== undefined &&
(obj.accelerator = message.accelerator
? PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig.toJSON(
message.accelerator,
)
: undefined);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec>, I>,
>(object: I): PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec,
} as PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec;
message.cpuLimit = object.cpuLimit ?? 0;
message.memoryLimit = object.memoryLimit ?? 0;
message.cpuRequest = object.cpuRequest ?? 0;
message.memoryRequest = object.memoryRequest ?? 0;
message.accelerator =
object.accelerator !== undefined && object.accelerator !== null
? PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig.fromPartial(
object.accelerator,
)
: undefined;
return message;
},
};
const basePipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig: object = {
type: '',
count: 0,
};
export const PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig = {
encode(
message: PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.type !== '') {
writer.uint32(10).string(message.type);
}
if (message.count !== 0) {
writer.uint32(16).int64(message.count);
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig,
} as PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.type = reader.string();
break;
case 2:
message.count = longToNumber(reader.int64() as Long);
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(
object: any,
): PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig,
} as PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig;
message.type = object.type !== undefined && object.type !== null ? String(object.type) : '';
message.count = object.count !== undefined && object.count !== null ? Number(object.count) : 0;
return message;
},
toJSON(
message: PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig,
): unknown {
const obj: any = {};
message.type !== undefined && (obj.type = message.type);
message.count !== undefined && (obj.count = Math.round(message.count));
return obj;
},
fromPartial<
I extends Exact<
DeepPartial<PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig>,
I
>,
>(object: I): PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig,
} as PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig;
message.type = object.type ?? '';
message.count = object.count ?? 0;
return message;
},
};
const basePipelineDeploymentConfig_PipelineContainerSpec_EnvVar: object = { name: '', value: '' };
export const PipelineDeploymentConfig_PipelineContainerSpec_EnvVar = {
encode(
message: PipelineDeploymentConfig_PipelineContainerSpec_EnvVar,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.name !== '') {
writer.uint32(10).string(message.name);
}
if (message.value !== '') {
writer.uint32(18).string(message.value);
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_PipelineContainerSpec_EnvVar {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_EnvVar,
} as PipelineDeploymentConfig_PipelineContainerSpec_EnvVar;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.name = reader.string();
break;
case 2:
message.value = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_PipelineContainerSpec_EnvVar {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_EnvVar,
} as PipelineDeploymentConfig_PipelineContainerSpec_EnvVar;
message.name = object.name !== undefined && object.name !== null ? String(object.name) : '';
message.value = object.value !== undefined && object.value !== null ? String(object.value) : '';
return message;
},
toJSON(message: PipelineDeploymentConfig_PipelineContainerSpec_EnvVar): unknown {
const obj: any = {};
message.name !== undefined && (obj.name = message.name);
message.value !== undefined && (obj.value = message.value);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<PipelineDeploymentConfig_PipelineContainerSpec_EnvVar>, I>,
>(object: I): PipelineDeploymentConfig_PipelineContainerSpec_EnvVar {
const message = {
...basePipelineDeploymentConfig_PipelineContainerSpec_EnvVar,
} as PipelineDeploymentConfig_PipelineContainerSpec_EnvVar;
message.name = object.name ?? '';
message.value = object.value ?? '';
return message;
},
};
const basePipelineDeploymentConfig_ImporterSpec: object = { reimport: false };
export const PipelineDeploymentConfig_ImporterSpec = {
encode(
message: PipelineDeploymentConfig_ImporterSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.artifactUri !== undefined) {
ValueOrRuntimeParameter.encode(message.artifactUri, writer.uint32(10).fork()).ldelim();
}
if (message.typeSchema !== undefined) {
ArtifactTypeSchema.encode(message.typeSchema, writer.uint32(18).fork()).ldelim();
}
Object.entries(message.properties).forEach(([key, value]) => {
PipelineDeploymentConfig_ImporterSpec_PropertiesEntry.encode(
{ key: key as any, value },
writer.uint32(26).fork(),
).ldelim();
});
Object.entries(message.customProperties).forEach(([key, value]) => {
PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry.encode(
{ key: key as any, value },
writer.uint32(34).fork(),
).ldelim();
});
if (message.metadata !== undefined) {
Struct.encode(Struct.wrap(message.metadata), writer.uint32(50).fork()).ldelim();
}
if (message.reimport === true) {
writer.uint32(40).bool(message.reimport);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineDeploymentConfig_ImporterSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_ImporterSpec,
} as PipelineDeploymentConfig_ImporterSpec;
message.properties = {};
message.customProperties = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.artifactUri = ValueOrRuntimeParameter.decode(reader, reader.uint32());
break;
case 2:
message.typeSchema = ArtifactTypeSchema.decode(reader, reader.uint32());
break;
case 3:
const entry3 = PipelineDeploymentConfig_ImporterSpec_PropertiesEntry.decode(
reader,
reader.uint32(),
);
if (entry3.value !== undefined) {
message.properties[entry3.key] = entry3.value;
}
break;
case 4:
const entry4 = PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry.decode(
reader,
reader.uint32(),
);
if (entry4.value !== undefined) {
message.customProperties[entry4.key] = entry4.value;
}
break;
case 6:
message.metadata = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
case 5:
message.reimport = reader.bool();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_ImporterSpec {
const message = {
...basePipelineDeploymentConfig_ImporterSpec,
} as PipelineDeploymentConfig_ImporterSpec;
message.artifactUri =
object.artifactUri !== undefined && object.artifactUri !== null
? ValueOrRuntimeParameter.fromJSON(object.artifactUri)
: undefined;
message.typeSchema =
object.typeSchema !== undefined && object.typeSchema !== null
? ArtifactTypeSchema.fromJSON(object.typeSchema)
: undefined;
message.properties = Object.entries(object.properties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
acc[key] = ValueOrRuntimeParameter.fromJSON(value);
return acc;
}, {});
message.customProperties = Object.entries(object.customProperties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
acc[key] = ValueOrRuntimeParameter.fromJSON(value);
return acc;
}, {});
message.metadata = typeof object.metadata === 'object' ? object.metadata : undefined;
message.reimport =
object.reimport !== undefined && object.reimport !== null ? Boolean(object.reimport) : false;
return message;
},
toJSON(message: PipelineDeploymentConfig_ImporterSpec): unknown {
const obj: any = {};
message.artifactUri !== undefined &&
(obj.artifactUri = message.artifactUri
? ValueOrRuntimeParameter.toJSON(message.artifactUri)
: undefined);
message.typeSchema !== undefined &&
(obj.typeSchema = message.typeSchema
? ArtifactTypeSchema.toJSON(message.typeSchema)
: undefined);
obj.properties = {};
if (message.properties) {
Object.entries(message.properties).forEach(([k, v]) => {
obj.properties[k] = ValueOrRuntimeParameter.toJSON(v);
});
}
obj.customProperties = {};
if (message.customProperties) {
Object.entries(message.customProperties).forEach(([k, v]) => {
obj.customProperties[k] = ValueOrRuntimeParameter.toJSON(v);
});
}
message.metadata !== undefined && (obj.metadata = message.metadata);
message.reimport !== undefined && (obj.reimport = message.reimport);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineDeploymentConfig_ImporterSpec>, I>>(
object: I,
): PipelineDeploymentConfig_ImporterSpec {
const message = {
...basePipelineDeploymentConfig_ImporterSpec,
} as PipelineDeploymentConfig_ImporterSpec;
message.artifactUri =
object.artifactUri !== undefined && object.artifactUri !== null
? ValueOrRuntimeParameter.fromPartial(object.artifactUri)
: undefined;
message.typeSchema =
object.typeSchema !== undefined && object.typeSchema !== null
? ArtifactTypeSchema.fromPartial(object.typeSchema)
: undefined;
message.properties = Object.entries(object.properties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ValueOrRuntimeParameter.fromPartial(value);
}
return acc;
}, {});
message.customProperties = Object.entries(object.customProperties ?? {}).reduce<{
[key: string]: ValueOrRuntimeParameter;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ValueOrRuntimeParameter.fromPartial(value);
}
return acc;
}, {});
message.metadata = object.metadata ?? undefined;
message.reimport = object.reimport ?? false;
return message;
},
};
const basePipelineDeploymentConfig_ImporterSpec_PropertiesEntry: object = { key: '' };
export const PipelineDeploymentConfig_ImporterSpec_PropertiesEntry = {
encode(
message: PipelineDeploymentConfig_ImporterSpec_PropertiesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ValueOrRuntimeParameter.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_ImporterSpec_PropertiesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_ImporterSpec_PropertiesEntry,
} as PipelineDeploymentConfig_ImporterSpec_PropertiesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ValueOrRuntimeParameter.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_ImporterSpec_PropertiesEntry {
const message = {
...basePipelineDeploymentConfig_ImporterSpec_PropertiesEntry,
} as PipelineDeploymentConfig_ImporterSpec_PropertiesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: PipelineDeploymentConfig_ImporterSpec_PropertiesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ValueOrRuntimeParameter.toJSON(message.value) : undefined);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<PipelineDeploymentConfig_ImporterSpec_PropertiesEntry>, I>,
>(object: I): PipelineDeploymentConfig_ImporterSpec_PropertiesEntry {
const message = {
...basePipelineDeploymentConfig_ImporterSpec_PropertiesEntry,
} as PipelineDeploymentConfig_ImporterSpec_PropertiesEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromPartial(object.value)
: undefined;
return message;
},
};
const basePipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry: object = { key: '' };
export const PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry = {
encode(
message: PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ValueOrRuntimeParameter.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry,
} as PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ValueOrRuntimeParameter.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry {
const message = {
...basePipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry,
} as PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ValueOrRuntimeParameter.toJSON(message.value) : undefined);
return obj;
},
fromPartial<
I extends Exact<DeepPartial<PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry>, I>,
>(object: I): PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry {
const message = {
...basePipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry,
} as PipelineDeploymentConfig_ImporterSpec_CustomPropertiesEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ValueOrRuntimeParameter.fromPartial(object.value)
: undefined;
return message;
},
};
const basePipelineDeploymentConfig_ResolverSpec: object = {};
export const PipelineDeploymentConfig_ResolverSpec = {
encode(
message: PipelineDeploymentConfig_ResolverSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
Object.entries(message.outputArtifactQueries).forEach(([key, value]) => {
PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineDeploymentConfig_ResolverSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_ResolverSpec,
} as PipelineDeploymentConfig_ResolverSpec;
message.outputArtifactQueries = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry.decode(
reader,
reader.uint32(),
);
if (entry1.value !== undefined) {
message.outputArtifactQueries[entry1.key] = entry1.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_ResolverSpec {
const message = {
...basePipelineDeploymentConfig_ResolverSpec,
} as PipelineDeploymentConfig_ResolverSpec;
message.outputArtifactQueries = Object.entries(object.outputArtifactQueries ?? {}).reduce<{
[key: string]: PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec;
}>((acc, [key, value]) => {
acc[key] = PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: PipelineDeploymentConfig_ResolverSpec): unknown {
const obj: any = {};
obj.outputArtifactQueries = {};
if (message.outputArtifactQueries) {
Object.entries(message.outputArtifactQueries).forEach(([k, v]) => {
obj.outputArtifactQueries[k] =
PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineDeploymentConfig_ResolverSpec>, I>>(
object: I,
): PipelineDeploymentConfig_ResolverSpec {
const message = {
...basePipelineDeploymentConfig_ResolverSpec,
} as PipelineDeploymentConfig_ResolverSpec;
message.outputArtifactQueries = Object.entries(object.outputArtifactQueries ?? {}).reduce<{
[key: string]: PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const basePipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec: object = {
filter: '',
limit: 0,
};
export const PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec = {
encode(
message: PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.filter !== '') {
writer.uint32(10).string(message.filter);
}
if (message.limit !== 0) {
writer.uint32(16).int32(message.limit);
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec,
} as PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.filter = reader.string();
break;
case 2:
message.limit = reader.int32();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec {
const message = {
...basePipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec,
} as PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec;
message.filter =
object.filter !== undefined && object.filter !== null ? String(object.filter) : '';
message.limit = object.limit !== undefined && object.limit !== null ? Number(object.limit) : 0;
return message;
},
toJSON(message: PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec): unknown {
const obj: any = {};
message.filter !== undefined && (obj.filter = message.filter);
message.limit !== undefined && (obj.limit = Math.round(message.limit));
return obj;
},
fromPartial<
I extends Exact<DeepPartial<PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec>, I>,
>(object: I): PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec {
const message = {
...basePipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec,
} as PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec;
message.filter = object.filter ?? '';
message.limit = object.limit ?? 0;
return message;
},
};
const basePipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry: object = { key: '' };
export const PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry = {
encode(
message: PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec.encode(
message.value,
writer.uint32(18).fork(),
).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry,
} as PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec.decode(
reader,
reader.uint32(),
);
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry {
const message = {
...basePipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry,
} as PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<
I extends Exact<
DeepPartial<PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry>,
I
>,
>(object: I): PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry {
const message = {
...basePipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry,
} as PipelineDeploymentConfig_ResolverSpec_OutputArtifactQueriesEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec.fromPartial(object.value)
: undefined;
return message;
},
};
const basePipelineDeploymentConfig_AIPlatformCustomJobSpec: object = {};
export const PipelineDeploymentConfig_AIPlatformCustomJobSpec = {
encode(
message: PipelineDeploymentConfig_AIPlatformCustomJobSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.customJob !== undefined) {
Struct.encode(Struct.wrap(message.customJob), writer.uint32(10).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): PipelineDeploymentConfig_AIPlatformCustomJobSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_AIPlatformCustomJobSpec,
} as PipelineDeploymentConfig_AIPlatformCustomJobSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.customJob = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_AIPlatformCustomJobSpec {
const message = {
...basePipelineDeploymentConfig_AIPlatformCustomJobSpec,
} as PipelineDeploymentConfig_AIPlatformCustomJobSpec;
message.customJob = typeof object.customJob === 'object' ? object.customJob : undefined;
return message;
},
toJSON(message: PipelineDeploymentConfig_AIPlatformCustomJobSpec): unknown {
const obj: any = {};
message.customJob !== undefined && (obj.customJob = message.customJob);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineDeploymentConfig_AIPlatformCustomJobSpec>, I>>(
object: I,
): PipelineDeploymentConfig_AIPlatformCustomJobSpec {
const message = {
...basePipelineDeploymentConfig_AIPlatformCustomJobSpec,
} as PipelineDeploymentConfig_AIPlatformCustomJobSpec;
message.customJob = object.customJob ?? undefined;
return message;
},
};
const basePipelineDeploymentConfig_ExecutorSpec: object = {};
export const PipelineDeploymentConfig_ExecutorSpec = {
encode(
message: PipelineDeploymentConfig_ExecutorSpec,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.container !== undefined) {
PipelineDeploymentConfig_PipelineContainerSpec.encode(
message.container,
writer.uint32(10).fork(),
).ldelim();
}
if (message.importer !== undefined) {
PipelineDeploymentConfig_ImporterSpec.encode(
message.importer,
writer.uint32(18).fork(),
).ldelim();
}
if (message.resolver !== undefined) {
PipelineDeploymentConfig_ResolverSpec.encode(
message.resolver,
writer.uint32(26).fork(),
).ldelim();
}
if (message.customJob !== undefined) {
PipelineDeploymentConfig_AIPlatformCustomJobSpec.encode(
message.customJob,
writer.uint32(34).fork(),
).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineDeploymentConfig_ExecutorSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_ExecutorSpec,
} as PipelineDeploymentConfig_ExecutorSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.container = PipelineDeploymentConfig_PipelineContainerSpec.decode(
reader,
reader.uint32(),
);
break;
case 2:
message.importer = PipelineDeploymentConfig_ImporterSpec.decode(reader, reader.uint32());
break;
case 3:
message.resolver = PipelineDeploymentConfig_ResolverSpec.decode(reader, reader.uint32());
break;
case 4:
message.customJob = PipelineDeploymentConfig_AIPlatformCustomJobSpec.decode(
reader,
reader.uint32(),
);
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_ExecutorSpec {
const message = {
...basePipelineDeploymentConfig_ExecutorSpec,
} as PipelineDeploymentConfig_ExecutorSpec;
message.container =
object.container !== undefined && object.container !== null
? PipelineDeploymentConfig_PipelineContainerSpec.fromJSON(object.container)
: undefined;
message.importer =
object.importer !== undefined && object.importer !== null
? PipelineDeploymentConfig_ImporterSpec.fromJSON(object.importer)
: undefined;
message.resolver =
object.resolver !== undefined && object.resolver !== null
? PipelineDeploymentConfig_ResolverSpec.fromJSON(object.resolver)
: undefined;
message.customJob =
object.customJob !== undefined && object.customJob !== null
? PipelineDeploymentConfig_AIPlatformCustomJobSpec.fromJSON(object.customJob)
: undefined;
return message;
},
toJSON(message: PipelineDeploymentConfig_ExecutorSpec): unknown {
const obj: any = {};
message.container !== undefined &&
(obj.container = message.container
? PipelineDeploymentConfig_PipelineContainerSpec.toJSON(message.container)
: undefined);
message.importer !== undefined &&
(obj.importer = message.importer
? PipelineDeploymentConfig_ImporterSpec.toJSON(message.importer)
: undefined);
message.resolver !== undefined &&
(obj.resolver = message.resolver
? PipelineDeploymentConfig_ResolverSpec.toJSON(message.resolver)
: undefined);
message.customJob !== undefined &&
(obj.customJob = message.customJob
? PipelineDeploymentConfig_AIPlatformCustomJobSpec.toJSON(message.customJob)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineDeploymentConfig_ExecutorSpec>, I>>(
object: I,
): PipelineDeploymentConfig_ExecutorSpec {
const message = {
...basePipelineDeploymentConfig_ExecutorSpec,
} as PipelineDeploymentConfig_ExecutorSpec;
message.container =
object.container !== undefined && object.container !== null
? PipelineDeploymentConfig_PipelineContainerSpec.fromPartial(object.container)
: undefined;
message.importer =
object.importer !== undefined && object.importer !== null
? PipelineDeploymentConfig_ImporterSpec.fromPartial(object.importer)
: undefined;
message.resolver =
object.resolver !== undefined && object.resolver !== null
? PipelineDeploymentConfig_ResolverSpec.fromPartial(object.resolver)
: undefined;
message.customJob =
object.customJob !== undefined && object.customJob !== null
? PipelineDeploymentConfig_AIPlatformCustomJobSpec.fromPartial(object.customJob)
: undefined;
return message;
},
};
const basePipelineDeploymentConfig_ExecutorsEntry: object = { key: '' };
export const PipelineDeploymentConfig_ExecutorsEntry = {
encode(
message: PipelineDeploymentConfig_ExecutorsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
PipelineDeploymentConfig_ExecutorSpec.encode(
message.value,
writer.uint32(18).fork(),
).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineDeploymentConfig_ExecutorsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePipelineDeploymentConfig_ExecutorsEntry,
} as PipelineDeploymentConfig_ExecutorsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = PipelineDeploymentConfig_ExecutorSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineDeploymentConfig_ExecutorsEntry {
const message = {
...basePipelineDeploymentConfig_ExecutorsEntry,
} as PipelineDeploymentConfig_ExecutorsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? PipelineDeploymentConfig_ExecutorSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: PipelineDeploymentConfig_ExecutorsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value
? PipelineDeploymentConfig_ExecutorSpec.toJSON(message.value)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineDeploymentConfig_ExecutorsEntry>, I>>(
object: I,
): PipelineDeploymentConfig_ExecutorsEntry {
const message = {
...basePipelineDeploymentConfig_ExecutorsEntry,
} as PipelineDeploymentConfig_ExecutorsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? PipelineDeploymentConfig_ExecutorSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseValue: object = {};
export const Value = {
encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.intValue !== undefined) {
writer.uint32(8).int64(message.intValue);
}
if (message.doubleValue !== undefined) {
writer.uint32(17).double(message.doubleValue);
}
if (message.stringValue !== undefined) {
writer.uint32(26).string(message.stringValue);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Value {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseValue } as Value;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.intValue = longToNumber(reader.int64() as Long);
break;
case 2:
message.doubleValue = reader.double();
break;
case 3:
message.stringValue = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Value {
const message = { ...baseValue } as Value;
message.intValue =
object.intValue !== undefined && object.intValue !== null
? Number(object.intValue)
: undefined;
message.doubleValue =
object.doubleValue !== undefined && object.doubleValue !== null
? Number(object.doubleValue)
: undefined;
message.stringValue =
object.stringValue !== undefined && object.stringValue !== null
? String(object.stringValue)
: undefined;
return message;
},
toJSON(message: Value): unknown {
const obj: any = {};
message.intValue !== undefined && (obj.intValue = Math.round(message.intValue));
message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue);
message.stringValue !== undefined && (obj.stringValue = message.stringValue);
return obj;
},
fromPartial<I extends Exact<DeepPartial<Value>, I>>(object: I): Value {
const message = { ...baseValue } as Value;
message.intValue = object.intValue ?? undefined;
message.doubleValue = object.doubleValue ?? undefined;
message.stringValue = object.stringValue ?? undefined;
return message;
},
};
const baseRuntimeArtifact: object = { name: '', uri: '' };
export const RuntimeArtifact = {
encode(message: RuntimeArtifact, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.name !== '') {
writer.uint32(10).string(message.name);
}
if (message.type !== undefined) {
ArtifactTypeSchema.encode(message.type, writer.uint32(18).fork()).ldelim();
}
if (message.uri !== '') {
writer.uint32(26).string(message.uri);
}
Object.entries(message.properties).forEach(([key, value]) => {
RuntimeArtifact_PropertiesEntry.encode(
{ key: key as any, value },
writer.uint32(34).fork(),
).ldelim();
});
Object.entries(message.customProperties).forEach(([key, value]) => {
RuntimeArtifact_CustomPropertiesEntry.encode(
{ key: key as any, value },
writer.uint32(42).fork(),
).ldelim();
});
if (message.metadata !== undefined) {
Struct.encode(Struct.wrap(message.metadata), writer.uint32(50).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): RuntimeArtifact {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseRuntimeArtifact } as RuntimeArtifact;
message.properties = {};
message.customProperties = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.name = reader.string();
break;
case 2:
message.type = ArtifactTypeSchema.decode(reader, reader.uint32());
break;
case 3:
message.uri = reader.string();
break;
case 4:
const entry4 = RuntimeArtifact_PropertiesEntry.decode(reader, reader.uint32());
if (entry4.value !== undefined) {
message.properties[entry4.key] = entry4.value;
}
break;
case 5:
const entry5 = RuntimeArtifact_CustomPropertiesEntry.decode(reader, reader.uint32());
if (entry5.value !== undefined) {
message.customProperties[entry5.key] = entry5.value;
}
break;
case 6:
message.metadata = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): RuntimeArtifact {
const message = { ...baseRuntimeArtifact } as RuntimeArtifact;
message.name = object.name !== undefined && object.name !== null ? String(object.name) : '';
message.type =
object.type !== undefined && object.type !== null
? ArtifactTypeSchema.fromJSON(object.type)
: undefined;
message.uri = object.uri !== undefined && object.uri !== null ? String(object.uri) : '';
message.properties = Object.entries(object.properties ?? {}).reduce<{ [key: string]: Value }>(
(acc, [key, value]) => {
acc[key] = Value.fromJSON(value);
return acc;
},
{},
);
message.customProperties = Object.entries(object.customProperties ?? {}).reduce<{
[key: string]: Value;
}>((acc, [key, value]) => {
acc[key] = Value.fromJSON(value);
return acc;
}, {});
message.metadata = typeof object.metadata === 'object' ? object.metadata : undefined;
return message;
},
toJSON(message: RuntimeArtifact): unknown {
const obj: any = {};
message.name !== undefined && (obj.name = message.name);
message.type !== undefined &&
(obj.type = message.type ? ArtifactTypeSchema.toJSON(message.type) : undefined);
message.uri !== undefined && (obj.uri = message.uri);
obj.properties = {};
if (message.properties) {
Object.entries(message.properties).forEach(([k, v]) => {
obj.properties[k] = Value.toJSON(v);
});
}
obj.customProperties = {};
if (message.customProperties) {
Object.entries(message.customProperties).forEach(([k, v]) => {
obj.customProperties[k] = Value.toJSON(v);
});
}
message.metadata !== undefined && (obj.metadata = message.metadata);
return obj;
},
fromPartial<I extends Exact<DeepPartial<RuntimeArtifact>, I>>(object: I): RuntimeArtifact {
const message = { ...baseRuntimeArtifact } as RuntimeArtifact;
message.name = object.name ?? '';
message.type =
object.type !== undefined && object.type !== null
? ArtifactTypeSchema.fromPartial(object.type)
: undefined;
message.uri = object.uri ?? '';
message.properties = Object.entries(object.properties ?? {}).reduce<{ [key: string]: Value }>(
(acc, [key, value]) => {
if (value !== undefined) {
acc[key] = Value.fromPartial(value);
}
return acc;
},
{},
);
message.customProperties = Object.entries(object.customProperties ?? {}).reduce<{
[key: string]: Value;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = Value.fromPartial(value);
}
return acc;
}, {});
message.metadata = object.metadata ?? undefined;
return message;
},
};
const baseRuntimeArtifact_PropertiesEntry: object = { key: '' };
export const RuntimeArtifact_PropertiesEntry = {
encode(
message: RuntimeArtifact_PropertiesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): RuntimeArtifact_PropertiesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseRuntimeArtifact_PropertiesEntry } as RuntimeArtifact_PropertiesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): RuntimeArtifact_PropertiesEntry {
const message = { ...baseRuntimeArtifact_PropertiesEntry } as RuntimeArtifact_PropertiesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: RuntimeArtifact_PropertiesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? Value.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<RuntimeArtifact_PropertiesEntry>, I>>(
object: I,
): RuntimeArtifact_PropertiesEntry {
const message = { ...baseRuntimeArtifact_PropertiesEntry } as RuntimeArtifact_PropertiesEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromPartial(object.value)
: undefined;
return message;
},
};
const baseRuntimeArtifact_CustomPropertiesEntry: object = { key: '' };
export const RuntimeArtifact_CustomPropertiesEntry = {
encode(
message: RuntimeArtifact_CustomPropertiesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): RuntimeArtifact_CustomPropertiesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseRuntimeArtifact_CustomPropertiesEntry,
} as RuntimeArtifact_CustomPropertiesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): RuntimeArtifact_CustomPropertiesEntry {
const message = {
...baseRuntimeArtifact_CustomPropertiesEntry,
} as RuntimeArtifact_CustomPropertiesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: RuntimeArtifact_CustomPropertiesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? Value.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<RuntimeArtifact_CustomPropertiesEntry>, I>>(
object: I,
): RuntimeArtifact_CustomPropertiesEntry {
const message = {
...baseRuntimeArtifact_CustomPropertiesEntry,
} as RuntimeArtifact_CustomPropertiesEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromPartial(object.value)
: undefined;
return message;
},
};
const baseArtifactList: object = {};
export const ArtifactList = {
encode(message: ArtifactList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
for (const v of message.artifacts) {
RuntimeArtifact.encode(v!, writer.uint32(10).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ArtifactList {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseArtifactList } as ArtifactList;
message.artifacts = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.artifacts.push(RuntimeArtifact.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ArtifactList {
const message = { ...baseArtifactList } as ArtifactList;
message.artifacts = (object.artifacts ?? []).map((e: any) => RuntimeArtifact.fromJSON(e));
return message;
},
toJSON(message: ArtifactList): unknown {
const obj: any = {};
if (message.artifacts) {
obj.artifacts = message.artifacts.map((e) => (e ? RuntimeArtifact.toJSON(e) : undefined));
} else {
obj.artifacts = [];
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<ArtifactList>, I>>(object: I): ArtifactList {
const message = { ...baseArtifactList } as ArtifactList;
message.artifacts = object.artifacts?.map((e) => RuntimeArtifact.fromPartial(e)) || [];
return message;
},
};
const baseExecutorInput: object = {};
export const ExecutorInput = {
encode(message: ExecutorInput, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.inputs !== undefined) {
ExecutorInput_Inputs.encode(message.inputs, writer.uint32(10).fork()).ldelim();
}
if (message.outputs !== undefined) {
ExecutorInput_Outputs.encode(message.outputs, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorInput {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseExecutorInput } as ExecutorInput;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.inputs = ExecutorInput_Inputs.decode(reader, reader.uint32());
break;
case 2:
message.outputs = ExecutorInput_Outputs.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorInput {
const message = { ...baseExecutorInput } as ExecutorInput;
message.inputs =
object.inputs !== undefined && object.inputs !== null
? ExecutorInput_Inputs.fromJSON(object.inputs)
: undefined;
message.outputs =
object.outputs !== undefined && object.outputs !== null
? ExecutorInput_Outputs.fromJSON(object.outputs)
: undefined;
return message;
},
toJSON(message: ExecutorInput): unknown {
const obj: any = {};
message.inputs !== undefined &&
(obj.inputs = message.inputs ? ExecutorInput_Inputs.toJSON(message.inputs) : undefined);
message.outputs !== undefined &&
(obj.outputs = message.outputs ? ExecutorInput_Outputs.toJSON(message.outputs) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorInput>, I>>(object: I): ExecutorInput {
const message = { ...baseExecutorInput } as ExecutorInput;
message.inputs =
object.inputs !== undefined && object.inputs !== null
? ExecutorInput_Inputs.fromPartial(object.inputs)
: undefined;
message.outputs =
object.outputs !== undefined && object.outputs !== null
? ExecutorInput_Outputs.fromPartial(object.outputs)
: undefined;
return message;
},
};
const baseExecutorInput_Inputs: object = {};
export const ExecutorInput_Inputs = {
encode(message: ExecutorInput_Inputs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.parameters).forEach(([key, value]) => {
ExecutorInput_Inputs_ParametersEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
Object.entries(message.artifacts).forEach(([key, value]) => {
ExecutorInput_Inputs_ArtifactsEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
Object.entries(message.parameterValues).forEach(([key, value]) => {
if (value !== undefined) {
ExecutorInput_Inputs_ParameterValuesEntry.encode(
{ key: key as any, value },
writer.uint32(26).fork(),
).ldelim();
}
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorInput_Inputs {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseExecutorInput_Inputs } as ExecutorInput_Inputs;
message.parameters = {};
message.artifacts = {};
message.parameterValues = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = ExecutorInput_Inputs_ParametersEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.parameters[entry1.key] = entry1.value;
}
break;
case 2:
const entry2 = ExecutorInput_Inputs_ArtifactsEntry.decode(reader, reader.uint32());
if (entry2.value !== undefined) {
message.artifacts[entry2.key] = entry2.value;
}
break;
case 3:
const entry3 = ExecutorInput_Inputs_ParameterValuesEntry.decode(reader, reader.uint32());
if (entry3.value !== undefined) {
message.parameterValues[entry3.key] = entry3.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorInput_Inputs {
const message = { ...baseExecutorInput_Inputs } as ExecutorInput_Inputs;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{ [key: string]: Value }>(
(acc, [key, value]) => {
acc[key] = Value.fromJSON(value);
return acc;
},
{},
);
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ArtifactList;
}>((acc, [key, value]) => {
acc[key] = ArtifactList.fromJSON(value);
return acc;
}, {});
message.parameterValues = Object.entries(object.parameterValues ?? {}).reduce<{
[key: string]: any | undefined;
}>((acc, [key, value]) => {
acc[key] = value as any | undefined;
return acc;
}, {});
return message;
},
toJSON(message: ExecutorInput_Inputs): unknown {
const obj: any = {};
obj.parameters = {};
if (message.parameters) {
Object.entries(message.parameters).forEach(([k, v]) => {
obj.parameters[k] = Value.toJSON(v);
});
}
obj.artifacts = {};
if (message.artifacts) {
Object.entries(message.artifacts).forEach(([k, v]) => {
obj.artifacts[k] = ArtifactList.toJSON(v);
});
}
obj.parameterValues = {};
if (message.parameterValues) {
Object.entries(message.parameterValues).forEach(([k, v]) => {
obj.parameterValues[k] = v;
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorInput_Inputs>, I>>(
object: I,
): ExecutorInput_Inputs {
const message = { ...baseExecutorInput_Inputs } as ExecutorInput_Inputs;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{ [key: string]: Value }>(
(acc, [key, value]) => {
if (value !== undefined) {
acc[key] = Value.fromPartial(value);
}
return acc;
},
{},
);
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ArtifactList;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ArtifactList.fromPartial(value);
}
return acc;
}, {});
message.parameterValues = Object.entries(object.parameterValues ?? {}).reduce<{
[key: string]: any | undefined;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = value;
}
return acc;
}, {});
return message;
},
};
const baseExecutorInput_Inputs_ParametersEntry: object = { key: '' };
export const ExecutorInput_Inputs_ParametersEntry = {
encode(
message: ExecutorInput_Inputs_ParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorInput_Inputs_ParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseExecutorInput_Inputs_ParametersEntry,
} as ExecutorInput_Inputs_ParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorInput_Inputs_ParametersEntry {
const message = {
...baseExecutorInput_Inputs_ParametersEntry,
} as ExecutorInput_Inputs_ParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ExecutorInput_Inputs_ParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? Value.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorInput_Inputs_ParametersEntry>, I>>(
object: I,
): ExecutorInput_Inputs_ParametersEntry {
const message = {
...baseExecutorInput_Inputs_ParametersEntry,
} as ExecutorInput_Inputs_ParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromPartial(object.value)
: undefined;
return message;
},
};
const baseExecutorInput_Inputs_ArtifactsEntry: object = { key: '' };
export const ExecutorInput_Inputs_ArtifactsEntry = {
encode(
message: ExecutorInput_Inputs_ArtifactsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ArtifactList.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorInput_Inputs_ArtifactsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseExecutorInput_Inputs_ArtifactsEntry,
} as ExecutorInput_Inputs_ArtifactsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ArtifactList.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorInput_Inputs_ArtifactsEntry {
const message = {
...baseExecutorInput_Inputs_ArtifactsEntry,
} as ExecutorInput_Inputs_ArtifactsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ArtifactList.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ExecutorInput_Inputs_ArtifactsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ArtifactList.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorInput_Inputs_ArtifactsEntry>, I>>(
object: I,
): ExecutorInput_Inputs_ArtifactsEntry {
const message = {
...baseExecutorInput_Inputs_ArtifactsEntry,
} as ExecutorInput_Inputs_ArtifactsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ArtifactList.fromPartial(object.value)
: undefined;
return message;
},
};
const baseExecutorInput_Inputs_ParameterValuesEntry: object = { key: '' };
export const ExecutorInput_Inputs_ParameterValuesEntry = {
encode(
message: ExecutorInput_Inputs_ParameterValuesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value1.encode(Value1.wrap(message.value), writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(
input: _m0.Reader | Uint8Array,
length?: number,
): ExecutorInput_Inputs_ParameterValuesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseExecutorInput_Inputs_ParameterValuesEntry,
} as ExecutorInput_Inputs_ParameterValuesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value1.unwrap(Value1.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorInput_Inputs_ParameterValuesEntry {
const message = {
...baseExecutorInput_Inputs_ParameterValuesEntry,
} as ExecutorInput_Inputs_ParameterValuesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value = object.value;
return message;
},
toJSON(message: ExecutorInput_Inputs_ParameterValuesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined && (obj.value = message.value);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorInput_Inputs_ParameterValuesEntry>, I>>(
object: I,
): ExecutorInput_Inputs_ParameterValuesEntry {
const message = {
...baseExecutorInput_Inputs_ParameterValuesEntry,
} as ExecutorInput_Inputs_ParameterValuesEntry;
message.key = object.key ?? '';
message.value = object.value ?? undefined;
return message;
},
};
const baseExecutorInput_OutputParameter: object = { outputFile: '' };
export const ExecutorInput_OutputParameter = {
encode(
message: ExecutorInput_OutputParameter,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.outputFile !== '') {
writer.uint32(10).string(message.outputFile);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorInput_OutputParameter {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseExecutorInput_OutputParameter } as ExecutorInput_OutputParameter;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.outputFile = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorInput_OutputParameter {
const message = { ...baseExecutorInput_OutputParameter } as ExecutorInput_OutputParameter;
message.outputFile =
object.outputFile !== undefined && object.outputFile !== null
? String(object.outputFile)
: '';
return message;
},
toJSON(message: ExecutorInput_OutputParameter): unknown {
const obj: any = {};
message.outputFile !== undefined && (obj.outputFile = message.outputFile);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorInput_OutputParameter>, I>>(
object: I,
): ExecutorInput_OutputParameter {
const message = { ...baseExecutorInput_OutputParameter } as ExecutorInput_OutputParameter;
message.outputFile = object.outputFile ?? '';
return message;
},
};
const baseExecutorInput_Outputs: object = { outputFile: '' };
export const ExecutorInput_Outputs = {
encode(message: ExecutorInput_Outputs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.parameters).forEach(([key, value]) => {
ExecutorInput_Outputs_ParametersEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
Object.entries(message.artifacts).forEach(([key, value]) => {
ExecutorInput_Outputs_ArtifactsEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
if (message.outputFile !== '') {
writer.uint32(26).string(message.outputFile);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorInput_Outputs {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseExecutorInput_Outputs } as ExecutorInput_Outputs;
message.parameters = {};
message.artifacts = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = ExecutorInput_Outputs_ParametersEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.parameters[entry1.key] = entry1.value;
}
break;
case 2:
const entry2 = ExecutorInput_Outputs_ArtifactsEntry.decode(reader, reader.uint32());
if (entry2.value !== undefined) {
message.artifacts[entry2.key] = entry2.value;
}
break;
case 3:
message.outputFile = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorInput_Outputs {
const message = { ...baseExecutorInput_Outputs } as ExecutorInput_Outputs;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: ExecutorInput_OutputParameter;
}>((acc, [key, value]) => {
acc[key] = ExecutorInput_OutputParameter.fromJSON(value);
return acc;
}, {});
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ArtifactList;
}>((acc, [key, value]) => {
acc[key] = ArtifactList.fromJSON(value);
return acc;
}, {});
message.outputFile =
object.outputFile !== undefined && object.outputFile !== null
? String(object.outputFile)
: '';
return message;
},
toJSON(message: ExecutorInput_Outputs): unknown {
const obj: any = {};
obj.parameters = {};
if (message.parameters) {
Object.entries(message.parameters).forEach(([k, v]) => {
obj.parameters[k] = ExecutorInput_OutputParameter.toJSON(v);
});
}
obj.artifacts = {};
if (message.artifacts) {
Object.entries(message.artifacts).forEach(([k, v]) => {
obj.artifacts[k] = ArtifactList.toJSON(v);
});
}
message.outputFile !== undefined && (obj.outputFile = message.outputFile);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorInput_Outputs>, I>>(
object: I,
): ExecutorInput_Outputs {
const message = { ...baseExecutorInput_Outputs } as ExecutorInput_Outputs;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{
[key: string]: ExecutorInput_OutputParameter;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ExecutorInput_OutputParameter.fromPartial(value);
}
return acc;
}, {});
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ArtifactList;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ArtifactList.fromPartial(value);
}
return acc;
}, {});
message.outputFile = object.outputFile ?? '';
return message;
},
};
const baseExecutorInput_Outputs_ParametersEntry: object = { key: '' };
export const ExecutorInput_Outputs_ParametersEntry = {
encode(
message: ExecutorInput_Outputs_ParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ExecutorInput_OutputParameter.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorInput_Outputs_ParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseExecutorInput_Outputs_ParametersEntry,
} as ExecutorInput_Outputs_ParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ExecutorInput_OutputParameter.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorInput_Outputs_ParametersEntry {
const message = {
...baseExecutorInput_Outputs_ParametersEntry,
} as ExecutorInput_Outputs_ParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ExecutorInput_OutputParameter.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ExecutorInput_Outputs_ParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ExecutorInput_OutputParameter.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorInput_Outputs_ParametersEntry>, I>>(
object: I,
): ExecutorInput_Outputs_ParametersEntry {
const message = {
...baseExecutorInput_Outputs_ParametersEntry,
} as ExecutorInput_Outputs_ParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ExecutorInput_OutputParameter.fromPartial(object.value)
: undefined;
return message;
},
};
const baseExecutorInput_Outputs_ArtifactsEntry: object = { key: '' };
export const ExecutorInput_Outputs_ArtifactsEntry = {
encode(
message: ExecutorInput_Outputs_ArtifactsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ArtifactList.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorInput_Outputs_ArtifactsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseExecutorInput_Outputs_ArtifactsEntry,
} as ExecutorInput_Outputs_ArtifactsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ArtifactList.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorInput_Outputs_ArtifactsEntry {
const message = {
...baseExecutorInput_Outputs_ArtifactsEntry,
} as ExecutorInput_Outputs_ArtifactsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ArtifactList.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ExecutorInput_Outputs_ArtifactsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ArtifactList.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorInput_Outputs_ArtifactsEntry>, I>>(
object: I,
): ExecutorInput_Outputs_ArtifactsEntry {
const message = {
...baseExecutorInput_Outputs_ArtifactsEntry,
} as ExecutorInput_Outputs_ArtifactsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ArtifactList.fromPartial(object.value)
: undefined;
return message;
},
};
const baseExecutorOutput: object = {};
export const ExecutorOutput = {
encode(message: ExecutorOutput, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.parameters).forEach(([key, value]) => {
ExecutorOutput_ParametersEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
Object.entries(message.artifacts).forEach(([key, value]) => {
ExecutorOutput_ArtifactsEntry.encode(
{ key: key as any, value },
writer.uint32(18).fork(),
).ldelim();
});
Object.entries(message.parameterValues).forEach(([key, value]) => {
if (value !== undefined) {
ExecutorOutput_ParameterValuesEntry.encode(
{ key: key as any, value },
writer.uint32(26).fork(),
).ldelim();
}
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorOutput {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseExecutorOutput } as ExecutorOutput;
message.parameters = {};
message.artifacts = {};
message.parameterValues = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = ExecutorOutput_ParametersEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.parameters[entry1.key] = entry1.value;
}
break;
case 2:
const entry2 = ExecutorOutput_ArtifactsEntry.decode(reader, reader.uint32());
if (entry2.value !== undefined) {
message.artifacts[entry2.key] = entry2.value;
}
break;
case 3:
const entry3 = ExecutorOutput_ParameterValuesEntry.decode(reader, reader.uint32());
if (entry3.value !== undefined) {
message.parameterValues[entry3.key] = entry3.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorOutput {
const message = { ...baseExecutorOutput } as ExecutorOutput;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{ [key: string]: Value }>(
(acc, [key, value]) => {
acc[key] = Value.fromJSON(value);
return acc;
},
{},
);
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ArtifactList;
}>((acc, [key, value]) => {
acc[key] = ArtifactList.fromJSON(value);
return acc;
}, {});
message.parameterValues = Object.entries(object.parameterValues ?? {}).reduce<{
[key: string]: any | undefined;
}>((acc, [key, value]) => {
acc[key] = value as any | undefined;
return acc;
}, {});
return message;
},
toJSON(message: ExecutorOutput): unknown {
const obj: any = {};
obj.parameters = {};
if (message.parameters) {
Object.entries(message.parameters).forEach(([k, v]) => {
obj.parameters[k] = Value.toJSON(v);
});
}
obj.artifacts = {};
if (message.artifacts) {
Object.entries(message.artifacts).forEach(([k, v]) => {
obj.artifacts[k] = ArtifactList.toJSON(v);
});
}
obj.parameterValues = {};
if (message.parameterValues) {
Object.entries(message.parameterValues).forEach(([k, v]) => {
obj.parameterValues[k] = v;
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorOutput>, I>>(object: I): ExecutorOutput {
const message = { ...baseExecutorOutput } as ExecutorOutput;
message.parameters = Object.entries(object.parameters ?? {}).reduce<{ [key: string]: Value }>(
(acc, [key, value]) => {
if (value !== undefined) {
acc[key] = Value.fromPartial(value);
}
return acc;
},
{},
);
message.artifacts = Object.entries(object.artifacts ?? {}).reduce<{
[key: string]: ArtifactList;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = ArtifactList.fromPartial(value);
}
return acc;
}, {});
message.parameterValues = Object.entries(object.parameterValues ?? {}).reduce<{
[key: string]: any | undefined;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = value;
}
return acc;
}, {});
return message;
},
};
const baseExecutorOutput_ParametersEntry: object = { key: '' };
export const ExecutorOutput_ParametersEntry = {
encode(
message: ExecutorOutput_ParametersEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorOutput_ParametersEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseExecutorOutput_ParametersEntry } as ExecutorOutput_ParametersEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorOutput_ParametersEntry {
const message = { ...baseExecutorOutput_ParametersEntry } as ExecutorOutput_ParametersEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ExecutorOutput_ParametersEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? Value.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorOutput_ParametersEntry>, I>>(
object: I,
): ExecutorOutput_ParametersEntry {
const message = { ...baseExecutorOutput_ParametersEntry } as ExecutorOutput_ParametersEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? Value.fromPartial(object.value)
: undefined;
return message;
},
};
const baseExecutorOutput_ArtifactsEntry: object = { key: '' };
export const ExecutorOutput_ArtifactsEntry = {
encode(
message: ExecutorOutput_ArtifactsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
ArtifactList.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorOutput_ArtifactsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseExecutorOutput_ArtifactsEntry } as ExecutorOutput_ArtifactsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = ArtifactList.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorOutput_ArtifactsEntry {
const message = { ...baseExecutorOutput_ArtifactsEntry } as ExecutorOutput_ArtifactsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? ArtifactList.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: ExecutorOutput_ArtifactsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? ArtifactList.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorOutput_ArtifactsEntry>, I>>(
object: I,
): ExecutorOutput_ArtifactsEntry {
const message = { ...baseExecutorOutput_ArtifactsEntry } as ExecutorOutput_ArtifactsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? ArtifactList.fromPartial(object.value)
: undefined;
return message;
},
};
const baseExecutorOutput_ParameterValuesEntry: object = { key: '' };
export const ExecutorOutput_ParameterValuesEntry = {
encode(
message: ExecutorOutput_ParameterValuesEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value1.encode(Value1.wrap(message.value), writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutorOutput_ParameterValuesEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...baseExecutorOutput_ParameterValuesEntry,
} as ExecutorOutput_ParameterValuesEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value1.unwrap(Value1.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ExecutorOutput_ParameterValuesEntry {
const message = {
...baseExecutorOutput_ParameterValuesEntry,
} as ExecutorOutput_ParameterValuesEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value = object.value;
return message;
},
toJSON(message: ExecutorOutput_ParameterValuesEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined && (obj.value = message.value);
return obj;
},
fromPartial<I extends Exact<DeepPartial<ExecutorOutput_ParameterValuesEntry>, I>>(
object: I,
): ExecutorOutput_ParameterValuesEntry {
const message = {
...baseExecutorOutput_ParameterValuesEntry,
} as ExecutorOutput_ParameterValuesEntry;
message.key = object.key ?? '';
message.value = object.value ?? undefined;
return message;
},
};
const basePipelineTaskFinalStatus: object = {
state: '',
pipelineJobUuid: 0,
pipelineJobName: '',
pipelineJobResourceName: '',
pipelineTaskName: '',
};
export const PipelineTaskFinalStatus = {
encode(message: PipelineTaskFinalStatus, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.state !== '') {
writer.uint32(10).string(message.state);
}
if (message.error !== undefined) {
Status.encode(message.error, writer.uint32(18).fork()).ldelim();
}
if (message.pipelineJobUuid !== 0) {
writer.uint32(24).int64(message.pipelineJobUuid);
}
if (message.pipelineJobName !== '') {
writer.uint32(34).string(message.pipelineJobName);
}
if (message.pipelineJobResourceName !== '') {
writer.uint32(42).string(message.pipelineJobResourceName);
}
if (message.pipelineTaskName !== '') {
writer.uint32(50).string(message.pipelineTaskName);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineTaskFinalStatus {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineTaskFinalStatus } as PipelineTaskFinalStatus;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.state = reader.string();
break;
case 2:
message.error = Status.decode(reader, reader.uint32());
break;
case 3:
message.pipelineJobUuid = longToNumber(reader.int64() as Long);
break;
case 4:
message.pipelineJobName = reader.string();
break;
case 5:
message.pipelineJobResourceName = reader.string();
break;
case 6:
message.pipelineTaskName = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PipelineTaskFinalStatus {
const message = { ...basePipelineTaskFinalStatus } as PipelineTaskFinalStatus;
message.state = object.state !== undefined && object.state !== null ? String(object.state) : '';
message.error =
object.error !== undefined && object.error !== null
? Status.fromJSON(object.error)
: undefined;
message.pipelineJobUuid =
object.pipelineJobUuid !== undefined && object.pipelineJobUuid !== null
? Number(object.pipelineJobUuid)
: 0;
message.pipelineJobName =
object.pipelineJobName !== undefined && object.pipelineJobName !== null
? String(object.pipelineJobName)
: '';
message.pipelineJobResourceName =
object.pipelineJobResourceName !== undefined && object.pipelineJobResourceName !== null
? String(object.pipelineJobResourceName)
: '';
message.pipelineTaskName =
object.pipelineTaskName !== undefined && object.pipelineTaskName !== null
? String(object.pipelineTaskName)
: '';
return message;
},
toJSON(message: PipelineTaskFinalStatus): unknown {
const obj: any = {};
message.state !== undefined && (obj.state = message.state);
message.error !== undefined &&
(obj.error = message.error ? Status.toJSON(message.error) : undefined);
message.pipelineJobUuid !== undefined &&
(obj.pipelineJobUuid = Math.round(message.pipelineJobUuid));
message.pipelineJobName !== undefined && (obj.pipelineJobName = message.pipelineJobName);
message.pipelineJobResourceName !== undefined &&
(obj.pipelineJobResourceName = message.pipelineJobResourceName);
message.pipelineTaskName !== undefined && (obj.pipelineTaskName = message.pipelineTaskName);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineTaskFinalStatus>, I>>(
object: I,
): PipelineTaskFinalStatus {
const message = { ...basePipelineTaskFinalStatus } as PipelineTaskFinalStatus;
message.state = object.state ?? '';
message.error =
object.error !== undefined && object.error !== null
? Status.fromPartial(object.error)
: undefined;
message.pipelineJobUuid = object.pipelineJobUuid ?? 0;
message.pipelineJobName = object.pipelineJobName ?? '';
message.pipelineJobResourceName = object.pipelineJobResourceName ?? '';
message.pipelineTaskName = object.pipelineTaskName ?? '';
return message;
},
};
const basePipelineStateEnum: object = {};
export const PipelineStateEnum = {
encode(_: PipelineStateEnum, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PipelineStateEnum {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePipelineStateEnum } as PipelineStateEnum;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(_: any): PipelineStateEnum {
const message = { ...basePipelineStateEnum } as PipelineStateEnum;
return message;
},
toJSON(_: PipelineStateEnum): unknown {
const obj: any = {};
return obj;
},
fromPartial<I extends Exact<DeepPartial<PipelineStateEnum>, I>>(_: I): PipelineStateEnum {
const message = { ...basePipelineStateEnum } as PipelineStateEnum;
return message;
},
};
const basePlatformSpec: object = {};
export const PlatformSpec = {
encode(message: PlatformSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.platforms).forEach(([key, value]) => {
PlatformSpec_PlatformsEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PlatformSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePlatformSpec } as PlatformSpec;
message.platforms = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = PlatformSpec_PlatformsEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.platforms[entry1.key] = entry1.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PlatformSpec {
const message = { ...basePlatformSpec } as PlatformSpec;
message.platforms = Object.entries(object.platforms ?? {}).reduce<{
[key: string]: SinglePlatformSpec;
}>((acc, [key, value]) => {
acc[key] = SinglePlatformSpec.fromJSON(value);
return acc;
}, {});
return message;
},
toJSON(message: PlatformSpec): unknown {
const obj: any = {};
obj.platforms = {};
if (message.platforms) {
Object.entries(message.platforms).forEach(([k, v]) => {
obj.platforms[k] = SinglePlatformSpec.toJSON(v);
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<PlatformSpec>, I>>(object: I): PlatformSpec {
const message = { ...basePlatformSpec } as PlatformSpec;
message.platforms = Object.entries(object.platforms ?? {}).reduce<{
[key: string]: SinglePlatformSpec;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = SinglePlatformSpec.fromPartial(value);
}
return acc;
}, {});
return message;
},
};
const basePlatformSpec_PlatformsEntry: object = { key: '' };
export const PlatformSpec_PlatformsEntry = {
encode(
message: PlatformSpec_PlatformsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
SinglePlatformSpec.encode(message.value, writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PlatformSpec_PlatformsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePlatformSpec_PlatformsEntry } as PlatformSpec_PlatformsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = SinglePlatformSpec.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PlatformSpec_PlatformsEntry {
const message = { ...basePlatformSpec_PlatformsEntry } as PlatformSpec_PlatformsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value =
object.value !== undefined && object.value !== null
? SinglePlatformSpec.fromJSON(object.value)
: undefined;
return message;
},
toJSON(message: PlatformSpec_PlatformsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined &&
(obj.value = message.value ? SinglePlatformSpec.toJSON(message.value) : undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PlatformSpec_PlatformsEntry>, I>>(
object: I,
): PlatformSpec_PlatformsEntry {
const message = { ...basePlatformSpec_PlatformsEntry } as PlatformSpec_PlatformsEntry;
message.key = object.key ?? '';
message.value =
object.value !== undefined && object.value !== null
? SinglePlatformSpec.fromPartial(object.value)
: undefined;
return message;
},
};
const baseSinglePlatformSpec: object = {};
export const SinglePlatformSpec = {
encode(message: SinglePlatformSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.deploymentSpec !== undefined) {
PlatformDeploymentConfig.encode(message.deploymentSpec, writer.uint32(10).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): SinglePlatformSpec {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseSinglePlatformSpec } as SinglePlatformSpec;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.deploymentSpec = PlatformDeploymentConfig.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): SinglePlatformSpec {
const message = { ...baseSinglePlatformSpec } as SinglePlatformSpec;
message.deploymentSpec =
object.deploymentSpec !== undefined && object.deploymentSpec !== null
? PlatformDeploymentConfig.fromJSON(object.deploymentSpec)
: undefined;
return message;
},
toJSON(message: SinglePlatformSpec): unknown {
const obj: any = {};
message.deploymentSpec !== undefined &&
(obj.deploymentSpec = message.deploymentSpec
? PlatformDeploymentConfig.toJSON(message.deploymentSpec)
: undefined);
return obj;
},
fromPartial<I extends Exact<DeepPartial<SinglePlatformSpec>, I>>(object: I): SinglePlatformSpec {
const message = { ...baseSinglePlatformSpec } as SinglePlatformSpec;
message.deploymentSpec =
object.deploymentSpec !== undefined && object.deploymentSpec !== null
? PlatformDeploymentConfig.fromPartial(object.deploymentSpec)
: undefined;
return message;
},
};
const basePlatformDeploymentConfig: object = {};
export const PlatformDeploymentConfig = {
encode(message: PlatformDeploymentConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.executors).forEach(([key, value]) => {
if (value !== undefined) {
PlatformDeploymentConfig_ExecutorsEntry.encode(
{ key: key as any, value },
writer.uint32(10).fork(),
).ldelim();
}
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PlatformDeploymentConfig {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...basePlatformDeploymentConfig } as PlatformDeploymentConfig;
message.executors = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = PlatformDeploymentConfig_ExecutorsEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.executors[entry1.key] = entry1.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PlatformDeploymentConfig {
const message = { ...basePlatformDeploymentConfig } as PlatformDeploymentConfig;
message.executors = Object.entries(object.executors ?? {}).reduce<{
[key: string]: { [key: string]: any } | undefined;
}>((acc, [key, value]) => {
acc[key] = value as { [key: string]: any } | undefined;
return acc;
}, {});
return message;
},
toJSON(message: PlatformDeploymentConfig): unknown {
const obj: any = {};
obj.executors = {};
if (message.executors) {
Object.entries(message.executors).forEach(([k, v]) => {
obj.executors[k] = v;
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<PlatformDeploymentConfig>, I>>(
object: I,
): PlatformDeploymentConfig {
const message = { ...basePlatformDeploymentConfig } as PlatformDeploymentConfig;
message.executors = Object.entries(object.executors ?? {}).reduce<{
[key: string]: { [key: string]: any } | undefined;
}>((acc, [key, value]) => {
if (value !== undefined) {
acc[key] = value;
}
return acc;
}, {});
return message;
},
};
const basePlatformDeploymentConfig_ExecutorsEntry: object = { key: '' };
export const PlatformDeploymentConfig_ExecutorsEntry = {
encode(
message: PlatformDeploymentConfig_ExecutorsEntry,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Struct.encode(Struct.wrap(message.value), writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): PlatformDeploymentConfig_ExecutorsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = {
...basePlatformDeploymentConfig_ExecutorsEntry,
} as PlatformDeploymentConfig_ExecutorsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): PlatformDeploymentConfig_ExecutorsEntry {
const message = {
...basePlatformDeploymentConfig_ExecutorsEntry,
} as PlatformDeploymentConfig_ExecutorsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value = typeof object.value === 'object' ? object.value : undefined;
return message;
},
toJSON(message: PlatformDeploymentConfig_ExecutorsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined && (obj.value = message.value);
return obj;
},
fromPartial<I extends Exact<DeepPartial<PlatformDeploymentConfig_ExecutorsEntry>, I>>(
object: I,
): PlatformDeploymentConfig_ExecutorsEntry {
const message = {
...basePlatformDeploymentConfig_ExecutorsEntry,
} as PlatformDeploymentConfig_ExecutorsEntry;
message.key = object.key ?? '';
message.value = object.value ?? undefined;
return message;
},
};
declare var self: any | undefined;
declare var window: any | undefined;
declare var global: any | undefined;
var globalThis: any = (() => {
if (typeof globalThis !== 'undefined') return globalThis;
if (typeof self !== 'undefined') return self;
if (typeof window !== 'undefined') return window;
if (typeof global !== 'undefined') return global;
throw 'Unable to locate global object';
})();
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin
? T
: T extends Array<infer U>
? Array<DeepPartial<U>>
: T extends ReadonlyArray<infer U>
? ReadonlyArray<DeepPartial<U>>
: T extends {}
? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin
? P
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
function longToNumber(long: Long): number {
if (long.gt(Number.MAX_SAFE_INTEGER)) {
throw new globalThis.Error('Value is larger than Number.MAX_SAFE_INTEGER');
}
return long.toNumber();
}
if (_m0.util.Long !== Long) {
_m0.util.Long = Long as any;
_m0.configure();
}
| 373 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/pipeline_spec_pb.d.ts | import * as jspb from 'google-protobuf'
import * as google_protobuf_duration_pb from 'google-protobuf/google/protobuf/duration_pb';
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
import * as google_rpc_status_pb from './google/rpc/status_pb';
export class PipelineJob extends jspb.Message {
getName(): string;
setName(value: string): PipelineJob;
getDisplayName(): string;
setDisplayName(value: string): PipelineJob;
getPipelineSpec(): google_protobuf_struct_pb.Struct | undefined;
setPipelineSpec(value?: google_protobuf_struct_pb.Struct): PipelineJob;
hasPipelineSpec(): boolean;
clearPipelineSpec(): PipelineJob;
getLabelsMap(): jspb.Map<string, string>;
clearLabelsMap(): PipelineJob;
getRuntimeConfig(): PipelineJob.RuntimeConfig | undefined;
setRuntimeConfig(value?: PipelineJob.RuntimeConfig): PipelineJob;
hasRuntimeConfig(): boolean;
clearRuntimeConfig(): PipelineJob;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PipelineJob.AsObject;
static toObject(includeInstance: boolean, msg: PipelineJob): PipelineJob.AsObject;
static serializeBinaryToWriter(message: PipelineJob, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PipelineJob;
static deserializeBinaryFromReader(message: PipelineJob, reader: jspb.BinaryReader): PipelineJob;
}
export namespace PipelineJob {
export type AsObject = {
name: string,
displayName: string,
pipelineSpec?: google_protobuf_struct_pb.Struct.AsObject,
labelsMap: Array<[string, string]>,
runtimeConfig?: PipelineJob.RuntimeConfig.AsObject,
}
export class RuntimeConfig extends jspb.Message {
getParametersMap(): jspb.Map<string, Value>;
clearParametersMap(): RuntimeConfig;
getGcsOutputDirectory(): string;
setGcsOutputDirectory(value: string): RuntimeConfig;
getParameterValuesMap(): jspb.Map<string, google_protobuf_struct_pb.Value>;
clearParameterValuesMap(): RuntimeConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RuntimeConfig.AsObject;
static toObject(includeInstance: boolean, msg: RuntimeConfig): RuntimeConfig.AsObject;
static serializeBinaryToWriter(message: RuntimeConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RuntimeConfig;
static deserializeBinaryFromReader(message: RuntimeConfig, reader: jspb.BinaryReader): RuntimeConfig;
}
export namespace RuntimeConfig {
export type AsObject = {
parametersMap: Array<[string, Value.AsObject]>,
gcsOutputDirectory: string,
parameterValuesMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>,
}
}
}
export class PipelineSpec extends jspb.Message {
getPipelineInfo(): PipelineInfo | undefined;
setPipelineInfo(value?: PipelineInfo): PipelineSpec;
hasPipelineInfo(): boolean;
clearPipelineInfo(): PipelineSpec;
getDeploymentSpec(): google_protobuf_struct_pb.Struct | undefined;
setDeploymentSpec(value?: google_protobuf_struct_pb.Struct): PipelineSpec;
hasDeploymentSpec(): boolean;
clearDeploymentSpec(): PipelineSpec;
getSdkVersion(): string;
setSdkVersion(value: string): PipelineSpec;
getSchemaVersion(): string;
setSchemaVersion(value: string): PipelineSpec;
getComponentsMap(): jspb.Map<string, ComponentSpec>;
clearComponentsMap(): PipelineSpec;
getRoot(): ComponentSpec | undefined;
setRoot(value?: ComponentSpec): PipelineSpec;
hasRoot(): boolean;
clearRoot(): PipelineSpec;
getDefaultPipelineRoot(): string;
setDefaultPipelineRoot(value: string): PipelineSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PipelineSpec.AsObject;
static toObject(includeInstance: boolean, msg: PipelineSpec): PipelineSpec.AsObject;
static serializeBinaryToWriter(message: PipelineSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PipelineSpec;
static deserializeBinaryFromReader(message: PipelineSpec, reader: jspb.BinaryReader): PipelineSpec;
}
export namespace PipelineSpec {
export type AsObject = {
pipelineInfo?: PipelineInfo.AsObject,
deploymentSpec?: google_protobuf_struct_pb.Struct.AsObject,
sdkVersion: string,
schemaVersion: string,
componentsMap: Array<[string, ComponentSpec.AsObject]>,
root?: ComponentSpec.AsObject,
defaultPipelineRoot: string,
}
export class RuntimeParameter extends jspb.Message {
getType(): PrimitiveType.PrimitiveTypeEnum;
setType(value: PrimitiveType.PrimitiveTypeEnum): RuntimeParameter;
getDefaultValue(): Value | undefined;
setDefaultValue(value?: Value): RuntimeParameter;
hasDefaultValue(): boolean;
clearDefaultValue(): RuntimeParameter;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RuntimeParameter.AsObject;
static toObject(includeInstance: boolean, msg: RuntimeParameter): RuntimeParameter.AsObject;
static serializeBinaryToWriter(message: RuntimeParameter, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RuntimeParameter;
static deserializeBinaryFromReader(message: RuntimeParameter, reader: jspb.BinaryReader): RuntimeParameter;
}
export namespace RuntimeParameter {
export type AsObject = {
type: PrimitiveType.PrimitiveTypeEnum,
defaultValue?: Value.AsObject,
}
}
}
export class ComponentSpec extends jspb.Message {
getInputDefinitions(): ComponentInputsSpec | undefined;
setInputDefinitions(value?: ComponentInputsSpec): ComponentSpec;
hasInputDefinitions(): boolean;
clearInputDefinitions(): ComponentSpec;
getOutputDefinitions(): ComponentOutputsSpec | undefined;
setOutputDefinitions(value?: ComponentOutputsSpec): ComponentSpec;
hasOutputDefinitions(): boolean;
clearOutputDefinitions(): ComponentSpec;
getDag(): DagSpec | undefined;
setDag(value?: DagSpec): ComponentSpec;
hasDag(): boolean;
clearDag(): ComponentSpec;
getExecutorLabel(): string;
setExecutorLabel(value: string): ComponentSpec;
getImplementationCase(): ComponentSpec.ImplementationCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ComponentSpec.AsObject;
static toObject(includeInstance: boolean, msg: ComponentSpec): ComponentSpec.AsObject;
static serializeBinaryToWriter(message: ComponentSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ComponentSpec;
static deserializeBinaryFromReader(message: ComponentSpec, reader: jspb.BinaryReader): ComponentSpec;
}
export namespace ComponentSpec {
export type AsObject = {
inputDefinitions?: ComponentInputsSpec.AsObject,
outputDefinitions?: ComponentOutputsSpec.AsObject,
dag?: DagSpec.AsObject,
executorLabel: string,
}
export enum ImplementationCase {
IMPLEMENTATION_NOT_SET = 0,
DAG = 3,
EXECUTOR_LABEL = 4,
}
}
export class DagSpec extends jspb.Message {
getTasksMap(): jspb.Map<string, PipelineTaskSpec>;
clearTasksMap(): DagSpec;
getOutputs(): DagOutputsSpec | undefined;
setOutputs(value?: DagOutputsSpec): DagSpec;
hasOutputs(): boolean;
clearOutputs(): DagSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DagSpec.AsObject;
static toObject(includeInstance: boolean, msg: DagSpec): DagSpec.AsObject;
static serializeBinaryToWriter(message: DagSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DagSpec;
static deserializeBinaryFromReader(message: DagSpec, reader: jspb.BinaryReader): DagSpec;
}
export namespace DagSpec {
export type AsObject = {
tasksMap: Array<[string, PipelineTaskSpec.AsObject]>,
outputs?: DagOutputsSpec.AsObject,
}
}
export class DagOutputsSpec extends jspb.Message {
getArtifactsMap(): jspb.Map<string, DagOutputsSpec.DagOutputArtifactSpec>;
clearArtifactsMap(): DagOutputsSpec;
getParametersMap(): jspb.Map<string, DagOutputsSpec.DagOutputParameterSpec>;
clearParametersMap(): DagOutputsSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DagOutputsSpec.AsObject;
static toObject(includeInstance: boolean, msg: DagOutputsSpec): DagOutputsSpec.AsObject;
static serializeBinaryToWriter(message: DagOutputsSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DagOutputsSpec;
static deserializeBinaryFromReader(message: DagOutputsSpec, reader: jspb.BinaryReader): DagOutputsSpec;
}
export namespace DagOutputsSpec {
export type AsObject = {
artifactsMap: Array<[string, DagOutputsSpec.DagOutputArtifactSpec.AsObject]>,
parametersMap: Array<[string, DagOutputsSpec.DagOutputParameterSpec.AsObject]>,
}
export class ArtifactSelectorSpec extends jspb.Message {
getProducerSubtask(): string;
setProducerSubtask(value: string): ArtifactSelectorSpec;
getOutputArtifactKey(): string;
setOutputArtifactKey(value: string): ArtifactSelectorSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactSelectorSpec.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactSelectorSpec): ArtifactSelectorSpec.AsObject;
static serializeBinaryToWriter(message: ArtifactSelectorSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactSelectorSpec;
static deserializeBinaryFromReader(message: ArtifactSelectorSpec, reader: jspb.BinaryReader): ArtifactSelectorSpec;
}
export namespace ArtifactSelectorSpec {
export type AsObject = {
producerSubtask: string,
outputArtifactKey: string,
}
}
export class DagOutputArtifactSpec extends jspb.Message {
getArtifactSelectorsList(): Array<DagOutputsSpec.ArtifactSelectorSpec>;
setArtifactSelectorsList(value: Array<DagOutputsSpec.ArtifactSelectorSpec>): DagOutputArtifactSpec;
clearArtifactSelectorsList(): DagOutputArtifactSpec;
addArtifactSelectors(value?: DagOutputsSpec.ArtifactSelectorSpec, index?: number): DagOutputsSpec.ArtifactSelectorSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DagOutputArtifactSpec.AsObject;
static toObject(includeInstance: boolean, msg: DagOutputArtifactSpec): DagOutputArtifactSpec.AsObject;
static serializeBinaryToWriter(message: DagOutputArtifactSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DagOutputArtifactSpec;
static deserializeBinaryFromReader(message: DagOutputArtifactSpec, reader: jspb.BinaryReader): DagOutputArtifactSpec;
}
export namespace DagOutputArtifactSpec {
export type AsObject = {
artifactSelectorsList: Array<DagOutputsSpec.ArtifactSelectorSpec.AsObject>,
}
}
export class ParameterSelectorSpec extends jspb.Message {
getProducerSubtask(): string;
setProducerSubtask(value: string): ParameterSelectorSpec;
getOutputParameterKey(): string;
setOutputParameterKey(value: string): ParameterSelectorSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ParameterSelectorSpec.AsObject;
static toObject(includeInstance: boolean, msg: ParameterSelectorSpec): ParameterSelectorSpec.AsObject;
static serializeBinaryToWriter(message: ParameterSelectorSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ParameterSelectorSpec;
static deserializeBinaryFromReader(message: ParameterSelectorSpec, reader: jspb.BinaryReader): ParameterSelectorSpec;
}
export namespace ParameterSelectorSpec {
export type AsObject = {
producerSubtask: string,
outputParameterKey: string,
}
}
export class ParameterSelectorsSpec extends jspb.Message {
getParameterSelectorsList(): Array<DagOutputsSpec.ParameterSelectorSpec>;
setParameterSelectorsList(value: Array<DagOutputsSpec.ParameterSelectorSpec>): ParameterSelectorsSpec;
clearParameterSelectorsList(): ParameterSelectorsSpec;
addParameterSelectors(value?: DagOutputsSpec.ParameterSelectorSpec, index?: number): DagOutputsSpec.ParameterSelectorSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ParameterSelectorsSpec.AsObject;
static toObject(includeInstance: boolean, msg: ParameterSelectorsSpec): ParameterSelectorsSpec.AsObject;
static serializeBinaryToWriter(message: ParameterSelectorsSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ParameterSelectorsSpec;
static deserializeBinaryFromReader(message: ParameterSelectorsSpec, reader: jspb.BinaryReader): ParameterSelectorsSpec;
}
export namespace ParameterSelectorsSpec {
export type AsObject = {
parameterSelectorsList: Array<DagOutputsSpec.ParameterSelectorSpec.AsObject>,
}
}
export class MapParameterSelectorsSpec extends jspb.Message {
getMappedParametersMap(): jspb.Map<string, DagOutputsSpec.ParameterSelectorSpec>;
clearMappedParametersMap(): MapParameterSelectorsSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MapParameterSelectorsSpec.AsObject;
static toObject(includeInstance: boolean, msg: MapParameterSelectorsSpec): MapParameterSelectorsSpec.AsObject;
static serializeBinaryToWriter(message: MapParameterSelectorsSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MapParameterSelectorsSpec;
static deserializeBinaryFromReader(message: MapParameterSelectorsSpec, reader: jspb.BinaryReader): MapParameterSelectorsSpec;
}
export namespace MapParameterSelectorsSpec {
export type AsObject = {
mappedParametersMap: Array<[string, DagOutputsSpec.ParameterSelectorSpec.AsObject]>,
}
}
export class DagOutputParameterSpec extends jspb.Message {
getValueFromParameter(): DagOutputsSpec.ParameterSelectorSpec | undefined;
setValueFromParameter(value?: DagOutputsSpec.ParameterSelectorSpec): DagOutputParameterSpec;
hasValueFromParameter(): boolean;
clearValueFromParameter(): DagOutputParameterSpec;
getValueFromOneof(): DagOutputsSpec.ParameterSelectorsSpec | undefined;
setValueFromOneof(value?: DagOutputsSpec.ParameterSelectorsSpec): DagOutputParameterSpec;
hasValueFromOneof(): boolean;
clearValueFromOneof(): DagOutputParameterSpec;
getKindCase(): DagOutputParameterSpec.KindCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DagOutputParameterSpec.AsObject;
static toObject(includeInstance: boolean, msg: DagOutputParameterSpec): DagOutputParameterSpec.AsObject;
static serializeBinaryToWriter(message: DagOutputParameterSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DagOutputParameterSpec;
static deserializeBinaryFromReader(message: DagOutputParameterSpec, reader: jspb.BinaryReader): DagOutputParameterSpec;
}
export namespace DagOutputParameterSpec {
export type AsObject = {
valueFromParameter?: DagOutputsSpec.ParameterSelectorSpec.AsObject,
valueFromOneof?: DagOutputsSpec.ParameterSelectorsSpec.AsObject,
}
export enum KindCase {
KIND_NOT_SET = 0,
VALUE_FROM_PARAMETER = 1,
VALUE_FROM_ONEOF = 2,
}
}
}
export class ComponentInputsSpec extends jspb.Message {
getArtifactsMap(): jspb.Map<string, ComponentInputsSpec.ArtifactSpec>;
clearArtifactsMap(): ComponentInputsSpec;
getParametersMap(): jspb.Map<string, ComponentInputsSpec.ParameterSpec>;
clearParametersMap(): ComponentInputsSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ComponentInputsSpec.AsObject;
static toObject(includeInstance: boolean, msg: ComponentInputsSpec): ComponentInputsSpec.AsObject;
static serializeBinaryToWriter(message: ComponentInputsSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ComponentInputsSpec;
static deserializeBinaryFromReader(message: ComponentInputsSpec, reader: jspb.BinaryReader): ComponentInputsSpec;
}
export namespace ComponentInputsSpec {
export type AsObject = {
artifactsMap: Array<[string, ComponentInputsSpec.ArtifactSpec.AsObject]>,
parametersMap: Array<[string, ComponentInputsSpec.ParameterSpec.AsObject]>,
}
export class ArtifactSpec extends jspb.Message {
getArtifactType(): ArtifactTypeSchema | undefined;
setArtifactType(value?: ArtifactTypeSchema): ArtifactSpec;
hasArtifactType(): boolean;
clearArtifactType(): ArtifactSpec;
getIsArtifactList(): boolean;
setIsArtifactList(value: boolean): ArtifactSpec;
getIsOptional(): boolean;
setIsOptional(value: boolean): ArtifactSpec;
getDescription(): string;
setDescription(value: string): ArtifactSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactSpec.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactSpec): ArtifactSpec.AsObject;
static serializeBinaryToWriter(message: ArtifactSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactSpec;
static deserializeBinaryFromReader(message: ArtifactSpec, reader: jspb.BinaryReader): ArtifactSpec;
}
export namespace ArtifactSpec {
export type AsObject = {
artifactType?: ArtifactTypeSchema.AsObject,
isArtifactList: boolean,
isOptional: boolean,
description: string,
}
}
export class ParameterSpec extends jspb.Message {
getType(): PrimitiveType.PrimitiveTypeEnum;
setType(value: PrimitiveType.PrimitiveTypeEnum): ParameterSpec;
getParameterType(): ParameterType.ParameterTypeEnum;
setParameterType(value: ParameterType.ParameterTypeEnum): ParameterSpec;
getDefaultValue(): google_protobuf_struct_pb.Value | undefined;
setDefaultValue(value?: google_protobuf_struct_pb.Value): ParameterSpec;
hasDefaultValue(): boolean;
clearDefaultValue(): ParameterSpec;
getIsOptional(): boolean;
setIsOptional(value: boolean): ParameterSpec;
getDescription(): string;
setDescription(value: string): ParameterSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ParameterSpec.AsObject;
static toObject(includeInstance: boolean, msg: ParameterSpec): ParameterSpec.AsObject;
static serializeBinaryToWriter(message: ParameterSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ParameterSpec;
static deserializeBinaryFromReader(message: ParameterSpec, reader: jspb.BinaryReader): ParameterSpec;
}
export namespace ParameterSpec {
export type AsObject = {
type: PrimitiveType.PrimitiveTypeEnum,
parameterType: ParameterType.ParameterTypeEnum,
defaultValue?: google_protobuf_struct_pb.Value.AsObject,
isOptional: boolean,
description: string,
}
}
}
export class ComponentOutputsSpec extends jspb.Message {
getArtifactsMap(): jspb.Map<string, ComponentOutputsSpec.ArtifactSpec>;
clearArtifactsMap(): ComponentOutputsSpec;
getParametersMap(): jspb.Map<string, ComponentOutputsSpec.ParameterSpec>;
clearParametersMap(): ComponentOutputsSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ComponentOutputsSpec.AsObject;
static toObject(includeInstance: boolean, msg: ComponentOutputsSpec): ComponentOutputsSpec.AsObject;
static serializeBinaryToWriter(message: ComponentOutputsSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ComponentOutputsSpec;
static deserializeBinaryFromReader(message: ComponentOutputsSpec, reader: jspb.BinaryReader): ComponentOutputsSpec;
}
export namespace ComponentOutputsSpec {
export type AsObject = {
artifactsMap: Array<[string, ComponentOutputsSpec.ArtifactSpec.AsObject]>,
parametersMap: Array<[string, ComponentOutputsSpec.ParameterSpec.AsObject]>,
}
export class ArtifactSpec extends jspb.Message {
getArtifactType(): ArtifactTypeSchema | undefined;
setArtifactType(value?: ArtifactTypeSchema): ArtifactSpec;
hasArtifactType(): boolean;
clearArtifactType(): ArtifactSpec;
getPropertiesMap(): jspb.Map<string, ValueOrRuntimeParameter>;
clearPropertiesMap(): ArtifactSpec;
getCustomPropertiesMap(): jspb.Map<string, ValueOrRuntimeParameter>;
clearCustomPropertiesMap(): ArtifactSpec;
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
setMetadata(value?: google_protobuf_struct_pb.Struct): ArtifactSpec;
hasMetadata(): boolean;
clearMetadata(): ArtifactSpec;
getIsArtifactList(): boolean;
setIsArtifactList(value: boolean): ArtifactSpec;
getDescription(): string;
setDescription(value: string): ArtifactSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactSpec.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactSpec): ArtifactSpec.AsObject;
static serializeBinaryToWriter(message: ArtifactSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactSpec;
static deserializeBinaryFromReader(message: ArtifactSpec, reader: jspb.BinaryReader): ArtifactSpec;
}
export namespace ArtifactSpec {
export type AsObject = {
artifactType?: ArtifactTypeSchema.AsObject,
propertiesMap: Array<[string, ValueOrRuntimeParameter.AsObject]>,
customPropertiesMap: Array<[string, ValueOrRuntimeParameter.AsObject]>,
metadata?: google_protobuf_struct_pb.Struct.AsObject,
isArtifactList: boolean,
description: string,
}
}
export class ParameterSpec extends jspb.Message {
getType(): PrimitiveType.PrimitiveTypeEnum;
setType(value: PrimitiveType.PrimitiveTypeEnum): ParameterSpec;
getParameterType(): ParameterType.ParameterTypeEnum;
setParameterType(value: ParameterType.ParameterTypeEnum): ParameterSpec;
getDescription(): string;
setDescription(value: string): ParameterSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ParameterSpec.AsObject;
static toObject(includeInstance: boolean, msg: ParameterSpec): ParameterSpec.AsObject;
static serializeBinaryToWriter(message: ParameterSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ParameterSpec;
static deserializeBinaryFromReader(message: ParameterSpec, reader: jspb.BinaryReader): ParameterSpec;
}
export namespace ParameterSpec {
export type AsObject = {
type: PrimitiveType.PrimitiveTypeEnum,
parameterType: ParameterType.ParameterTypeEnum,
description: string,
}
}
}
export class TaskInputsSpec extends jspb.Message {
getParametersMap(): jspb.Map<string, TaskInputsSpec.InputParameterSpec>;
clearParametersMap(): TaskInputsSpec;
getArtifactsMap(): jspb.Map<string, TaskInputsSpec.InputArtifactSpec>;
clearArtifactsMap(): TaskInputsSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TaskInputsSpec.AsObject;
static toObject(includeInstance: boolean, msg: TaskInputsSpec): TaskInputsSpec.AsObject;
static serializeBinaryToWriter(message: TaskInputsSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TaskInputsSpec;
static deserializeBinaryFromReader(message: TaskInputsSpec, reader: jspb.BinaryReader): TaskInputsSpec;
}
export namespace TaskInputsSpec {
export type AsObject = {
parametersMap: Array<[string, TaskInputsSpec.InputParameterSpec.AsObject]>,
artifactsMap: Array<[string, TaskInputsSpec.InputArtifactSpec.AsObject]>,
}
export class InputArtifactSpec extends jspb.Message {
getTaskOutputArtifact(): TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec | undefined;
setTaskOutputArtifact(value?: TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec): InputArtifactSpec;
hasTaskOutputArtifact(): boolean;
clearTaskOutputArtifact(): InputArtifactSpec;
getComponentInputArtifact(): string;
setComponentInputArtifact(value: string): InputArtifactSpec;
getKindCase(): InputArtifactSpec.KindCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): InputArtifactSpec.AsObject;
static toObject(includeInstance: boolean, msg: InputArtifactSpec): InputArtifactSpec.AsObject;
static serializeBinaryToWriter(message: InputArtifactSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): InputArtifactSpec;
static deserializeBinaryFromReader(message: InputArtifactSpec, reader: jspb.BinaryReader): InputArtifactSpec;
}
export namespace InputArtifactSpec {
export type AsObject = {
taskOutputArtifact?: TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.AsObject,
componentInputArtifact: string,
}
export class TaskOutputArtifactSpec extends jspb.Message {
getProducerTask(): string;
setProducerTask(value: string): TaskOutputArtifactSpec;
getOutputArtifactKey(): string;
setOutputArtifactKey(value: string): TaskOutputArtifactSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TaskOutputArtifactSpec.AsObject;
static toObject(includeInstance: boolean, msg: TaskOutputArtifactSpec): TaskOutputArtifactSpec.AsObject;
static serializeBinaryToWriter(message: TaskOutputArtifactSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TaskOutputArtifactSpec;
static deserializeBinaryFromReader(message: TaskOutputArtifactSpec, reader: jspb.BinaryReader): TaskOutputArtifactSpec;
}
export namespace TaskOutputArtifactSpec {
export type AsObject = {
producerTask: string,
outputArtifactKey: string,
}
}
export enum KindCase {
KIND_NOT_SET = 0,
TASK_OUTPUT_ARTIFACT = 3,
COMPONENT_INPUT_ARTIFACT = 4,
}
}
export class InputParameterSpec extends jspb.Message {
getTaskOutputParameter(): TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec | undefined;
setTaskOutputParameter(value?: TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec): InputParameterSpec;
hasTaskOutputParameter(): boolean;
clearTaskOutputParameter(): InputParameterSpec;
getRuntimeValue(): ValueOrRuntimeParameter | undefined;
setRuntimeValue(value?: ValueOrRuntimeParameter): InputParameterSpec;
hasRuntimeValue(): boolean;
clearRuntimeValue(): InputParameterSpec;
getComponentInputParameter(): string;
setComponentInputParameter(value: string): InputParameterSpec;
getTaskFinalStatus(): TaskInputsSpec.InputParameterSpec.TaskFinalStatus | undefined;
setTaskFinalStatus(value?: TaskInputsSpec.InputParameterSpec.TaskFinalStatus): InputParameterSpec;
hasTaskFinalStatus(): boolean;
clearTaskFinalStatus(): InputParameterSpec;
getParameterExpressionSelector(): string;
setParameterExpressionSelector(value: string): InputParameterSpec;
getKindCase(): InputParameterSpec.KindCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): InputParameterSpec.AsObject;
static toObject(includeInstance: boolean, msg: InputParameterSpec): InputParameterSpec.AsObject;
static serializeBinaryToWriter(message: InputParameterSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): InputParameterSpec;
static deserializeBinaryFromReader(message: InputParameterSpec, reader: jspb.BinaryReader): InputParameterSpec;
}
export namespace InputParameterSpec {
export type AsObject = {
taskOutputParameter?: TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.AsObject,
runtimeValue?: ValueOrRuntimeParameter.AsObject,
componentInputParameter: string,
taskFinalStatus?: TaskInputsSpec.InputParameterSpec.TaskFinalStatus.AsObject,
parameterExpressionSelector: string,
}
export class TaskOutputParameterSpec extends jspb.Message {
getProducerTask(): string;
setProducerTask(value: string): TaskOutputParameterSpec;
getOutputParameterKey(): string;
setOutputParameterKey(value: string): TaskOutputParameterSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TaskOutputParameterSpec.AsObject;
static toObject(includeInstance: boolean, msg: TaskOutputParameterSpec): TaskOutputParameterSpec.AsObject;
static serializeBinaryToWriter(message: TaskOutputParameterSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TaskOutputParameterSpec;
static deserializeBinaryFromReader(message: TaskOutputParameterSpec, reader: jspb.BinaryReader): TaskOutputParameterSpec;
}
export namespace TaskOutputParameterSpec {
export type AsObject = {
producerTask: string,
outputParameterKey: string,
}
}
export class TaskFinalStatus extends jspb.Message {
getProducerTask(): string;
setProducerTask(value: string): TaskFinalStatus;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TaskFinalStatus.AsObject;
static toObject(includeInstance: boolean, msg: TaskFinalStatus): TaskFinalStatus.AsObject;
static serializeBinaryToWriter(message: TaskFinalStatus, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TaskFinalStatus;
static deserializeBinaryFromReader(message: TaskFinalStatus, reader: jspb.BinaryReader): TaskFinalStatus;
}
export namespace TaskFinalStatus {
export type AsObject = {
producerTask: string,
}
}
export enum KindCase {
KIND_NOT_SET = 0,
TASK_OUTPUT_PARAMETER = 1,
RUNTIME_VALUE = 2,
COMPONENT_INPUT_PARAMETER = 3,
TASK_FINAL_STATUS = 5,
}
}
}
export class TaskOutputsSpec extends jspb.Message {
getParametersMap(): jspb.Map<string, TaskOutputsSpec.OutputParameterSpec>;
clearParametersMap(): TaskOutputsSpec;
getArtifactsMap(): jspb.Map<string, TaskOutputsSpec.OutputArtifactSpec>;
clearArtifactsMap(): TaskOutputsSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TaskOutputsSpec.AsObject;
static toObject(includeInstance: boolean, msg: TaskOutputsSpec): TaskOutputsSpec.AsObject;
static serializeBinaryToWriter(message: TaskOutputsSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TaskOutputsSpec;
static deserializeBinaryFromReader(message: TaskOutputsSpec, reader: jspb.BinaryReader): TaskOutputsSpec;
}
export namespace TaskOutputsSpec {
export type AsObject = {
parametersMap: Array<[string, TaskOutputsSpec.OutputParameterSpec.AsObject]>,
artifactsMap: Array<[string, TaskOutputsSpec.OutputArtifactSpec.AsObject]>,
}
export class OutputArtifactSpec extends jspb.Message {
getArtifactType(): ArtifactTypeSchema | undefined;
setArtifactType(value?: ArtifactTypeSchema): OutputArtifactSpec;
hasArtifactType(): boolean;
clearArtifactType(): OutputArtifactSpec;
getPropertiesMap(): jspb.Map<string, ValueOrRuntimeParameter>;
clearPropertiesMap(): OutputArtifactSpec;
getCustomPropertiesMap(): jspb.Map<string, ValueOrRuntimeParameter>;
clearCustomPropertiesMap(): OutputArtifactSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): OutputArtifactSpec.AsObject;
static toObject(includeInstance: boolean, msg: OutputArtifactSpec): OutputArtifactSpec.AsObject;
static serializeBinaryToWriter(message: OutputArtifactSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): OutputArtifactSpec;
static deserializeBinaryFromReader(message: OutputArtifactSpec, reader: jspb.BinaryReader): OutputArtifactSpec;
}
export namespace OutputArtifactSpec {
export type AsObject = {
artifactType?: ArtifactTypeSchema.AsObject,
propertiesMap: Array<[string, ValueOrRuntimeParameter.AsObject]>,
customPropertiesMap: Array<[string, ValueOrRuntimeParameter.AsObject]>,
}
}
export class OutputParameterSpec extends jspb.Message {
getType(): PrimitiveType.PrimitiveTypeEnum;
setType(value: PrimitiveType.PrimitiveTypeEnum): OutputParameterSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): OutputParameterSpec.AsObject;
static toObject(includeInstance: boolean, msg: OutputParameterSpec): OutputParameterSpec.AsObject;
static serializeBinaryToWriter(message: OutputParameterSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): OutputParameterSpec;
static deserializeBinaryFromReader(message: OutputParameterSpec, reader: jspb.BinaryReader): OutputParameterSpec;
}
export namespace OutputParameterSpec {
export type AsObject = {
type: PrimitiveType.PrimitiveTypeEnum,
}
}
}
export class PrimitiveType extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PrimitiveType.AsObject;
static toObject(includeInstance: boolean, msg: PrimitiveType): PrimitiveType.AsObject;
static serializeBinaryToWriter(message: PrimitiveType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PrimitiveType;
static deserializeBinaryFromReader(message: PrimitiveType, reader: jspb.BinaryReader): PrimitiveType;
}
export namespace PrimitiveType {
export type AsObject = {
}
export enum PrimitiveTypeEnum {
PRIMITIVE_TYPE_UNSPECIFIED = 0,
INT = 1,
DOUBLE = 2,
STRING = 3,
}
}
export class ParameterType extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ParameterType.AsObject;
static toObject(includeInstance: boolean, msg: ParameterType): ParameterType.AsObject;
static serializeBinaryToWriter(message: ParameterType, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ParameterType;
static deserializeBinaryFromReader(message: ParameterType, reader: jspb.BinaryReader): ParameterType;
}
export namespace ParameterType {
export type AsObject = {
}
export enum ParameterTypeEnum {
PARAMETER_TYPE_ENUM_UNSPECIFIED = 0,
NUMBER_DOUBLE = 1,
NUMBER_INTEGER = 2,
STRING = 3,
BOOLEAN = 4,
LIST = 5,
STRUCT = 6,
TASK_FINAL_STATUS = 7,
}
}
export class PipelineTaskSpec extends jspb.Message {
getTaskInfo(): PipelineTaskInfo | undefined;
setTaskInfo(value?: PipelineTaskInfo): PipelineTaskSpec;
hasTaskInfo(): boolean;
clearTaskInfo(): PipelineTaskSpec;
getInputs(): TaskInputsSpec | undefined;
setInputs(value?: TaskInputsSpec): PipelineTaskSpec;
hasInputs(): boolean;
clearInputs(): PipelineTaskSpec;
getDependentTasksList(): Array<string>;
setDependentTasksList(value: Array<string>): PipelineTaskSpec;
clearDependentTasksList(): PipelineTaskSpec;
addDependentTasks(value: string, index?: number): PipelineTaskSpec;
getCachingOptions(): PipelineTaskSpec.CachingOptions | undefined;
setCachingOptions(value?: PipelineTaskSpec.CachingOptions): PipelineTaskSpec;
hasCachingOptions(): boolean;
clearCachingOptions(): PipelineTaskSpec;
getComponentRef(): ComponentRef | undefined;
setComponentRef(value?: ComponentRef): PipelineTaskSpec;
hasComponentRef(): boolean;
clearComponentRef(): PipelineTaskSpec;
getTriggerPolicy(): PipelineTaskSpec.TriggerPolicy | undefined;
setTriggerPolicy(value?: PipelineTaskSpec.TriggerPolicy): PipelineTaskSpec;
hasTriggerPolicy(): boolean;
clearTriggerPolicy(): PipelineTaskSpec;
getArtifactIterator(): ArtifactIteratorSpec | undefined;
setArtifactIterator(value?: ArtifactIteratorSpec): PipelineTaskSpec;
hasArtifactIterator(): boolean;
clearArtifactIterator(): PipelineTaskSpec;
getParameterIterator(): ParameterIteratorSpec | undefined;
setParameterIterator(value?: ParameterIteratorSpec): PipelineTaskSpec;
hasParameterIterator(): boolean;
clearParameterIterator(): PipelineTaskSpec;
getRetryPolicy(): PipelineTaskSpec.RetryPolicy | undefined;
setRetryPolicy(value?: PipelineTaskSpec.RetryPolicy): PipelineTaskSpec;
hasRetryPolicy(): boolean;
clearRetryPolicy(): PipelineTaskSpec;
getIteratorPolicy(): PipelineTaskSpec.IteratorPolicy | undefined;
setIteratorPolicy(value?: PipelineTaskSpec.IteratorPolicy): PipelineTaskSpec;
hasIteratorPolicy(): boolean;
clearIteratorPolicy(): PipelineTaskSpec;
getIteratorCase(): PipelineTaskSpec.IteratorCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PipelineTaskSpec.AsObject;
static toObject(includeInstance: boolean, msg: PipelineTaskSpec): PipelineTaskSpec.AsObject;
static serializeBinaryToWriter(message: PipelineTaskSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PipelineTaskSpec;
static deserializeBinaryFromReader(message: PipelineTaskSpec, reader: jspb.BinaryReader): PipelineTaskSpec;
}
export namespace PipelineTaskSpec {
export type AsObject = {
taskInfo?: PipelineTaskInfo.AsObject,
inputs?: TaskInputsSpec.AsObject,
dependentTasksList: Array<string>,
cachingOptions?: PipelineTaskSpec.CachingOptions.AsObject,
componentRef?: ComponentRef.AsObject,
triggerPolicy?: PipelineTaskSpec.TriggerPolicy.AsObject,
artifactIterator?: ArtifactIteratorSpec.AsObject,
parameterIterator?: ParameterIteratorSpec.AsObject,
retryPolicy?: PipelineTaskSpec.RetryPolicy.AsObject,
iteratorPolicy?: PipelineTaskSpec.IteratorPolicy.AsObject,
}
export class CachingOptions extends jspb.Message {
getEnableCache(): boolean;
setEnableCache(value: boolean): CachingOptions;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CachingOptions.AsObject;
static toObject(includeInstance: boolean, msg: CachingOptions): CachingOptions.AsObject;
static serializeBinaryToWriter(message: CachingOptions, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): CachingOptions;
static deserializeBinaryFromReader(message: CachingOptions, reader: jspb.BinaryReader): CachingOptions;
}
export namespace CachingOptions {
export type AsObject = {
enableCache: boolean,
}
}
export class TriggerPolicy extends jspb.Message {
getCondition(): string;
setCondition(value: string): TriggerPolicy;
getStrategy(): PipelineTaskSpec.TriggerPolicy.TriggerStrategy;
setStrategy(value: PipelineTaskSpec.TriggerPolicy.TriggerStrategy): TriggerPolicy;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TriggerPolicy.AsObject;
static toObject(includeInstance: boolean, msg: TriggerPolicy): TriggerPolicy.AsObject;
static serializeBinaryToWriter(message: TriggerPolicy, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TriggerPolicy;
static deserializeBinaryFromReader(message: TriggerPolicy, reader: jspb.BinaryReader): TriggerPolicy;
}
export namespace TriggerPolicy {
export type AsObject = {
condition: string,
strategy: PipelineTaskSpec.TriggerPolicy.TriggerStrategy,
}
export enum TriggerStrategy {
TRIGGER_STRATEGY_UNSPECIFIED = 0,
ALL_UPSTREAM_TASKS_SUCCEEDED = 1,
ALL_UPSTREAM_TASKS_COMPLETED = 2,
}
}
export class RetryPolicy extends jspb.Message {
getMaxRetryCount(): number;
setMaxRetryCount(value: number): RetryPolicy;
getBackoffDuration(): google_protobuf_duration_pb.Duration | undefined;
setBackoffDuration(value?: google_protobuf_duration_pb.Duration): RetryPolicy;
hasBackoffDuration(): boolean;
clearBackoffDuration(): RetryPolicy;
getBackoffFactor(): number;
setBackoffFactor(value: number): RetryPolicy;
getBackoffMaxDuration(): google_protobuf_duration_pb.Duration | undefined;
setBackoffMaxDuration(value?: google_protobuf_duration_pb.Duration): RetryPolicy;
hasBackoffMaxDuration(): boolean;
clearBackoffMaxDuration(): RetryPolicy;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RetryPolicy.AsObject;
static toObject(includeInstance: boolean, msg: RetryPolicy): RetryPolicy.AsObject;
static serializeBinaryToWriter(message: RetryPolicy, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RetryPolicy;
static deserializeBinaryFromReader(message: RetryPolicy, reader: jspb.BinaryReader): RetryPolicy;
}
export namespace RetryPolicy {
export type AsObject = {
maxRetryCount: number,
backoffDuration?: google_protobuf_duration_pb.Duration.AsObject,
backoffFactor: number,
backoffMaxDuration?: google_protobuf_duration_pb.Duration.AsObject,
}
}
export class IteratorPolicy extends jspb.Message {
getParallelismLimit(): number;
setParallelismLimit(value: number): IteratorPolicy;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): IteratorPolicy.AsObject;
static toObject(includeInstance: boolean, msg: IteratorPolicy): IteratorPolicy.AsObject;
static serializeBinaryToWriter(message: IteratorPolicy, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): IteratorPolicy;
static deserializeBinaryFromReader(message: IteratorPolicy, reader: jspb.BinaryReader): IteratorPolicy;
}
export namespace IteratorPolicy {
export type AsObject = {
parallelismLimit: number,
}
}
export enum IteratorCase {
ITERATOR_NOT_SET = 0,
ARTIFACT_ITERATOR = 9,
PARAMETER_ITERATOR = 10,
}
}
export class ArtifactIteratorSpec extends jspb.Message {
getItems(): ArtifactIteratorSpec.ItemsSpec | undefined;
setItems(value?: ArtifactIteratorSpec.ItemsSpec): ArtifactIteratorSpec;
hasItems(): boolean;
clearItems(): ArtifactIteratorSpec;
getItemInput(): string;
setItemInput(value: string): ArtifactIteratorSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactIteratorSpec.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactIteratorSpec): ArtifactIteratorSpec.AsObject;
static serializeBinaryToWriter(message: ArtifactIteratorSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactIteratorSpec;
static deserializeBinaryFromReader(message: ArtifactIteratorSpec, reader: jspb.BinaryReader): ArtifactIteratorSpec;
}
export namespace ArtifactIteratorSpec {
export type AsObject = {
items?: ArtifactIteratorSpec.ItemsSpec.AsObject,
itemInput: string,
}
export class ItemsSpec extends jspb.Message {
getInputArtifact(): string;
setInputArtifact(value: string): ItemsSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ItemsSpec.AsObject;
static toObject(includeInstance: boolean, msg: ItemsSpec): ItemsSpec.AsObject;
static serializeBinaryToWriter(message: ItemsSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ItemsSpec;
static deserializeBinaryFromReader(message: ItemsSpec, reader: jspb.BinaryReader): ItemsSpec;
}
export namespace ItemsSpec {
export type AsObject = {
inputArtifact: string,
}
}
}
export class ParameterIteratorSpec extends jspb.Message {
getItems(): ParameterIteratorSpec.ItemsSpec | undefined;
setItems(value?: ParameterIteratorSpec.ItemsSpec): ParameterIteratorSpec;
hasItems(): boolean;
clearItems(): ParameterIteratorSpec;
getItemInput(): string;
setItemInput(value: string): ParameterIteratorSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ParameterIteratorSpec.AsObject;
static toObject(includeInstance: boolean, msg: ParameterIteratorSpec): ParameterIteratorSpec.AsObject;
static serializeBinaryToWriter(message: ParameterIteratorSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ParameterIteratorSpec;
static deserializeBinaryFromReader(message: ParameterIteratorSpec, reader: jspb.BinaryReader): ParameterIteratorSpec;
}
export namespace ParameterIteratorSpec {
export type AsObject = {
items?: ParameterIteratorSpec.ItemsSpec.AsObject,
itemInput: string,
}
export class ItemsSpec extends jspb.Message {
getRaw(): string;
setRaw(value: string): ItemsSpec;
getInputParameter(): string;
setInputParameter(value: string): ItemsSpec;
getKindCase(): ItemsSpec.KindCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ItemsSpec.AsObject;
static toObject(includeInstance: boolean, msg: ItemsSpec): ItemsSpec.AsObject;
static serializeBinaryToWriter(message: ItemsSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ItemsSpec;
static deserializeBinaryFromReader(message: ItemsSpec, reader: jspb.BinaryReader): ItemsSpec;
}
export namespace ItemsSpec {
export type AsObject = {
raw: string,
inputParameter: string,
}
export enum KindCase {
KIND_NOT_SET = 0,
RAW = 1,
INPUT_PARAMETER = 2,
}
}
}
export class ComponentRef extends jspb.Message {
getName(): string;
setName(value: string): ComponentRef;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ComponentRef.AsObject;
static toObject(includeInstance: boolean, msg: ComponentRef): ComponentRef.AsObject;
static serializeBinaryToWriter(message: ComponentRef, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ComponentRef;
static deserializeBinaryFromReader(message: ComponentRef, reader: jspb.BinaryReader): ComponentRef;
}
export namespace ComponentRef {
export type AsObject = {
name: string,
}
}
export class PipelineInfo extends jspb.Message {
getName(): string;
setName(value: string): PipelineInfo;
getDisplayName(): string;
setDisplayName(value: string): PipelineInfo;
getDescription(): string;
setDescription(value: string): PipelineInfo;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PipelineInfo.AsObject;
static toObject(includeInstance: boolean, msg: PipelineInfo): PipelineInfo.AsObject;
static serializeBinaryToWriter(message: PipelineInfo, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PipelineInfo;
static deserializeBinaryFromReader(message: PipelineInfo, reader: jspb.BinaryReader): PipelineInfo;
}
export namespace PipelineInfo {
export type AsObject = {
name: string,
displayName: string,
description: string,
}
}
export class ArtifactTypeSchema extends jspb.Message {
getSchemaTitle(): string;
setSchemaTitle(value: string): ArtifactTypeSchema;
getSchemaUri(): string;
setSchemaUri(value: string): ArtifactTypeSchema;
getInstanceSchema(): string;
setInstanceSchema(value: string): ArtifactTypeSchema;
getSchemaVersion(): string;
setSchemaVersion(value: string): ArtifactTypeSchema;
getKindCase(): ArtifactTypeSchema.KindCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactTypeSchema.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactTypeSchema): ArtifactTypeSchema.AsObject;
static serializeBinaryToWriter(message: ArtifactTypeSchema, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactTypeSchema;
static deserializeBinaryFromReader(message: ArtifactTypeSchema, reader: jspb.BinaryReader): ArtifactTypeSchema;
}
export namespace ArtifactTypeSchema {
export type AsObject = {
schemaTitle: string,
schemaUri: string,
instanceSchema: string,
schemaVersion: string,
}
export enum KindCase {
KIND_NOT_SET = 0,
SCHEMA_TITLE = 1,
SCHEMA_URI = 2,
INSTANCE_SCHEMA = 3,
}
}
export class PipelineTaskInfo extends jspb.Message {
getName(): string;
setName(value: string): PipelineTaskInfo;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PipelineTaskInfo.AsObject;
static toObject(includeInstance: boolean, msg: PipelineTaskInfo): PipelineTaskInfo.AsObject;
static serializeBinaryToWriter(message: PipelineTaskInfo, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PipelineTaskInfo;
static deserializeBinaryFromReader(message: PipelineTaskInfo, reader: jspb.BinaryReader): PipelineTaskInfo;
}
export namespace PipelineTaskInfo {
export type AsObject = {
name: string,
}
}
export class ValueOrRuntimeParameter extends jspb.Message {
getConstantValue(): Value | undefined;
setConstantValue(value?: Value): ValueOrRuntimeParameter;
hasConstantValue(): boolean;
clearConstantValue(): ValueOrRuntimeParameter;
getRuntimeParameter(): string;
setRuntimeParameter(value: string): ValueOrRuntimeParameter;
getConstant(): google_protobuf_struct_pb.Value | undefined;
setConstant(value?: google_protobuf_struct_pb.Value): ValueOrRuntimeParameter;
hasConstant(): boolean;
clearConstant(): ValueOrRuntimeParameter;
getValueCase(): ValueOrRuntimeParameter.ValueCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ValueOrRuntimeParameter.AsObject;
static toObject(includeInstance: boolean, msg: ValueOrRuntimeParameter): ValueOrRuntimeParameter.AsObject;
static serializeBinaryToWriter(message: ValueOrRuntimeParameter, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ValueOrRuntimeParameter;
static deserializeBinaryFromReader(message: ValueOrRuntimeParameter, reader: jspb.BinaryReader): ValueOrRuntimeParameter;
}
export namespace ValueOrRuntimeParameter {
export type AsObject = {
constantValue?: Value.AsObject,
runtimeParameter: string,
constant?: google_protobuf_struct_pb.Value.AsObject,
}
export enum ValueCase {
VALUE_NOT_SET = 0,
CONSTANT_VALUE = 1,
RUNTIME_PARAMETER = 2,
CONSTANT = 3,
}
}
export class PipelineDeploymentConfig extends jspb.Message {
getExecutorsMap(): jspb.Map<string, PipelineDeploymentConfig.ExecutorSpec>;
clearExecutorsMap(): PipelineDeploymentConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PipelineDeploymentConfig.AsObject;
static toObject(includeInstance: boolean, msg: PipelineDeploymentConfig): PipelineDeploymentConfig.AsObject;
static serializeBinaryToWriter(message: PipelineDeploymentConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PipelineDeploymentConfig;
static deserializeBinaryFromReader(message: PipelineDeploymentConfig, reader: jspb.BinaryReader): PipelineDeploymentConfig;
}
export namespace PipelineDeploymentConfig {
export type AsObject = {
executorsMap: Array<[string, PipelineDeploymentConfig.ExecutorSpec.AsObject]>,
}
export class PipelineContainerSpec extends jspb.Message {
getImage(): string;
setImage(value: string): PipelineContainerSpec;
getCommandList(): Array<string>;
setCommandList(value: Array<string>): PipelineContainerSpec;
clearCommandList(): PipelineContainerSpec;
addCommand(value: string, index?: number): PipelineContainerSpec;
getArgsList(): Array<string>;
setArgsList(value: Array<string>): PipelineContainerSpec;
clearArgsList(): PipelineContainerSpec;
addArgs(value: string, index?: number): PipelineContainerSpec;
getLifecycle(): PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle | undefined;
setLifecycle(value?: PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle): PipelineContainerSpec;
hasLifecycle(): boolean;
clearLifecycle(): PipelineContainerSpec;
getResources(): PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec | undefined;
setResources(value?: PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec): PipelineContainerSpec;
hasResources(): boolean;
clearResources(): PipelineContainerSpec;
getEnvList(): Array<PipelineDeploymentConfig.PipelineContainerSpec.EnvVar>;
setEnvList(value: Array<PipelineDeploymentConfig.PipelineContainerSpec.EnvVar>): PipelineContainerSpec;
clearEnvList(): PipelineContainerSpec;
addEnv(value?: PipelineDeploymentConfig.PipelineContainerSpec.EnvVar, index?: number): PipelineDeploymentConfig.PipelineContainerSpec.EnvVar;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PipelineContainerSpec.AsObject;
static toObject(includeInstance: boolean, msg: PipelineContainerSpec): PipelineContainerSpec.AsObject;
static serializeBinaryToWriter(message: PipelineContainerSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PipelineContainerSpec;
static deserializeBinaryFromReader(message: PipelineContainerSpec, reader: jspb.BinaryReader): PipelineContainerSpec;
}
export namespace PipelineContainerSpec {
export type AsObject = {
image: string,
commandList: Array<string>,
argsList: Array<string>,
lifecycle?: PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.AsObject,
resources?: PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AsObject,
envList: Array<PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.AsObject>,
}
export class Lifecycle extends jspb.Message {
getPreCacheCheck(): PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec | undefined;
setPreCacheCheck(value?: PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec): Lifecycle;
hasPreCacheCheck(): boolean;
clearPreCacheCheck(): Lifecycle;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Lifecycle.AsObject;
static toObject(includeInstance: boolean, msg: Lifecycle): Lifecycle.AsObject;
static serializeBinaryToWriter(message: Lifecycle, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Lifecycle;
static deserializeBinaryFromReader(message: Lifecycle, reader: jspb.BinaryReader): Lifecycle;
}
export namespace Lifecycle {
export type AsObject = {
preCacheCheck?: PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.AsObject,
}
export class Exec extends jspb.Message {
getCommandList(): Array<string>;
setCommandList(value: Array<string>): Exec;
clearCommandList(): Exec;
addCommand(value: string, index?: number): Exec;
getArgsList(): Array<string>;
setArgsList(value: Array<string>): Exec;
clearArgsList(): Exec;
addArgs(value: string, index?: number): Exec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Exec.AsObject;
static toObject(includeInstance: boolean, msg: Exec): Exec.AsObject;
static serializeBinaryToWriter(message: Exec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Exec;
static deserializeBinaryFromReader(message: Exec, reader: jspb.BinaryReader): Exec;
}
export namespace Exec {
export type AsObject = {
commandList: Array<string>,
argsList: Array<string>,
}
}
}
export class ResourceSpec extends jspb.Message {
getCpuLimit(): number;
setCpuLimit(value: number): ResourceSpec;
getMemoryLimit(): number;
setMemoryLimit(value: number): ResourceSpec;
getCpuRequest(): number;
setCpuRequest(value: number): ResourceSpec;
getMemoryRequest(): number;
setMemoryRequest(value: number): ResourceSpec;
getAccelerator(): PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig | undefined;
setAccelerator(value?: PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig): ResourceSpec;
hasAccelerator(): boolean;
clearAccelerator(): ResourceSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ResourceSpec.AsObject;
static toObject(includeInstance: boolean, msg: ResourceSpec): ResourceSpec.AsObject;
static serializeBinaryToWriter(message: ResourceSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ResourceSpec;
static deserializeBinaryFromReader(message: ResourceSpec, reader: jspb.BinaryReader): ResourceSpec;
}
export namespace ResourceSpec {
export type AsObject = {
cpuLimit: number,
memoryLimit: number,
cpuRequest: number,
memoryRequest: number,
accelerator?: PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.AsObject,
}
export class AcceleratorConfig extends jspb.Message {
getType(): string;
setType(value: string): AcceleratorConfig;
getCount(): number;
setCount(value: number): AcceleratorConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AcceleratorConfig.AsObject;
static toObject(includeInstance: boolean, msg: AcceleratorConfig): AcceleratorConfig.AsObject;
static serializeBinaryToWriter(message: AcceleratorConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AcceleratorConfig;
static deserializeBinaryFromReader(message: AcceleratorConfig, reader: jspb.BinaryReader): AcceleratorConfig;
}
export namespace AcceleratorConfig {
export type AsObject = {
type: string,
count: number,
}
}
}
export class EnvVar extends jspb.Message {
getName(): string;
setName(value: string): EnvVar;
getValue(): string;
setValue(value: string): EnvVar;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): EnvVar.AsObject;
static toObject(includeInstance: boolean, msg: EnvVar): EnvVar.AsObject;
static serializeBinaryToWriter(message: EnvVar, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): EnvVar;
static deserializeBinaryFromReader(message: EnvVar, reader: jspb.BinaryReader): EnvVar;
}
export namespace EnvVar {
export type AsObject = {
name: string,
value: string,
}
}
}
export class ImporterSpec extends jspb.Message {
getArtifactUri(): ValueOrRuntimeParameter | undefined;
setArtifactUri(value?: ValueOrRuntimeParameter): ImporterSpec;
hasArtifactUri(): boolean;
clearArtifactUri(): ImporterSpec;
getTypeSchema(): ArtifactTypeSchema | undefined;
setTypeSchema(value?: ArtifactTypeSchema): ImporterSpec;
hasTypeSchema(): boolean;
clearTypeSchema(): ImporterSpec;
getPropertiesMap(): jspb.Map<string, ValueOrRuntimeParameter>;
clearPropertiesMap(): ImporterSpec;
getCustomPropertiesMap(): jspb.Map<string, ValueOrRuntimeParameter>;
clearCustomPropertiesMap(): ImporterSpec;
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
setMetadata(value?: google_protobuf_struct_pb.Struct): ImporterSpec;
hasMetadata(): boolean;
clearMetadata(): ImporterSpec;
getReimport(): boolean;
setReimport(value: boolean): ImporterSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ImporterSpec.AsObject;
static toObject(includeInstance: boolean, msg: ImporterSpec): ImporterSpec.AsObject;
static serializeBinaryToWriter(message: ImporterSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ImporterSpec;
static deserializeBinaryFromReader(message: ImporterSpec, reader: jspb.BinaryReader): ImporterSpec;
}
export namespace ImporterSpec {
export type AsObject = {
artifactUri?: ValueOrRuntimeParameter.AsObject,
typeSchema?: ArtifactTypeSchema.AsObject,
propertiesMap: Array<[string, ValueOrRuntimeParameter.AsObject]>,
customPropertiesMap: Array<[string, ValueOrRuntimeParameter.AsObject]>,
metadata?: google_protobuf_struct_pb.Struct.AsObject,
reimport: boolean,
}
}
export class ResolverSpec extends jspb.Message {
getOutputArtifactQueriesMap(): jspb.Map<string, PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec>;
clearOutputArtifactQueriesMap(): ResolverSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ResolverSpec.AsObject;
static toObject(includeInstance: boolean, msg: ResolverSpec): ResolverSpec.AsObject;
static serializeBinaryToWriter(message: ResolverSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ResolverSpec;
static deserializeBinaryFromReader(message: ResolverSpec, reader: jspb.BinaryReader): ResolverSpec;
}
export namespace ResolverSpec {
export type AsObject = {
outputArtifactQueriesMap: Array<[string, PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.AsObject]>,
}
export class ArtifactQuerySpec extends jspb.Message {
getFilter(): string;
setFilter(value: string): ArtifactQuerySpec;
getLimit(): number;
setLimit(value: number): ArtifactQuerySpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactQuerySpec.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactQuerySpec): ArtifactQuerySpec.AsObject;
static serializeBinaryToWriter(message: ArtifactQuerySpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactQuerySpec;
static deserializeBinaryFromReader(message: ArtifactQuerySpec, reader: jspb.BinaryReader): ArtifactQuerySpec;
}
export namespace ArtifactQuerySpec {
export type AsObject = {
filter: string,
limit: number,
}
}
}
export class AIPlatformCustomJobSpec extends jspb.Message {
getCustomJob(): google_protobuf_struct_pb.Struct | undefined;
setCustomJob(value?: google_protobuf_struct_pb.Struct): AIPlatformCustomJobSpec;
hasCustomJob(): boolean;
clearCustomJob(): AIPlatformCustomJobSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AIPlatformCustomJobSpec.AsObject;
static toObject(includeInstance: boolean, msg: AIPlatformCustomJobSpec): AIPlatformCustomJobSpec.AsObject;
static serializeBinaryToWriter(message: AIPlatformCustomJobSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AIPlatformCustomJobSpec;
static deserializeBinaryFromReader(message: AIPlatformCustomJobSpec, reader: jspb.BinaryReader): AIPlatformCustomJobSpec;
}
export namespace AIPlatformCustomJobSpec {
export type AsObject = {
customJob?: google_protobuf_struct_pb.Struct.AsObject,
}
}
export class ExecutorSpec extends jspb.Message {
getContainer(): PipelineDeploymentConfig.PipelineContainerSpec | undefined;
setContainer(value?: PipelineDeploymentConfig.PipelineContainerSpec): ExecutorSpec;
hasContainer(): boolean;
clearContainer(): ExecutorSpec;
getImporter(): PipelineDeploymentConfig.ImporterSpec | undefined;
setImporter(value?: PipelineDeploymentConfig.ImporterSpec): ExecutorSpec;
hasImporter(): boolean;
clearImporter(): ExecutorSpec;
getResolver(): PipelineDeploymentConfig.ResolverSpec | undefined;
setResolver(value?: PipelineDeploymentConfig.ResolverSpec): ExecutorSpec;
hasResolver(): boolean;
clearResolver(): ExecutorSpec;
getCustomJob(): PipelineDeploymentConfig.AIPlatformCustomJobSpec | undefined;
setCustomJob(value?: PipelineDeploymentConfig.AIPlatformCustomJobSpec): ExecutorSpec;
hasCustomJob(): boolean;
clearCustomJob(): ExecutorSpec;
getSpecCase(): ExecutorSpec.SpecCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExecutorSpec.AsObject;
static toObject(includeInstance: boolean, msg: ExecutorSpec): ExecutorSpec.AsObject;
static serializeBinaryToWriter(message: ExecutorSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExecutorSpec;
static deserializeBinaryFromReader(message: ExecutorSpec, reader: jspb.BinaryReader): ExecutorSpec;
}
export namespace ExecutorSpec {
export type AsObject = {
container?: PipelineDeploymentConfig.PipelineContainerSpec.AsObject,
importer?: PipelineDeploymentConfig.ImporterSpec.AsObject,
resolver?: PipelineDeploymentConfig.ResolverSpec.AsObject,
customJob?: PipelineDeploymentConfig.AIPlatformCustomJobSpec.AsObject,
}
export enum SpecCase {
SPEC_NOT_SET = 0,
CONTAINER = 1,
IMPORTER = 2,
RESOLVER = 3,
CUSTOM_JOB = 4,
}
}
}
export class Value extends jspb.Message {
getIntValue(): number;
setIntValue(value: number): Value;
getDoubleValue(): number;
setDoubleValue(value: number): Value;
getStringValue(): string;
setStringValue(value: string): Value;
getValueCase(): Value.ValueCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Value.AsObject;
static toObject(includeInstance: boolean, msg: Value): Value.AsObject;
static serializeBinaryToWriter(message: Value, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Value;
static deserializeBinaryFromReader(message: Value, reader: jspb.BinaryReader): Value;
}
export namespace Value {
export type AsObject = {
intValue: number,
doubleValue: number,
stringValue: string,
}
export enum ValueCase {
VALUE_NOT_SET = 0,
INT_VALUE = 1,
DOUBLE_VALUE = 2,
STRING_VALUE = 3,
}
}
export class RuntimeArtifact extends jspb.Message {
getName(): string;
setName(value: string): RuntimeArtifact;
getType(): ArtifactTypeSchema | undefined;
setType(value?: ArtifactTypeSchema): RuntimeArtifact;
hasType(): boolean;
clearType(): RuntimeArtifact;
getUri(): string;
setUri(value: string): RuntimeArtifact;
getPropertiesMap(): jspb.Map<string, Value>;
clearPropertiesMap(): RuntimeArtifact;
getCustomPropertiesMap(): jspb.Map<string, Value>;
clearCustomPropertiesMap(): RuntimeArtifact;
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
setMetadata(value?: google_protobuf_struct_pb.Struct): RuntimeArtifact;
hasMetadata(): boolean;
clearMetadata(): RuntimeArtifact;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RuntimeArtifact.AsObject;
static toObject(includeInstance: boolean, msg: RuntimeArtifact): RuntimeArtifact.AsObject;
static serializeBinaryToWriter(message: RuntimeArtifact, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RuntimeArtifact;
static deserializeBinaryFromReader(message: RuntimeArtifact, reader: jspb.BinaryReader): RuntimeArtifact;
}
export namespace RuntimeArtifact {
export type AsObject = {
name: string,
type?: ArtifactTypeSchema.AsObject,
uri: string,
propertiesMap: Array<[string, Value.AsObject]>,
customPropertiesMap: Array<[string, Value.AsObject]>,
metadata?: google_protobuf_struct_pb.Struct.AsObject,
}
}
export class ArtifactList extends jspb.Message {
getArtifactsList(): Array<RuntimeArtifact>;
setArtifactsList(value: Array<RuntimeArtifact>): ArtifactList;
clearArtifactsList(): ArtifactList;
addArtifacts(value?: RuntimeArtifact, index?: number): RuntimeArtifact;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ArtifactList.AsObject;
static toObject(includeInstance: boolean, msg: ArtifactList): ArtifactList.AsObject;
static serializeBinaryToWriter(message: ArtifactList, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ArtifactList;
static deserializeBinaryFromReader(message: ArtifactList, reader: jspb.BinaryReader): ArtifactList;
}
export namespace ArtifactList {
export type AsObject = {
artifactsList: Array<RuntimeArtifact.AsObject>,
}
}
export class ExecutorInput extends jspb.Message {
getInputs(): ExecutorInput.Inputs | undefined;
setInputs(value?: ExecutorInput.Inputs): ExecutorInput;
hasInputs(): boolean;
clearInputs(): ExecutorInput;
getOutputs(): ExecutorInput.Outputs | undefined;
setOutputs(value?: ExecutorInput.Outputs): ExecutorInput;
hasOutputs(): boolean;
clearOutputs(): ExecutorInput;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExecutorInput.AsObject;
static toObject(includeInstance: boolean, msg: ExecutorInput): ExecutorInput.AsObject;
static serializeBinaryToWriter(message: ExecutorInput, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExecutorInput;
static deserializeBinaryFromReader(message: ExecutorInput, reader: jspb.BinaryReader): ExecutorInput;
}
export namespace ExecutorInput {
export type AsObject = {
inputs?: ExecutorInput.Inputs.AsObject,
outputs?: ExecutorInput.Outputs.AsObject,
}
export class Inputs extends jspb.Message {
getParametersMap(): jspb.Map<string, Value>;
clearParametersMap(): Inputs;
getArtifactsMap(): jspb.Map<string, ArtifactList>;
clearArtifactsMap(): Inputs;
getParameterValuesMap(): jspb.Map<string, google_protobuf_struct_pb.Value>;
clearParameterValuesMap(): Inputs;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Inputs.AsObject;
static toObject(includeInstance: boolean, msg: Inputs): Inputs.AsObject;
static serializeBinaryToWriter(message: Inputs, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Inputs;
static deserializeBinaryFromReader(message: Inputs, reader: jspb.BinaryReader): Inputs;
}
export namespace Inputs {
export type AsObject = {
parametersMap: Array<[string, Value.AsObject]>,
artifactsMap: Array<[string, ArtifactList.AsObject]>,
parameterValuesMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>,
}
}
export class OutputParameter extends jspb.Message {
getOutputFile(): string;
setOutputFile(value: string): OutputParameter;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): OutputParameter.AsObject;
static toObject(includeInstance: boolean, msg: OutputParameter): OutputParameter.AsObject;
static serializeBinaryToWriter(message: OutputParameter, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): OutputParameter;
static deserializeBinaryFromReader(message: OutputParameter, reader: jspb.BinaryReader): OutputParameter;
}
export namespace OutputParameter {
export type AsObject = {
outputFile: string,
}
}
export class Outputs extends jspb.Message {
getParametersMap(): jspb.Map<string, ExecutorInput.OutputParameter>;
clearParametersMap(): Outputs;
getArtifactsMap(): jspb.Map<string, ArtifactList>;
clearArtifactsMap(): Outputs;
getOutputFile(): string;
setOutputFile(value: string): Outputs;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Outputs.AsObject;
static toObject(includeInstance: boolean, msg: Outputs): Outputs.AsObject;
static serializeBinaryToWriter(message: Outputs, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Outputs;
static deserializeBinaryFromReader(message: Outputs, reader: jspb.BinaryReader): Outputs;
}
export namespace Outputs {
export type AsObject = {
parametersMap: Array<[string, ExecutorInput.OutputParameter.AsObject]>,
artifactsMap: Array<[string, ArtifactList.AsObject]>,
outputFile: string,
}
}
}
export class ExecutorOutput extends jspb.Message {
getParametersMap(): jspb.Map<string, Value>;
clearParametersMap(): ExecutorOutput;
getArtifactsMap(): jspb.Map<string, ArtifactList>;
clearArtifactsMap(): ExecutorOutput;
getParameterValuesMap(): jspb.Map<string, google_protobuf_struct_pb.Value>;
clearParameterValuesMap(): ExecutorOutput;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExecutorOutput.AsObject;
static toObject(includeInstance: boolean, msg: ExecutorOutput): ExecutorOutput.AsObject;
static serializeBinaryToWriter(message: ExecutorOutput, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExecutorOutput;
static deserializeBinaryFromReader(message: ExecutorOutput, reader: jspb.BinaryReader): ExecutorOutput;
}
export namespace ExecutorOutput {
export type AsObject = {
parametersMap: Array<[string, Value.AsObject]>,
artifactsMap: Array<[string, ArtifactList.AsObject]>,
parameterValuesMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>,
}
}
export class PipelineTaskFinalStatus extends jspb.Message {
getState(): string;
setState(value: string): PipelineTaskFinalStatus;
getError(): google_rpc_status_pb.Status | undefined;
setError(value?: google_rpc_status_pb.Status): PipelineTaskFinalStatus;
hasError(): boolean;
clearError(): PipelineTaskFinalStatus;
getPipelineJobUuid(): number;
setPipelineJobUuid(value: number): PipelineTaskFinalStatus;
getPipelineJobName(): string;
setPipelineJobName(value: string): PipelineTaskFinalStatus;
getPipelineJobResourceName(): string;
setPipelineJobResourceName(value: string): PipelineTaskFinalStatus;
getPipelineTaskName(): string;
setPipelineTaskName(value: string): PipelineTaskFinalStatus;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PipelineTaskFinalStatus.AsObject;
static toObject(includeInstance: boolean, msg: PipelineTaskFinalStatus): PipelineTaskFinalStatus.AsObject;
static serializeBinaryToWriter(message: PipelineTaskFinalStatus, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PipelineTaskFinalStatus;
static deserializeBinaryFromReader(message: PipelineTaskFinalStatus, reader: jspb.BinaryReader): PipelineTaskFinalStatus;
}
export namespace PipelineTaskFinalStatus {
export type AsObject = {
state: string,
error?: google_rpc_status_pb.Status.AsObject,
pipelineJobUuid: number,
pipelineJobName: string,
pipelineJobResourceName: string,
pipelineTaskName: string,
}
}
export class PipelineStateEnum extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PipelineStateEnum.AsObject;
static toObject(includeInstance: boolean, msg: PipelineStateEnum): PipelineStateEnum.AsObject;
static serializeBinaryToWriter(message: PipelineStateEnum, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PipelineStateEnum;
static deserializeBinaryFromReader(message: PipelineStateEnum, reader: jspb.BinaryReader): PipelineStateEnum;
}
export namespace PipelineStateEnum {
export type AsObject = {
}
export enum PipelineTaskState {
TASK_STATE_UNSPECIFIED = 0,
PENDING = 1,
RUNNING_DRIVER = 2,
DRIVER_SUCCEEDED = 3,
RUNNING_EXECUTOR = 4,
SUCCEEDED = 5,
CANCEL_PENDING = 6,
CANCELLING = 7,
CANCELLED = 8,
FAILED = 9,
SKIPPED = 10,
QUEUED = 11,
NOT_TRIGGERED = 12,
UNSCHEDULABLE = 13,
}
}
export class PlatformSpec extends jspb.Message {
getPlatformsMap(): jspb.Map<string, SinglePlatformSpec>;
clearPlatformsMap(): PlatformSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PlatformSpec.AsObject;
static toObject(includeInstance: boolean, msg: PlatformSpec): PlatformSpec.AsObject;
static serializeBinaryToWriter(message: PlatformSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PlatformSpec;
static deserializeBinaryFromReader(message: PlatformSpec, reader: jspb.BinaryReader): PlatformSpec;
}
export namespace PlatformSpec {
export type AsObject = {
platformsMap: Array<[string, SinglePlatformSpec.AsObject]>,
}
}
export class SinglePlatformSpec extends jspb.Message {
getDeploymentSpec(): PlatformDeploymentConfig | undefined;
setDeploymentSpec(value?: PlatformDeploymentConfig): SinglePlatformSpec;
hasDeploymentSpec(): boolean;
clearDeploymentSpec(): SinglePlatformSpec;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SinglePlatformSpec.AsObject;
static toObject(includeInstance: boolean, msg: SinglePlatformSpec): SinglePlatformSpec.AsObject;
static serializeBinaryToWriter(message: SinglePlatformSpec, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SinglePlatformSpec;
static deserializeBinaryFromReader(message: SinglePlatformSpec, reader: jspb.BinaryReader): SinglePlatformSpec;
}
export namespace SinglePlatformSpec {
export type AsObject = {
deploymentSpec?: PlatformDeploymentConfig.AsObject,
}
}
export class PlatformDeploymentConfig extends jspb.Message {
getExecutorsMap(): jspb.Map<string, google_protobuf_struct_pb.Struct>;
clearExecutorsMap(): PlatformDeploymentConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PlatformDeploymentConfig.AsObject;
static toObject(includeInstance: boolean, msg: PlatformDeploymentConfig): PlatformDeploymentConfig.AsObject;
static serializeBinaryToWriter(message: PlatformDeploymentConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PlatformDeploymentConfig;
static deserializeBinaryFromReader(message: PlatformDeploymentConfig, reader: jspb.BinaryReader): PlatformDeploymentConfig;
}
export namespace PlatformDeploymentConfig {
export type AsObject = {
executorsMap: Array<[string, google_protobuf_struct_pb.Struct.AsObject]>,
}
}
| 374 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/index.ts | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
export {
PipelineJob,
PipelineSpec,
ComponentSpec,
PipelineTaskSpec,
PlatformSpec,
PipelineDeploymentConfig,
PipelineDeploymentConfig_ExecutorSpec,
} from './pipeline_spec';
| 375 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/pipeline_spec_pb.js | // source: pipeline_spec.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return this')();
var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
goog.object.extend(proto, google_protobuf_duration_pb);
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
goog.object.extend(proto, google_protobuf_struct_pb);
var google_rpc_status_pb = require('./google/rpc/status_pb.js');
goog.object.extend(proto, google_rpc_status_pb);
goog.exportSymbol('proto.ml_pipelines.ArtifactIteratorSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ArtifactList', null, global);
goog.exportSymbol('proto.ml_pipelines.ArtifactTypeSchema', null, global);
goog.exportSymbol('proto.ml_pipelines.ArtifactTypeSchema.KindCase', null, global);
goog.exportSymbol('proto.ml_pipelines.ComponentInputsSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ComponentInputsSpec.ParameterSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ComponentOutputsSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ComponentRef', null, global);
goog.exportSymbol('proto.ml_pipelines.ComponentSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ComponentSpec.ImplementationCase', null, global);
goog.exportSymbol('proto.ml_pipelines.DagOutputsSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.KindCase', null, global);
goog.exportSymbol('proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.DagSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ExecutorInput', null, global);
goog.exportSymbol('proto.ml_pipelines.ExecutorInput.Inputs', null, global);
goog.exportSymbol('proto.ml_pipelines.ExecutorInput.OutputParameter', null, global);
goog.exportSymbol('proto.ml_pipelines.ExecutorInput.Outputs', null, global);
goog.exportSymbol('proto.ml_pipelines.ExecutorOutput', null, global);
goog.exportSymbol('proto.ml_pipelines.ParameterIteratorSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.KindCase', null, global);
goog.exportSymbol('proto.ml_pipelines.ParameterType', null, global);
goog.exportSymbol('proto.ml_pipelines.ParameterType.ParameterTypeEnum', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.SpecCase', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineInfo', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineJob', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineJob.RuntimeConfig', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineSpec.RuntimeParameter', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineStateEnum', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineStateEnum.PipelineTaskState', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineTaskFinalStatus', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineTaskInfo', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineTaskSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineTaskSpec.CachingOptions', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineTaskSpec.IteratorCase', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineTaskSpec.RetryPolicy', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy', null, global);
goog.exportSymbol('proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.TriggerStrategy', null, global);
goog.exportSymbol('proto.ml_pipelines.PlatformDeploymentConfig', null, global);
goog.exportSymbol('proto.ml_pipelines.PlatformSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.PrimitiveType', null, global);
goog.exportSymbol('proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum', null, global);
goog.exportSymbol('proto.ml_pipelines.RuntimeArtifact', null, global);
goog.exportSymbol('proto.ml_pipelines.SinglePlatformSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskInputsSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.KindCase', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskInputsSpec.InputParameterSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.KindCase', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskOutputsSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec', null, global);
goog.exportSymbol('proto.ml_pipelines.Value', null, global);
goog.exportSymbol('proto.ml_pipelines.Value.ValueCase', null, global);
goog.exportSymbol('proto.ml_pipelines.ValueOrRuntimeParameter', null, global);
goog.exportSymbol('proto.ml_pipelines.ValueOrRuntimeParameter.ValueCase', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineJob = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineJob, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineJob.displayName = 'proto.ml_pipelines.PipelineJob';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineJob.RuntimeConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.displayName = 'proto.ml_pipelines.PipelineJob.RuntimeConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineSpec.displayName = 'proto.ml_pipelines.PipelineSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineSpec.RuntimeParameter, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.displayName = 'proto.ml_pipelines.PipelineSpec.RuntimeParameter';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ComponentSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_pipelines.ComponentSpec.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.ComponentSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ComponentSpec.displayName = 'proto.ml_pipelines.ComponentSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.DagSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.DagSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.DagSpec.displayName = 'proto.ml_pipelines.DagSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.DagOutputsSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.DagOutputsSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.DagOutputsSpec.displayName = 'proto.ml_pipelines.DagOutputsSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.displayName = 'proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.repeatedFields_, null);
};
goog.inherits(proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.displayName = 'proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.displayName = 'proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.repeatedFields_, null);
};
goog.inherits(proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.displayName = 'proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.displayName = 'proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.displayName = 'proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ComponentInputsSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ComponentInputsSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ComponentInputsSpec.displayName = 'proto.ml_pipelines.ComponentInputsSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.displayName = 'proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ComponentInputsSpec.ParameterSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.displayName = 'proto.ml_pipelines.ComponentInputsSpec.ParameterSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ComponentOutputsSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ComponentOutputsSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ComponentOutputsSpec.displayName = 'proto.ml_pipelines.ComponentOutputsSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.displayName = 'proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.displayName = 'proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.TaskInputsSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.TaskInputsSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.TaskInputsSpec.displayName = 'proto.ml_pipelines.TaskInputsSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.displayName = 'proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.displayName = 'proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.TaskInputsSpec.InputParameterSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.displayName = 'proto.ml_pipelines.TaskInputsSpec.InputParameterSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.displayName = 'proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.displayName = 'proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.TaskOutputsSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.TaskOutputsSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.TaskOutputsSpec.displayName = 'proto.ml_pipelines.TaskOutputsSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.displayName = 'proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.displayName = 'proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PrimitiveType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PrimitiveType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PrimitiveType.displayName = 'proto.ml_pipelines.PrimitiveType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ParameterType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ParameterType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ParameterType.displayName = 'proto.ml_pipelines.ParameterType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineTaskSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_pipelines.PipelineTaskSpec.repeatedFields_, proto.ml_pipelines.PipelineTaskSpec.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.PipelineTaskSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineTaskSpec.displayName = 'proto.ml_pipelines.PipelineTaskSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineTaskSpec.CachingOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.displayName = 'proto.ml_pipelines.PipelineTaskSpec.CachingOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.displayName = 'proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineTaskSpec.RetryPolicy, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.displayName = 'proto.ml_pipelines.PipelineTaskSpec.RetryPolicy';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.displayName = 'proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ArtifactIteratorSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ArtifactIteratorSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ArtifactIteratorSpec.displayName = 'proto.ml_pipelines.ArtifactIteratorSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.displayName = 'proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ParameterIteratorSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ParameterIteratorSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ParameterIteratorSpec.displayName = 'proto.ml_pipelines.ParameterIteratorSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.displayName = 'proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ComponentRef = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ComponentRef, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ComponentRef.displayName = 'proto.ml_pipelines.ComponentRef';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineInfo = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineInfo.displayName = 'proto.ml_pipelines.PipelineInfo';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ArtifactTypeSchema = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_pipelines.ArtifactTypeSchema.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.ArtifactTypeSchema, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ArtifactTypeSchema.displayName = 'proto.ml_pipelines.ArtifactTypeSchema';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineTaskInfo = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineTaskInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineTaskInfo.displayName = 'proto.ml_pipelines.PipelineTaskInfo';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ValueOrRuntimeParameter = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_pipelines.ValueOrRuntimeParameter.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.ValueOrRuntimeParameter, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ValueOrRuntimeParameter.displayName = 'proto.ml_pipelines.ValueOrRuntimeParameter';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.repeatedFields_, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.repeatedFields_, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.displayName = 'proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.Value = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_pipelines.Value.oneofGroups_);
};
goog.inherits(proto.ml_pipelines.Value, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.Value.displayName = 'proto.ml_pipelines.Value';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.RuntimeArtifact = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.RuntimeArtifact, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.RuntimeArtifact.displayName = 'proto.ml_pipelines.RuntimeArtifact';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ArtifactList = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_pipelines.ArtifactList.repeatedFields_, null);
};
goog.inherits(proto.ml_pipelines.ArtifactList, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ArtifactList.displayName = 'proto.ml_pipelines.ArtifactList';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ExecutorInput = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ExecutorInput, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ExecutorInput.displayName = 'proto.ml_pipelines.ExecutorInput';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ExecutorInput.Inputs = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ExecutorInput.Inputs, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ExecutorInput.Inputs.displayName = 'proto.ml_pipelines.ExecutorInput.Inputs';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ExecutorInput.OutputParameter = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ExecutorInput.OutputParameter, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ExecutorInput.OutputParameter.displayName = 'proto.ml_pipelines.ExecutorInput.OutputParameter';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ExecutorInput.Outputs = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ExecutorInput.Outputs, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ExecutorInput.Outputs.displayName = 'proto.ml_pipelines.ExecutorInput.Outputs';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.ExecutorOutput = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.ExecutorOutput, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.ExecutorOutput.displayName = 'proto.ml_pipelines.ExecutorOutput';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineTaskFinalStatus = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineTaskFinalStatus, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineTaskFinalStatus.displayName = 'proto.ml_pipelines.PipelineTaskFinalStatus';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PipelineStateEnum = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PipelineStateEnum, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PipelineStateEnum.displayName = 'proto.ml_pipelines.PipelineStateEnum';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PlatformSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PlatformSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PlatformSpec.displayName = 'proto.ml_pipelines.PlatformSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.SinglePlatformSpec = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.SinglePlatformSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.SinglePlatformSpec.displayName = 'proto.ml_pipelines.SinglePlatformSpec';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ml_pipelines.PlatformDeploymentConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ml_pipelines.PlatformDeploymentConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ml_pipelines.PlatformDeploymentConfig.displayName = 'proto.ml_pipelines.PlatformDeploymentConfig';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineJob.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineJob.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineJob} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineJob.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
pipelineSpec: (f = msg.getPipelineSpec()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
runtimeConfig: (f = msg.getRuntimeConfig()) && proto.ml_pipelines.PipelineJob.RuntimeConfig.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineJob}
*/
proto.ml_pipelines.PipelineJob.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineJob;
return proto.ml_pipelines.PipelineJob.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineJob} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineJob}
*/
proto.ml_pipelines.PipelineJob.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setDisplayName(value);
break;
case 7:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setPipelineSpec(value);
break;
case 11:
var value = msg.getLabelsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
});
break;
case 12:
var value = new proto.ml_pipelines.PipelineJob.RuntimeConfig;
reader.readMessage(value,proto.ml_pipelines.PipelineJob.RuntimeConfig.deserializeBinaryFromReader);
msg.setRuntimeConfig(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineJob.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineJob.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineJob} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineJob.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getDisplayName();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getPipelineSpec();
if (f != null) {
writer.writeMessage(
7,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
f = message.getLabelsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(11, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
}
f = message.getRuntimeConfig();
if (f != null) {
writer.writeMessage(
12,
f,
proto.ml_pipelines.PipelineJob.RuntimeConfig.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineJob.RuntimeConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineJob.RuntimeConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.toObject = function(includeInstance, msg) {
var f, obj = {
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.Value.toObject) : [],
gcsOutputDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
parameterValuesMap: (f = msg.getParameterValuesMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineJob.RuntimeConfig}
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineJob.RuntimeConfig;
return proto.ml_pipelines.PipelineJob.RuntimeConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineJob.RuntimeConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineJob.RuntimeConfig}
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.Value.deserializeBinaryFromReader, "", new proto.ml_pipelines.Value());
});
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setGcsOutputDirectory(value);
break;
case 3:
var value = msg.getParameterValuesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineJob.RuntimeConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineJob.RuntimeConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.Value.serializeBinaryToWriter);
}
f = message.getGcsOutputDirectory();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getParameterValuesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter);
}
};
/**
* map<string, Value> parameters = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.Value>}
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.prototype.getParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.Value>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PipelineJob.RuntimeConfig} returns this
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.prototype.clearParametersMap = function() {
this.getParametersMap().clear();
return this;};
/**
* optional string gcs_output_directory = 2;
* @return {string}
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.prototype.getGcsOutputDirectory = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineJob.RuntimeConfig} returns this
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.prototype.setGcsOutputDirectory = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* map<string, google.protobuf.Value> parameter_values = 3;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.google.protobuf.Value>}
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.prototype.getParameterValuesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.google.protobuf.Value>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
proto.google.protobuf.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PipelineJob.RuntimeConfig} returns this
*/
proto.ml_pipelines.PipelineJob.RuntimeConfig.prototype.clearParameterValuesMap = function() {
this.getParameterValuesMap().clear();
return this;};
/**
* optional string name = 1;
* @return {string}
*/
proto.ml_pipelines.PipelineJob.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineJob} returns this
*/
proto.ml_pipelines.PipelineJob.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string display_name = 2;
* @return {string}
*/
proto.ml_pipelines.PipelineJob.prototype.getDisplayName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineJob} returns this
*/
proto.ml_pipelines.PipelineJob.prototype.setDisplayName = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional google.protobuf.Struct pipeline_spec = 7;
* @return {?proto.google.protobuf.Struct}
*/
proto.ml_pipelines.PipelineJob.prototype.getPipelineSpec = function() {
return /** @type{?proto.google.protobuf.Struct} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 7));
};
/**
* @param {?proto.google.protobuf.Struct|undefined} value
* @return {!proto.ml_pipelines.PipelineJob} returns this
*/
proto.ml_pipelines.PipelineJob.prototype.setPipelineSpec = function(value) {
return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineJob} returns this
*/
proto.ml_pipelines.PipelineJob.prototype.clearPipelineSpec = function() {
return this.setPipelineSpec(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineJob.prototype.hasPipelineSpec = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* map<string, string> labels = 11;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,string>}
*/
proto.ml_pipelines.PipelineJob.prototype.getLabelsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,string>} */ (
jspb.Message.getMapField(this, 11, opt_noLazyCreate,
null));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PipelineJob} returns this
*/
proto.ml_pipelines.PipelineJob.prototype.clearLabelsMap = function() {
this.getLabelsMap().clear();
return this;};
/**
* optional RuntimeConfig runtime_config = 12;
* @return {?proto.ml_pipelines.PipelineJob.RuntimeConfig}
*/
proto.ml_pipelines.PipelineJob.prototype.getRuntimeConfig = function() {
return /** @type{?proto.ml_pipelines.PipelineJob.RuntimeConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineJob.RuntimeConfig, 12));
};
/**
* @param {?proto.ml_pipelines.PipelineJob.RuntimeConfig|undefined} value
* @return {!proto.ml_pipelines.PipelineJob} returns this
*/
proto.ml_pipelines.PipelineJob.prototype.setRuntimeConfig = function(value) {
return jspb.Message.setWrapperField(this, 12, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineJob} returns this
*/
proto.ml_pipelines.PipelineJob.prototype.clearRuntimeConfig = function() {
return this.setRuntimeConfig(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineJob.prototype.hasRuntimeConfig = function() {
return jspb.Message.getField(this, 12) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineSpec.toObject = function(includeInstance, msg) {
var f, obj = {
pipelineInfo: (f = msg.getPipelineInfo()) && proto.ml_pipelines.PipelineInfo.toObject(includeInstance, f),
deploymentSpec: (f = msg.getDeploymentSpec()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
sdkVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
schemaVersion: jspb.Message.getFieldWithDefault(msg, 5, ""),
componentsMap: (f = msg.getComponentsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ComponentSpec.toObject) : [],
root: (f = msg.getRoot()) && proto.ml_pipelines.ComponentSpec.toObject(includeInstance, f),
defaultPipelineRoot: jspb.Message.getFieldWithDefault(msg, 10, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineSpec}
*/
proto.ml_pipelines.PipelineSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineSpec;
return proto.ml_pipelines.PipelineSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineSpec}
*/
proto.ml_pipelines.PipelineSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.PipelineInfo;
reader.readMessage(value,proto.ml_pipelines.PipelineInfo.deserializeBinaryFromReader);
msg.setPipelineInfo(value);
break;
case 7:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setDeploymentSpec(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setSdkVersion(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setSchemaVersion(value);
break;
case 8:
var value = msg.getComponentsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ComponentSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.ComponentSpec());
});
break;
case 9:
var value = new proto.ml_pipelines.ComponentSpec;
reader.readMessage(value,proto.ml_pipelines.ComponentSpec.deserializeBinaryFromReader);
msg.setRoot(value);
break;
case 10:
var value = /** @type {string} */ (reader.readString());
msg.setDefaultPipelineRoot(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getPipelineInfo();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.PipelineInfo.serializeBinaryToWriter
);
}
f = message.getDeploymentSpec();
if (f != null) {
writer.writeMessage(
7,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
f = message.getSdkVersion();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
f = message.getSchemaVersion();
if (f.length > 0) {
writer.writeString(
5,
f
);
}
f = message.getComponentsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ComponentSpec.serializeBinaryToWriter);
}
f = message.getRoot();
if (f != null) {
writer.writeMessage(
9,
f,
proto.ml_pipelines.ComponentSpec.serializeBinaryToWriter
);
}
f = message.getDefaultPipelineRoot();
if (f.length > 0) {
writer.writeString(
10,
f
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineSpec.RuntimeParameter.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineSpec.RuntimeParameter} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.toObject = function(includeInstance, msg) {
var f, obj = {
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
defaultValue: (f = msg.getDefaultValue()) && proto.ml_pipelines.Value.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineSpec.RuntimeParameter}
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineSpec.RuntimeParameter;
return proto.ml_pipelines.PipelineSpec.RuntimeParameter.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineSpec.RuntimeParameter} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineSpec.RuntimeParameter}
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} */ (reader.readEnum());
msg.setType(value);
break;
case 2:
var value = new proto.ml_pipelines.Value;
reader.readMessage(value,proto.ml_pipelines.Value.deserializeBinaryFromReader);
msg.setDefaultValue(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineSpec.RuntimeParameter.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineSpec.RuntimeParameter} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getType();
if (f !== 0.0) {
writer.writeEnum(
1,
f
);
}
f = message.getDefaultValue();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.Value.serializeBinaryToWriter
);
}
};
/**
* optional PrimitiveType.PrimitiveTypeEnum type = 1;
* @return {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum}
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.prototype.getType = function() {
return /** @type {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} value
* @return {!proto.ml_pipelines.PipelineSpec.RuntimeParameter} returns this
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.prototype.setType = function(value) {
return jspb.Message.setProto3EnumField(this, 1, value);
};
/**
* optional Value default_value = 2;
* @return {?proto.ml_pipelines.Value}
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.prototype.getDefaultValue = function() {
return /** @type{?proto.ml_pipelines.Value} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.Value, 2));
};
/**
* @param {?proto.ml_pipelines.Value|undefined} value
* @return {!proto.ml_pipelines.PipelineSpec.RuntimeParameter} returns this
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.prototype.setDefaultValue = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineSpec.RuntimeParameter} returns this
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.prototype.clearDefaultValue = function() {
return this.setDefaultValue(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineSpec.RuntimeParameter.prototype.hasDefaultValue = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional PipelineInfo pipeline_info = 1;
* @return {?proto.ml_pipelines.PipelineInfo}
*/
proto.ml_pipelines.PipelineSpec.prototype.getPipelineInfo = function() {
return /** @type{?proto.ml_pipelines.PipelineInfo} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineInfo, 1));
};
/**
* @param {?proto.ml_pipelines.PipelineInfo|undefined} value
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.setPipelineInfo = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.clearPipelineInfo = function() {
return this.setPipelineInfo(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineSpec.prototype.hasPipelineInfo = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional google.protobuf.Struct deployment_spec = 7;
* @return {?proto.google.protobuf.Struct}
*/
proto.ml_pipelines.PipelineSpec.prototype.getDeploymentSpec = function() {
return /** @type{?proto.google.protobuf.Struct} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 7));
};
/**
* @param {?proto.google.protobuf.Struct|undefined} value
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.setDeploymentSpec = function(value) {
return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.clearDeploymentSpec = function() {
return this.setDeploymentSpec(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineSpec.prototype.hasDeploymentSpec = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional string sdk_version = 4;
* @return {string}
*/
proto.ml_pipelines.PipelineSpec.prototype.getSdkVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.setSdkVersion = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional string schema_version = 5;
* @return {string}
*/
proto.ml_pipelines.PipelineSpec.prototype.getSchemaVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.setSchemaVersion = function(value) {
return jspb.Message.setProto3StringField(this, 5, value);
};
/**
* map<string, ComponentSpec> components = 8;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ComponentSpec>}
*/
proto.ml_pipelines.PipelineSpec.prototype.getComponentsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ComponentSpec>} */ (
jspb.Message.getMapField(this, 8, opt_noLazyCreate,
proto.ml_pipelines.ComponentSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.clearComponentsMap = function() {
this.getComponentsMap().clear();
return this;};
/**
* optional ComponentSpec root = 9;
* @return {?proto.ml_pipelines.ComponentSpec}
*/
proto.ml_pipelines.PipelineSpec.prototype.getRoot = function() {
return /** @type{?proto.ml_pipelines.ComponentSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ComponentSpec, 9));
};
/**
* @param {?proto.ml_pipelines.ComponentSpec|undefined} value
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.setRoot = function(value) {
return jspb.Message.setWrapperField(this, 9, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.clearRoot = function() {
return this.setRoot(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineSpec.prototype.hasRoot = function() {
return jspb.Message.getField(this, 9) != null;
};
/**
* optional string default_pipeline_root = 10;
* @return {string}
*/
proto.ml_pipelines.PipelineSpec.prototype.getDefaultPipelineRoot = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineSpec} returns this
*/
proto.ml_pipelines.PipelineSpec.prototype.setDefaultPipelineRoot = function(value) {
return jspb.Message.setProto3StringField(this, 10, value);
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.ComponentSpec.oneofGroups_ = [[3,4]];
/**
* @enum {number}
*/
proto.ml_pipelines.ComponentSpec.ImplementationCase = {
IMPLEMENTATION_NOT_SET: 0,
DAG: 3,
EXECUTOR_LABEL: 4
};
/**
* @return {proto.ml_pipelines.ComponentSpec.ImplementationCase}
*/
proto.ml_pipelines.ComponentSpec.prototype.getImplementationCase = function() {
return /** @type {proto.ml_pipelines.ComponentSpec.ImplementationCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.ComponentSpec.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ComponentSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ComponentSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ComponentSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentSpec.toObject = function(includeInstance, msg) {
var f, obj = {
inputDefinitions: (f = msg.getInputDefinitions()) && proto.ml_pipelines.ComponentInputsSpec.toObject(includeInstance, f),
outputDefinitions: (f = msg.getOutputDefinitions()) && proto.ml_pipelines.ComponentOutputsSpec.toObject(includeInstance, f),
dag: (f = msg.getDag()) && proto.ml_pipelines.DagSpec.toObject(includeInstance, f),
executorLabel: jspb.Message.getFieldWithDefault(msg, 4, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ComponentSpec}
*/
proto.ml_pipelines.ComponentSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ComponentSpec;
return proto.ml_pipelines.ComponentSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ComponentSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ComponentSpec}
*/
proto.ml_pipelines.ComponentSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.ComponentInputsSpec;
reader.readMessage(value,proto.ml_pipelines.ComponentInputsSpec.deserializeBinaryFromReader);
msg.setInputDefinitions(value);
break;
case 2:
var value = new proto.ml_pipelines.ComponentOutputsSpec;
reader.readMessage(value,proto.ml_pipelines.ComponentOutputsSpec.deserializeBinaryFromReader);
msg.setOutputDefinitions(value);
break;
case 3:
var value = new proto.ml_pipelines.DagSpec;
reader.readMessage(value,proto.ml_pipelines.DagSpec.deserializeBinaryFromReader);
msg.setDag(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setExecutorLabel(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ComponentSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ComponentSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ComponentSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getInputDefinitions();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.ComponentInputsSpec.serializeBinaryToWriter
);
}
f = message.getOutputDefinitions();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.ComponentOutputsSpec.serializeBinaryToWriter
);
}
f = message.getDag();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_pipelines.DagSpec.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(
4,
f
);
}
};
/**
* optional ComponentInputsSpec input_definitions = 1;
* @return {?proto.ml_pipelines.ComponentInputsSpec}
*/
proto.ml_pipelines.ComponentSpec.prototype.getInputDefinitions = function() {
return /** @type{?proto.ml_pipelines.ComponentInputsSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ComponentInputsSpec, 1));
};
/**
* @param {?proto.ml_pipelines.ComponentInputsSpec|undefined} value
* @return {!proto.ml_pipelines.ComponentSpec} returns this
*/
proto.ml_pipelines.ComponentSpec.prototype.setInputDefinitions = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ComponentSpec} returns this
*/
proto.ml_pipelines.ComponentSpec.prototype.clearInputDefinitions = function() {
return this.setInputDefinitions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ComponentSpec.prototype.hasInputDefinitions = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ComponentOutputsSpec output_definitions = 2;
* @return {?proto.ml_pipelines.ComponentOutputsSpec}
*/
proto.ml_pipelines.ComponentSpec.prototype.getOutputDefinitions = function() {
return /** @type{?proto.ml_pipelines.ComponentOutputsSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ComponentOutputsSpec, 2));
};
/**
* @param {?proto.ml_pipelines.ComponentOutputsSpec|undefined} value
* @return {!proto.ml_pipelines.ComponentSpec} returns this
*/
proto.ml_pipelines.ComponentSpec.prototype.setOutputDefinitions = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ComponentSpec} returns this
*/
proto.ml_pipelines.ComponentSpec.prototype.clearOutputDefinitions = function() {
return this.setOutputDefinitions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ComponentSpec.prototype.hasOutputDefinitions = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional DagSpec dag = 3;
* @return {?proto.ml_pipelines.DagSpec}
*/
proto.ml_pipelines.ComponentSpec.prototype.getDag = function() {
return /** @type{?proto.ml_pipelines.DagSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.DagSpec, 3));
};
/**
* @param {?proto.ml_pipelines.DagSpec|undefined} value
* @return {!proto.ml_pipelines.ComponentSpec} returns this
*/
proto.ml_pipelines.ComponentSpec.prototype.setDag = function(value) {
return jspb.Message.setOneofWrapperField(this, 3, proto.ml_pipelines.ComponentSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ComponentSpec} returns this
*/
proto.ml_pipelines.ComponentSpec.prototype.clearDag = function() {
return this.setDag(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ComponentSpec.prototype.hasDag = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string executor_label = 4;
* @return {string}
*/
proto.ml_pipelines.ComponentSpec.prototype.getExecutorLabel = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ComponentSpec} returns this
*/
proto.ml_pipelines.ComponentSpec.prototype.setExecutorLabel = function(value) {
return jspb.Message.setOneofField(this, 4, proto.ml_pipelines.ComponentSpec.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.ComponentSpec} returns this
*/
proto.ml_pipelines.ComponentSpec.prototype.clearExecutorLabel = function() {
return jspb.Message.setOneofField(this, 4, proto.ml_pipelines.ComponentSpec.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ComponentSpec.prototype.hasExecutorLabel = function() {
return jspb.Message.getField(this, 4) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.DagSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.DagSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.DagSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagSpec.toObject = function(includeInstance, msg) {
var f, obj = {
tasksMap: (f = msg.getTasksMap()) ? f.toObject(includeInstance, proto.ml_pipelines.PipelineTaskSpec.toObject) : [],
outputs: (f = msg.getOutputs()) && proto.ml_pipelines.DagOutputsSpec.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.DagSpec}
*/
proto.ml_pipelines.DagSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.DagSpec;
return proto.ml_pipelines.DagSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.DagSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.DagSpec}
*/
proto.ml_pipelines.DagSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getTasksMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.PipelineTaskSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.PipelineTaskSpec());
});
break;
case 2:
var value = new proto.ml_pipelines.DagOutputsSpec;
reader.readMessage(value,proto.ml_pipelines.DagOutputsSpec.deserializeBinaryFromReader);
msg.setOutputs(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.DagSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.DagSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.DagSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTasksMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.PipelineTaskSpec.serializeBinaryToWriter);
}
f = message.getOutputs();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.DagOutputsSpec.serializeBinaryToWriter
);
}
};
/**
* map<string, PipelineTaskSpec> tasks = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.PipelineTaskSpec>}
*/
proto.ml_pipelines.DagSpec.prototype.getTasksMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.PipelineTaskSpec>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.PipelineTaskSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.DagSpec} returns this
*/
proto.ml_pipelines.DagSpec.prototype.clearTasksMap = function() {
this.getTasksMap().clear();
return this;};
/**
* optional DagOutputsSpec outputs = 2;
* @return {?proto.ml_pipelines.DagOutputsSpec}
*/
proto.ml_pipelines.DagSpec.prototype.getOutputs = function() {
return /** @type{?proto.ml_pipelines.DagOutputsSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.DagOutputsSpec, 2));
};
/**
* @param {?proto.ml_pipelines.DagOutputsSpec|undefined} value
* @return {!proto.ml_pipelines.DagSpec} returns this
*/
proto.ml_pipelines.DagSpec.prototype.setOutputs = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.DagSpec} returns this
*/
proto.ml_pipelines.DagSpec.prototype.clearOutputs = function() {
return this.setOutputs(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.DagSpec.prototype.hasOutputs = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.DagOutputsSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.DagOutputsSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.DagOutputsSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsMap: (f = msg.getArtifactsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.toObject) : [],
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.DagOutputsSpec}
*/
proto.ml_pipelines.DagOutputsSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.DagOutputsSpec;
return proto.ml_pipelines.DagOutputsSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.DagOutputsSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.DagOutputsSpec}
*/
proto.ml_pipelines.DagOutputsSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getArtifactsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec());
});
break;
case 2:
var value = msg.getParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.DagOutputsSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.DagOutputsSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.DagOutputsSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.serializeBinaryToWriter);
}
f = message.getParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.serializeBinaryToWriter);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.toObject = function(includeInstance, msg) {
var f, obj = {
producerSubtask: jspb.Message.getFieldWithDefault(msg, 1, ""),
outputArtifactKey: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec}
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec;
return proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec}
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setProducerSubtask(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setOutputArtifactKey(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getProducerSubtask();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getOutputArtifactKey();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string producer_subtask = 1;
* @return {string}
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.prototype.getProducerSubtask = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.prototype.setProducerSubtask = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string output_artifact_key = 2;
* @return {string}
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.prototype.getOutputArtifactKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.prototype.setOutputArtifactKey = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.toObject = function(includeInstance, msg) {
var f, obj = {
artifactSelectorsList: jspb.Message.toObjectList(msg.getArtifactSelectorsList(),
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec;
return proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec;
reader.readMessage(value,proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.deserializeBinaryFromReader);
msg.addArtifactSelectors(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactSelectorsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec.serializeBinaryToWriter
);
}
};
/**
* repeated ArtifactSelectorSpec artifact_selectors = 1;
* @return {!Array<!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec>}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.prototype.getArtifactSelectorsList = function() {
return /** @type{!Array<!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec, 1));
};
/**
* @param {!Array<!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec>} value
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.prototype.setArtifactSelectorsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.prototype.addArtifactSelectors = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_pipelines.DagOutputsSpec.ArtifactSelectorSpec, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec.prototype.clearArtifactSelectorsList = function() {
return this.setArtifactSelectorsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.toObject = function(includeInstance, msg) {
var f, obj = {
producerSubtask: jspb.Message.getFieldWithDefault(msg, 1, ""),
outputParameterKey: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec;
return proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setProducerSubtask(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setOutputParameterKey(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getProducerSubtask();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getOutputParameterKey();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string producer_subtask = 1;
* @return {string}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.prototype.getProducerSubtask = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.prototype.setProducerSubtask = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string output_parameter_key = 2;
* @return {string}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.prototype.getOutputParameterKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.prototype.setOutputParameterKey = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.toObject = function(includeInstance, msg) {
var f, obj = {
parameterSelectorsList: jspb.Message.toObjectList(msg.getParameterSelectorsList(),
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec;
return proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec;
reader.readMessage(value,proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.deserializeBinaryFromReader);
msg.addParameterSelectors(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParameterSelectorsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.serializeBinaryToWriter
);
}
};
/**
* repeated ParameterSelectorSpec parameter_selectors = 1;
* @return {!Array<!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec>}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.prototype.getParameterSelectorsList = function() {
return /** @type{!Array<!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec, 1));
};
/**
* @param {!Array<!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec>} value
* @return {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.prototype.setParameterSelectorsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec}
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.prototype.addParameterSelectors = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.prototype.clearParameterSelectorsList = function() {
return this.setParameterSelectorsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.toObject = function(includeInstance, msg) {
var f, obj = {
mappedParametersMap: (f = msg.getMappedParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec}
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec;
return proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec}
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 2:
var value = msg.getMappedParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getMappedParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.serializeBinaryToWriter);
}
};
/**
* map<string, ParameterSelectorSpec> mapped_parameters = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec>}
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.prototype.getMappedParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.MapParameterSelectorsSpec.prototype.clearMappedParametersMap = function() {
this.getMappedParametersMap().clear();
return this;};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.KindCase = {
KIND_NOT_SET: 0,
VALUE_FROM_PARAMETER: 1,
VALUE_FROM_ONEOF: 2
};
/**
* @return {proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.KindCase}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.getKindCase = function() {
return /** @type {proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.KindCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.toObject = function(includeInstance, msg) {
var f, obj = {
valueFromParameter: (f = msg.getValueFromParameter()) && proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.toObject(includeInstance, f),
valueFromOneof: (f = msg.getValueFromOneof()) && proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec;
return proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec;
reader.readMessage(value,proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.deserializeBinaryFromReader);
msg.setValueFromParameter(value);
break;
case 2:
var value = new proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec;
reader.readMessage(value,proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.deserializeBinaryFromReader);
msg.setValueFromOneof(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getValueFromParameter();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec.serializeBinaryToWriter
);
}
f = message.getValueFromOneof();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec.serializeBinaryToWriter
);
}
};
/**
* optional ParameterSelectorSpec value_from_parameter = 1;
* @return {?proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.getValueFromParameter = function() {
return /** @type{?proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec, 1));
};
/**
* @param {?proto.ml_pipelines.DagOutputsSpec.ParameterSelectorSpec|undefined} value
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.setValueFromParameter = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.clearValueFromParameter = function() {
return this.setValueFromParameter(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.hasValueFromParameter = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ParameterSelectorsSpec value_from_oneof = 2;
* @return {?proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.getValueFromOneof = function() {
return /** @type{?proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec, 2));
};
/**
* @param {?proto.ml_pipelines.DagOutputsSpec.ParameterSelectorsSpec|undefined} value
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.setValueFromOneof = function(value) {
return jspb.Message.setOneofWrapperField(this, 2, proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.clearValueFromOneof = function() {
return this.setValueFromOneof(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec.prototype.hasValueFromOneof = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* map<string, DagOutputArtifactSpec> artifacts = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec>}
*/
proto.ml_pipelines.DagOutputsSpec.prototype.getArtifactsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.DagOutputsSpec.DagOutputArtifactSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.DagOutputsSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.prototype.clearArtifactsMap = function() {
this.getArtifactsMap().clear();
return this;};
/**
* map<string, DagOutputParameterSpec> parameters = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec>}
*/
proto.ml_pipelines.DagOutputsSpec.prototype.getParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.DagOutputsSpec.DagOutputParameterSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.DagOutputsSpec} returns this
*/
proto.ml_pipelines.DagOutputsSpec.prototype.clearParametersMap = function() {
this.getParametersMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ComponentInputsSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ComponentInputsSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ComponentInputsSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentInputsSpec.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsMap: (f = msg.getArtifactsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.toObject) : [],
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ComponentInputsSpec}
*/
proto.ml_pipelines.ComponentInputsSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ComponentInputsSpec;
return proto.ml_pipelines.ComponentInputsSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ComponentInputsSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ComponentInputsSpec}
*/
proto.ml_pipelines.ComponentInputsSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getArtifactsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec());
});
break;
case 2:
var value = msg.getParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.ComponentInputsSpec.ParameterSpec());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ComponentInputsSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ComponentInputsSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ComponentInputsSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentInputsSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.serializeBinaryToWriter);
}
f = message.getParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.serializeBinaryToWriter);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.toObject = function(includeInstance, msg) {
var f, obj = {
artifactType: (f = msg.getArtifactType()) && proto.ml_pipelines.ArtifactTypeSchema.toObject(includeInstance, f),
isArtifactList: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
isOptional: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
description: jspb.Message.getFieldWithDefault(msg, 4, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec}
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec;
return proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec}
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.ArtifactTypeSchema;
reader.readMessage(value,proto.ml_pipelines.ArtifactTypeSchema.deserializeBinaryFromReader);
msg.setArtifactType(value);
break;
case 2:
var value = /** @type {boolean} */ (reader.readBool());
msg.setIsArtifactList(value);
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setIsOptional(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactType();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.ArtifactTypeSchema.serializeBinaryToWriter
);
}
f = message.getIsArtifactList();
if (f) {
writer.writeBool(
2,
f
);
}
f = message.getIsOptional();
if (f) {
writer.writeBool(
3,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
};
/**
* optional ArtifactTypeSchema artifact_type = 1;
* @return {?proto.ml_pipelines.ArtifactTypeSchema}
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.getArtifactType = function() {
return /** @type{?proto.ml_pipelines.ArtifactTypeSchema} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ArtifactTypeSchema, 1));
};
/**
* @param {?proto.ml_pipelines.ArtifactTypeSchema|undefined} value
* @return {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.setArtifactType = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.clearArtifactType = function() {
return this.setArtifactType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.hasArtifactType = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bool is_artifact_list = 2;
* @return {boolean}
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.getIsArtifactList = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.setIsArtifactList = function(value) {
return jspb.Message.setProto3BooleanField(this, 2, value);
};
/**
* optional bool is_optional = 3;
* @return {boolean}
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.getIsOptional = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.setIsOptional = function(value) {
return jspb.Message.setProto3BooleanField(this, 3, value);
};
/**
* optional string description = 4;
* @return {string}
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.toObject = function(includeInstance, msg) {
var f, obj = {
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
parameterType: jspb.Message.getFieldWithDefault(msg, 2, 0),
defaultValue: (f = msg.getDefaultValue()) && google_protobuf_struct_pb.Value.toObject(includeInstance, f),
isOptional: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
description: jspb.Message.getFieldWithDefault(msg, 5, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ComponentInputsSpec.ParameterSpec;
return proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} */ (reader.readEnum());
msg.setType(value);
break;
case 2:
var value = /** @type {!proto.ml_pipelines.ParameterType.ParameterTypeEnum} */ (reader.readEnum());
msg.setParameterType(value);
break;
case 3:
var value = new google_protobuf_struct_pb.Value;
reader.readMessage(value,google_protobuf_struct_pb.Value.deserializeBinaryFromReader);
msg.setDefaultValue(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setIsOptional(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getType();
if (f !== 0.0) {
writer.writeEnum(
1,
f
);
}
f = message.getParameterType();
if (f !== 0.0) {
writer.writeEnum(
2,
f
);
}
f = message.getDefaultValue();
if (f != null) {
writer.writeMessage(
3,
f,
google_protobuf_struct_pb.Value.serializeBinaryToWriter
);
}
f = message.getIsOptional();
if (f) {
writer.writeBool(
4,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
5,
f
);
}
};
/**
* optional PrimitiveType.PrimitiveTypeEnum type = 1;
* @return {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.getType = function() {
return /** @type {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} value
* @return {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.setType = function(value) {
return jspb.Message.setProto3EnumField(this, 1, value);
};
/**
* optional ParameterType.ParameterTypeEnum parameter_type = 2;
* @return {!proto.ml_pipelines.ParameterType.ParameterTypeEnum}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.getParameterType = function() {
return /** @type {!proto.ml_pipelines.ParameterType.ParameterTypeEnum} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {!proto.ml_pipelines.ParameterType.ParameterTypeEnum} value
* @return {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.setParameterType = function(value) {
return jspb.Message.setProto3EnumField(this, 2, value);
};
/**
* optional google.protobuf.Value default_value = 3;
* @return {?proto.google.protobuf.Value}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.getDefaultValue = function() {
return /** @type{?proto.google.protobuf.Value} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Value, 3));
};
/**
* @param {?proto.google.protobuf.Value|undefined} value
* @return {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.setDefaultValue = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.clearDefaultValue = function() {
return this.setDefaultValue(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.hasDefaultValue = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional bool is_optional = 4;
* @return {boolean}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.getIsOptional = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.setIsOptional = function(value) {
return jspb.Message.setProto3BooleanField(this, 4, value);
};
/**
* optional string description = 5;
* @return {string}
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 5, value);
};
/**
* map<string, ArtifactSpec> artifacts = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec>}
*/
proto.ml_pipelines.ComponentInputsSpec.prototype.getArtifactsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.ComponentInputsSpec.ArtifactSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ComponentInputsSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.prototype.clearArtifactsMap = function() {
this.getArtifactsMap().clear();
return this;};
/**
* map<string, ParameterSpec> parameters = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec>}
*/
proto.ml_pipelines.ComponentInputsSpec.prototype.getParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ComponentInputsSpec.ParameterSpec>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.ComponentInputsSpec.ParameterSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ComponentInputsSpec} returns this
*/
proto.ml_pipelines.ComponentInputsSpec.prototype.clearParametersMap = function() {
this.getParametersMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ComponentOutputsSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ComponentOutputsSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ComponentOutputsSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentOutputsSpec.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsMap: (f = msg.getArtifactsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.toObject) : [],
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ComponentOutputsSpec}
*/
proto.ml_pipelines.ComponentOutputsSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ComponentOutputsSpec;
return proto.ml_pipelines.ComponentOutputsSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ComponentOutputsSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ComponentOutputsSpec}
*/
proto.ml_pipelines.ComponentOutputsSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getArtifactsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec());
});
break;
case 2:
var value = msg.getParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ComponentOutputsSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ComponentOutputsSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ComponentOutputsSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentOutputsSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.serializeBinaryToWriter);
}
f = message.getParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.serializeBinaryToWriter);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.toObject = function(includeInstance, msg) {
var f, obj = {
artifactType: (f = msg.getArtifactType()) && proto.ml_pipelines.ArtifactTypeSchema.toObject(includeInstance, f),
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ValueOrRuntimeParameter.toObject) : [],
customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ValueOrRuntimeParameter.toObject) : [],
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
isArtifactList: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
description: jspb.Message.getFieldWithDefault(msg, 6, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec;
return proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.ArtifactTypeSchema;
reader.readMessage(value,proto.ml_pipelines.ArtifactTypeSchema.deserializeBinaryFromReader);
msg.setArtifactType(value);
break;
case 2:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader, "", new proto.ml_pipelines.ValueOrRuntimeParameter());
});
break;
case 3:
var value = msg.getCustomPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader, "", new proto.ml_pipelines.ValueOrRuntimeParameter());
});
break;
case 4:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setMetadata(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setIsArtifactList(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactType();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.ArtifactTypeSchema.serializeBinaryToWriter
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter);
}
f = message.getCustomPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter);
}
f = message.getMetadata();
if (f != null) {
writer.writeMessage(
4,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
f = message.getIsArtifactList();
if (f) {
writer.writeBool(
5,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
6,
f
);
}
};
/**
* optional ArtifactTypeSchema artifact_type = 1;
* @return {?proto.ml_pipelines.ArtifactTypeSchema}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.getArtifactType = function() {
return /** @type{?proto.ml_pipelines.ArtifactTypeSchema} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ArtifactTypeSchema, 1));
};
/**
* @param {?proto.ml_pipelines.ArtifactTypeSchema|undefined} value
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.setArtifactType = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.clearArtifactType = function() {
return this.setArtifactType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.hasArtifactType = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* map<string, ValueOrRuntimeParameter> properties = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.ValueOrRuntimeParameter));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* map<string, ValueOrRuntimeParameter> custom_properties = 3;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.getCustomPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
proto.ml_pipelines.ValueOrRuntimeParameter));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.clearCustomPropertiesMap = function() {
this.getCustomPropertiesMap().clear();
return this;};
/**
* optional google.protobuf.Struct metadata = 4;
* @return {?proto.google.protobuf.Struct}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.getMetadata = function() {
return /** @type{?proto.google.protobuf.Struct} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 4));
};
/**
* @param {?proto.google.protobuf.Struct|undefined} value
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.setMetadata = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.clearMetadata = function() {
return this.setMetadata(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.hasMetadata = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional bool is_artifact_list = 5;
* @return {boolean}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.getIsArtifactList = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.setIsArtifactList = function(value) {
return jspb.Message.setProto3BooleanField(this, 5, value);
};
/**
* optional string description = 6;
* @return {string}
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 6, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.toObject = function(includeInstance, msg) {
var f, obj = {
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
parameterType: jspb.Message.getFieldWithDefault(msg, 2, 0),
description: jspb.Message.getFieldWithDefault(msg, 3, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec}
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec;
return proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec}
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} */ (reader.readEnum());
msg.setType(value);
break;
case 2:
var value = /** @type {!proto.ml_pipelines.ParameterType.ParameterTypeEnum} */ (reader.readEnum());
msg.setParameterType(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getType();
if (f !== 0.0) {
writer.writeEnum(
1,
f
);
}
f = message.getParameterType();
if (f !== 0.0) {
writer.writeEnum(
2,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
};
/**
* optional PrimitiveType.PrimitiveTypeEnum type = 1;
* @return {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum}
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.prototype.getType = function() {
return /** @type {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} value
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.prototype.setType = function(value) {
return jspb.Message.setProto3EnumField(this, 1, value);
};
/**
* optional ParameterType.ParameterTypeEnum parameter_type = 2;
* @return {!proto.ml_pipelines.ParameterType.ParameterTypeEnum}
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.prototype.getParameterType = function() {
return /** @type {!proto.ml_pipelines.ParameterType.ParameterTypeEnum} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {!proto.ml_pipelines.ParameterType.ParameterTypeEnum} value
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.prototype.setParameterType = function(value) {
return jspb.Message.setProto3EnumField(this, 2, value);
};
/**
* optional string description = 3;
* @return {string}
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* map<string, ArtifactSpec> artifacts = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec>}
*/
proto.ml_pipelines.ComponentOutputsSpec.prototype.getArtifactsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.ComponentOutputsSpec.ArtifactSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ComponentOutputsSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.prototype.clearArtifactsMap = function() {
this.getArtifactsMap().clear();
return this;};
/**
* map<string, ParameterSpec> parameters = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec>}
*/
proto.ml_pipelines.ComponentOutputsSpec.prototype.getParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.ComponentOutputsSpec.ParameterSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ComponentOutputsSpec} returns this
*/
proto.ml_pipelines.ComponentOutputsSpec.prototype.clearParametersMap = function() {
this.getParametersMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.TaskInputsSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.TaskInputsSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.TaskInputsSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.toObject = function(includeInstance, msg) {
var f, obj = {
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.toObject) : [],
artifactsMap: (f = msg.getArtifactsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.TaskInputsSpec}
*/
proto.ml_pipelines.TaskInputsSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.TaskInputsSpec;
return proto.ml_pipelines.TaskInputsSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.TaskInputsSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.TaskInputsSpec}
*/
proto.ml_pipelines.TaskInputsSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.TaskInputsSpec.InputParameterSpec());
});
break;
case 2:
var value = msg.getArtifactsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.TaskInputsSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.TaskInputsSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.TaskInputsSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.serializeBinaryToWriter);
}
f = message.getArtifactsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.serializeBinaryToWriter);
}
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.oneofGroups_ = [[3,4]];
/**
* @enum {number}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.KindCase = {
KIND_NOT_SET: 0,
TASK_OUTPUT_ARTIFACT: 3,
COMPONENT_INPUT_ARTIFACT: 4
};
/**
* @return {proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.KindCase}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.getKindCase = function() {
return /** @type {proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.KindCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.toObject = function(includeInstance, msg) {
var f, obj = {
taskOutputArtifact: (f = msg.getTaskOutputArtifact()) && proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.toObject(includeInstance, f),
componentInputArtifact: jspb.Message.getFieldWithDefault(msg, 4, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec;
return proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 3:
var value = new proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec;
reader.readMessage(value,proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.deserializeBinaryFromReader);
msg.setTaskOutputArtifact(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setComponentInputArtifact(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTaskOutputArtifact();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(
4,
f
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.toObject = function(includeInstance, msg) {
var f, obj = {
producerTask: jspb.Message.getFieldWithDefault(msg, 1, ""),
outputArtifactKey: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec;
return proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setProducerTask(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setOutputArtifactKey(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getProducerTask();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getOutputArtifactKey();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string producer_task = 1;
* @return {string}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.prototype.getProducerTask = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.prototype.setProducerTask = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string output_artifact_key = 2;
* @return {string}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.prototype.getOutputArtifactKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec.prototype.setOutputArtifactKey = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional TaskOutputArtifactSpec task_output_artifact = 3;
* @return {?proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.getTaskOutputArtifact = function() {
return /** @type{?proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec, 3));
};
/**
* @param {?proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.TaskOutputArtifactSpec|undefined} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.setTaskOutputArtifact = function(value) {
return jspb.Message.setOneofWrapperField(this, 3, proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.clearTaskOutputArtifact = function() {
return this.setTaskOutputArtifact(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.hasTaskOutputArtifact = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string component_input_artifact = 4;
* @return {string}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.getComponentInputArtifact = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.setComponentInputArtifact = function(value) {
return jspb.Message.setOneofField(this, 4, proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.clearComponentInputArtifact = function() {
return jspb.Message.setOneofField(this, 4, proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec.prototype.hasComponentInputArtifact = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.oneofGroups_ = [[1,2,3,5]];
/**
* @enum {number}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.KindCase = {
KIND_NOT_SET: 0,
TASK_OUTPUT_PARAMETER: 1,
RUNTIME_VALUE: 2,
COMPONENT_INPUT_PARAMETER: 3,
TASK_FINAL_STATUS: 5
};
/**
* @return {proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.KindCase}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.getKindCase = function() {
return /** @type {proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.KindCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.toObject = function(includeInstance, msg) {
var f, obj = {
taskOutputParameter: (f = msg.getTaskOutputParameter()) && proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.toObject(includeInstance, f),
runtimeValue: (f = msg.getRuntimeValue()) && proto.ml_pipelines.ValueOrRuntimeParameter.toObject(includeInstance, f),
componentInputParameter: jspb.Message.getFieldWithDefault(msg, 3, ""),
taskFinalStatus: (f = msg.getTaskFinalStatus()) && proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.toObject(includeInstance, f),
parameterExpressionSelector: jspb.Message.getFieldWithDefault(msg, 4, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.TaskInputsSpec.InputParameterSpec;
return proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec;
reader.readMessage(value,proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.deserializeBinaryFromReader);
msg.setTaskOutputParameter(value);
break;
case 2:
var value = new proto.ml_pipelines.ValueOrRuntimeParameter;
reader.readMessage(value,proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader);
msg.setRuntimeValue(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setComponentInputParameter(value);
break;
case 5:
var value = new proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus;
reader.readMessage(value,proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.deserializeBinaryFromReader);
msg.setTaskFinalStatus(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setParameterExpressionSelector(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTaskOutputParameter();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.serializeBinaryToWriter
);
}
f = message.getRuntimeValue();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = message.getTaskFinalStatus();
if (f != null) {
writer.writeMessage(
5,
f,
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.serializeBinaryToWriter
);
}
f = message.getParameterExpressionSelector();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.toObject = function(includeInstance, msg) {
var f, obj = {
producerTask: jspb.Message.getFieldWithDefault(msg, 1, ""),
outputParameterKey: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec;
return proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setProducerTask(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setOutputParameterKey(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getProducerTask();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getOutputParameterKey();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string producer_task = 1;
* @return {string}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.prototype.getProducerTask = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.prototype.setProducerTask = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string output_parameter_key = 2;
* @return {string}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.prototype.getOutputParameterKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec.prototype.setOutputParameterKey = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.toObject = function(includeInstance, msg) {
var f, obj = {
producerTask: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus;
return proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setProducerTask(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getProducerTask();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string producer_task = 1;
* @return {string}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.prototype.getProducerTask = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus.prototype.setProducerTask = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional TaskOutputParameterSpec task_output_parameter = 1;
* @return {?proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.getTaskOutputParameter = function() {
return /** @type{?proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec, 1));
};
/**
* @param {?proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskOutputParameterSpec|undefined} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.setTaskOutputParameter = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.clearTaskOutputParameter = function() {
return this.setTaskOutputParameter(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.hasTaskOutputParameter = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ValueOrRuntimeParameter runtime_value = 2;
* @return {?proto.ml_pipelines.ValueOrRuntimeParameter}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.getRuntimeValue = function() {
return /** @type{?proto.ml_pipelines.ValueOrRuntimeParameter} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ValueOrRuntimeParameter, 2));
};
/**
* @param {?proto.ml_pipelines.ValueOrRuntimeParameter|undefined} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.setRuntimeValue = function(value) {
return jspb.Message.setOneofWrapperField(this, 2, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.clearRuntimeValue = function() {
return this.setRuntimeValue(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.hasRuntimeValue = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string component_input_parameter = 3;
* @return {string}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.getComponentInputParameter = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.setComponentInputParameter = function(value) {
return jspb.Message.setOneofField(this, 3, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.clearComponentInputParameter = function() {
return jspb.Message.setOneofField(this, 3, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.hasComponentInputParameter = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional TaskFinalStatus task_final_status = 5;
* @return {?proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.getTaskFinalStatus = function() {
return /** @type{?proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus, 5));
};
/**
* @param {?proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.TaskFinalStatus|undefined} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.setTaskFinalStatus = function(value) {
return jspb.Message.setOneofWrapperField(this, 5, proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.clearTaskFinalStatus = function() {
return this.setTaskFinalStatus(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.hasTaskFinalStatus = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional string parameter_expression_selector = 4;
* @return {string}
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.getParameterExpressionSelector = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec.prototype.setParameterExpressionSelector = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* map<string, InputParameterSpec> parameters = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec>}
*/
proto.ml_pipelines.TaskInputsSpec.prototype.getParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.TaskInputsSpec.InputParameterSpec>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.TaskInputsSpec.InputParameterSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.TaskInputsSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.prototype.clearParametersMap = function() {
this.getParametersMap().clear();
return this;};
/**
* map<string, InputArtifactSpec> artifacts = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec>}
*/
proto.ml_pipelines.TaskInputsSpec.prototype.getArtifactsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.TaskInputsSpec.InputArtifactSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.TaskInputsSpec} returns this
*/
proto.ml_pipelines.TaskInputsSpec.prototype.clearArtifactsMap = function() {
this.getArtifactsMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.TaskOutputsSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.TaskOutputsSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.TaskOutputsSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskOutputsSpec.toObject = function(includeInstance, msg) {
var f, obj = {
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.toObject) : [],
artifactsMap: (f = msg.getArtifactsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.TaskOutputsSpec}
*/
proto.ml_pipelines.TaskOutputsSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.TaskOutputsSpec;
return proto.ml_pipelines.TaskOutputsSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.TaskOutputsSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.TaskOutputsSpec}
*/
proto.ml_pipelines.TaskOutputsSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec());
});
break;
case 2:
var value = msg.getArtifactsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.TaskOutputsSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.TaskOutputsSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.TaskOutputsSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskOutputsSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.serializeBinaryToWriter);
}
f = message.getArtifactsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.serializeBinaryToWriter);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.toObject = function(includeInstance, msg) {
var f, obj = {
artifactType: (f = msg.getArtifactType()) && proto.ml_pipelines.ArtifactTypeSchema.toObject(includeInstance, f),
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ValueOrRuntimeParameter.toObject) : [],
customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ValueOrRuntimeParameter.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec;
return proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.ArtifactTypeSchema;
reader.readMessage(value,proto.ml_pipelines.ArtifactTypeSchema.deserializeBinaryFromReader);
msg.setArtifactType(value);
break;
case 2:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader, "", new proto.ml_pipelines.ValueOrRuntimeParameter());
});
break;
case 3:
var value = msg.getCustomPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader, "", new proto.ml_pipelines.ValueOrRuntimeParameter());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactType();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.ArtifactTypeSchema.serializeBinaryToWriter
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter);
}
f = message.getCustomPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter);
}
};
/**
* optional ArtifactTypeSchema artifact_type = 1;
* @return {?proto.ml_pipelines.ArtifactTypeSchema}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.getArtifactType = function() {
return /** @type{?proto.ml_pipelines.ArtifactTypeSchema} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ArtifactTypeSchema, 1));
};
/**
* @param {?proto.ml_pipelines.ArtifactTypeSchema|undefined} value
* @return {!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.setArtifactType = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.clearArtifactType = function() {
return this.setArtifactType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.hasArtifactType = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* map<string, ValueOrRuntimeParameter> properties = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.ValueOrRuntimeParameter));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* map<string, ValueOrRuntimeParameter> custom_properties = 3;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.getCustomPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
proto.ml_pipelines.ValueOrRuntimeParameter));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec} returns this
*/
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec.prototype.clearCustomPropertiesMap = function() {
this.getCustomPropertiesMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.toObject = function(includeInstance, msg) {
var f, obj = {
type: jspb.Message.getFieldWithDefault(msg, 1, 0)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec;
return proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} */ (reader.readEnum());
msg.setType(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getType();
if (f !== 0.0) {
writer.writeEnum(
1,
f
);
}
};
/**
* optional PrimitiveType.PrimitiveTypeEnum type = 1;
* @return {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum}
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.prototype.getType = function() {
return /** @type {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {!proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum} value
* @return {!proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec} returns this
*/
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec.prototype.setType = function(value) {
return jspb.Message.setProto3EnumField(this, 1, value);
};
/**
* map<string, OutputParameterSpec> parameters = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec>}
*/
proto.ml_pipelines.TaskOutputsSpec.prototype.getParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.TaskOutputsSpec.OutputParameterSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.TaskOutputsSpec} returns this
*/
proto.ml_pipelines.TaskOutputsSpec.prototype.clearParametersMap = function() {
this.getParametersMap().clear();
return this;};
/**
* map<string, OutputArtifactSpec> artifacts = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec>}
*/
proto.ml_pipelines.TaskOutputsSpec.prototype.getArtifactsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.TaskOutputsSpec.OutputArtifactSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.TaskOutputsSpec} returns this
*/
proto.ml_pipelines.TaskOutputsSpec.prototype.clearArtifactsMap = function() {
this.getArtifactsMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PrimitiveType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PrimitiveType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PrimitiveType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PrimitiveType.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PrimitiveType}
*/
proto.ml_pipelines.PrimitiveType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PrimitiveType;
return proto.ml_pipelines.PrimitiveType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PrimitiveType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PrimitiveType}
*/
proto.ml_pipelines.PrimitiveType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PrimitiveType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PrimitiveType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PrimitiveType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PrimitiveType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
/**
* @enum {number}
*/
proto.ml_pipelines.PrimitiveType.PrimitiveTypeEnum = {
PRIMITIVE_TYPE_UNSPECIFIED: 0,
INT: 1,
DOUBLE: 2,
STRING: 3
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ParameterType.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ParameterType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ParameterType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ParameterType.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ParameterType}
*/
proto.ml_pipelines.ParameterType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ParameterType;
return proto.ml_pipelines.ParameterType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ParameterType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ParameterType}
*/
proto.ml_pipelines.ParameterType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ParameterType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ParameterType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ParameterType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ParameterType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
/**
* @enum {number}
*/
proto.ml_pipelines.ParameterType.ParameterTypeEnum = {
PARAMETER_TYPE_ENUM_UNSPECIFIED: 0,
NUMBER_DOUBLE: 1,
NUMBER_INTEGER: 2,
STRING: 3,
BOOLEAN: 4,
LIST: 5,
STRUCT: 6,
TASK_FINAL_STATUS: 7
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_pipelines.PipelineTaskSpec.repeatedFields_ = [5];
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.PipelineTaskSpec.oneofGroups_ = [[9,10]];
/**
* @enum {number}
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorCase = {
ITERATOR_NOT_SET: 0,
ARTIFACT_ITERATOR: 9,
PARAMETER_ITERATOR: 10
};
/**
* @return {proto.ml_pipelines.PipelineTaskSpec.IteratorCase}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getIteratorCase = function() {
return /** @type {proto.ml_pipelines.PipelineTaskSpec.IteratorCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.PipelineTaskSpec.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineTaskSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineTaskSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.toObject = function(includeInstance, msg) {
var f, obj = {
taskInfo: (f = msg.getTaskInfo()) && proto.ml_pipelines.PipelineTaskInfo.toObject(includeInstance, f),
inputs: (f = msg.getInputs()) && proto.ml_pipelines.TaskInputsSpec.toObject(includeInstance, f),
dependentTasksList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
cachingOptions: (f = msg.getCachingOptions()) && proto.ml_pipelines.PipelineTaskSpec.CachingOptions.toObject(includeInstance, f),
componentRef: (f = msg.getComponentRef()) && proto.ml_pipelines.ComponentRef.toObject(includeInstance, f),
triggerPolicy: (f = msg.getTriggerPolicy()) && proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.toObject(includeInstance, f),
artifactIterator: (f = msg.getArtifactIterator()) && proto.ml_pipelines.ArtifactIteratorSpec.toObject(includeInstance, f),
parameterIterator: (f = msg.getParameterIterator()) && proto.ml_pipelines.ParameterIteratorSpec.toObject(includeInstance, f),
retryPolicy: (f = msg.getRetryPolicy()) && proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.toObject(includeInstance, f),
iteratorPolicy: (f = msg.getIteratorPolicy()) && proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineTaskSpec}
*/
proto.ml_pipelines.PipelineTaskSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineTaskSpec;
return proto.ml_pipelines.PipelineTaskSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineTaskSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineTaskSpec}
*/
proto.ml_pipelines.PipelineTaskSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.PipelineTaskInfo;
reader.readMessage(value,proto.ml_pipelines.PipelineTaskInfo.deserializeBinaryFromReader);
msg.setTaskInfo(value);
break;
case 2:
var value = new proto.ml_pipelines.TaskInputsSpec;
reader.readMessage(value,proto.ml_pipelines.TaskInputsSpec.deserializeBinaryFromReader);
msg.setInputs(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.addDependentTasks(value);
break;
case 6:
var value = new proto.ml_pipelines.PipelineTaskSpec.CachingOptions;
reader.readMessage(value,proto.ml_pipelines.PipelineTaskSpec.CachingOptions.deserializeBinaryFromReader);
msg.setCachingOptions(value);
break;
case 7:
var value = new proto.ml_pipelines.ComponentRef;
reader.readMessage(value,proto.ml_pipelines.ComponentRef.deserializeBinaryFromReader);
msg.setComponentRef(value);
break;
case 8:
var value = new proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy;
reader.readMessage(value,proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.deserializeBinaryFromReader);
msg.setTriggerPolicy(value);
break;
case 9:
var value = new proto.ml_pipelines.ArtifactIteratorSpec;
reader.readMessage(value,proto.ml_pipelines.ArtifactIteratorSpec.deserializeBinaryFromReader);
msg.setArtifactIterator(value);
break;
case 10:
var value = new proto.ml_pipelines.ParameterIteratorSpec;
reader.readMessage(value,proto.ml_pipelines.ParameterIteratorSpec.deserializeBinaryFromReader);
msg.setParameterIterator(value);
break;
case 11:
var value = new proto.ml_pipelines.PipelineTaskSpec.RetryPolicy;
reader.readMessage(value,proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.deserializeBinaryFromReader);
msg.setRetryPolicy(value);
break;
case 12:
var value = new proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy;
reader.readMessage(value,proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.deserializeBinaryFromReader);
msg.setIteratorPolicy(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineTaskSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineTaskSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getTaskInfo();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.PipelineTaskInfo.serializeBinaryToWriter
);
}
f = message.getInputs();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.TaskInputsSpec.serializeBinaryToWriter
);
}
f = message.getDependentTasksList();
if (f.length > 0) {
writer.writeRepeatedString(
5,
f
);
}
f = message.getCachingOptions();
if (f != null) {
writer.writeMessage(
6,
f,
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.serializeBinaryToWriter
);
}
f = message.getComponentRef();
if (f != null) {
writer.writeMessage(
7,
f,
proto.ml_pipelines.ComponentRef.serializeBinaryToWriter
);
}
f = message.getTriggerPolicy();
if (f != null) {
writer.writeMessage(
8,
f,
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.serializeBinaryToWriter
);
}
f = message.getArtifactIterator();
if (f != null) {
writer.writeMessage(
9,
f,
proto.ml_pipelines.ArtifactIteratorSpec.serializeBinaryToWriter
);
}
f = message.getParameterIterator();
if (f != null) {
writer.writeMessage(
10,
f,
proto.ml_pipelines.ParameterIteratorSpec.serializeBinaryToWriter
);
}
f = message.getRetryPolicy();
if (f != null) {
writer.writeMessage(
11,
f,
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.serializeBinaryToWriter
);
}
f = message.getIteratorPolicy();
if (f != null) {
writer.writeMessage(
12,
f,
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineTaskSpec.CachingOptions.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineTaskSpec.CachingOptions} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.toObject = function(includeInstance, msg) {
var f, obj = {
enableCache: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineTaskSpec.CachingOptions}
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineTaskSpec.CachingOptions;
return proto.ml_pipelines.PipelineTaskSpec.CachingOptions.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineTaskSpec.CachingOptions} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineTaskSpec.CachingOptions}
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {boolean} */ (reader.readBool());
msg.setEnableCache(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineTaskSpec.CachingOptions} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getEnableCache();
if (f) {
writer.writeBool(
1,
f
);
}
};
/**
* optional bool enable_cache = 1;
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.prototype.getEnableCache = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_pipelines.PipelineTaskSpec.CachingOptions} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.CachingOptions.prototype.setEnableCache = function(value) {
return jspb.Message.setProto3BooleanField(this, 1, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.toObject = function(includeInstance, msg) {
var f, obj = {
condition: jspb.Message.getFieldWithDefault(msg, 1, ""),
strategy: jspb.Message.getFieldWithDefault(msg, 2, 0)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy}
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy;
return proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy}
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setCondition(value);
break;
case 2:
var value = /** @type {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.TriggerStrategy} */ (reader.readEnum());
msg.setStrategy(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCondition();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getStrategy();
if (f !== 0.0) {
writer.writeEnum(
2,
f
);
}
};
/**
* @enum {number}
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.TriggerStrategy = {
TRIGGER_STRATEGY_UNSPECIFIED: 0,
ALL_UPSTREAM_TASKS_SUCCEEDED: 1,
ALL_UPSTREAM_TASKS_COMPLETED: 2
};
/**
* optional string condition = 1;
* @return {string}
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.prototype.getCondition = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.prototype.setCondition = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional TriggerStrategy strategy = 2;
* @return {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.TriggerStrategy}
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.prototype.getStrategy = function() {
return /** @type {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.TriggerStrategy} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.TriggerStrategy} value
* @return {!proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy.prototype.setStrategy = function(value) {
return jspb.Message.setProto3EnumField(this, 2, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.toObject = function(includeInstance, msg) {
var f, obj = {
maxRetryCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
backoffDuration: (f = msg.getBackoffDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f),
backoffFactor: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
backoffMaxDuration: (f = msg.getBackoffMaxDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineTaskSpec.RetryPolicy;
return proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt32());
msg.setMaxRetryCount(value);
break;
case 2:
var value = new google_protobuf_duration_pb.Duration;
reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
msg.setBackoffDuration(value);
break;
case 3:
var value = /** @type {number} */ (reader.readDouble());
msg.setBackoffFactor(value);
break;
case 4:
var value = new google_protobuf_duration_pb.Duration;
reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
msg.setBackoffMaxDuration(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getMaxRetryCount();
if (f !== 0) {
writer.writeInt32(
1,
f
);
}
f = message.getBackoffDuration();
if (f != null) {
writer.writeMessage(
2,
f,
google_protobuf_duration_pb.Duration.serializeBinaryToWriter
);
}
f = message.getBackoffFactor();
if (f !== 0.0) {
writer.writeDouble(
3,
f
);
}
f = message.getBackoffMaxDuration();
if (f != null) {
writer.writeMessage(
4,
f,
google_protobuf_duration_pb.Duration.serializeBinaryToWriter
);
}
};
/**
* optional int32 max_retry_count = 1;
* @return {number}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.getMaxRetryCount = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.setMaxRetryCount = function(value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
/**
* optional google.protobuf.Duration backoff_duration = 2;
* @return {?proto.google.protobuf.Duration}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.getBackoffDuration = function() {
return /** @type{?proto.google.protobuf.Duration} */ (
jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 2));
};
/**
* @param {?proto.google.protobuf.Duration|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.setBackoffDuration = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.clearBackoffDuration = function() {
return this.setBackoffDuration(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.hasBackoffDuration = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional double backoff_factor = 3;
* @return {number}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.getBackoffFactor = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.setBackoffFactor = function(value) {
return jspb.Message.setProto3FloatField(this, 3, value);
};
/**
* optional google.protobuf.Duration backoff_max_duration = 4;
* @return {?proto.google.protobuf.Duration}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.getBackoffMaxDuration = function() {
return /** @type{?proto.google.protobuf.Duration} */ (
jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 4));
};
/**
* @param {?proto.google.protobuf.Duration|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.setBackoffMaxDuration = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.clearBackoffMaxDuration = function() {
return this.setBackoffMaxDuration(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.RetryPolicy.prototype.hasBackoffMaxDuration = function() {
return jspb.Message.getField(this, 4) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.toObject = function(includeInstance, msg) {
var f, obj = {
parallelismLimit: jspb.Message.getFieldWithDefault(msg, 1, 0)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy}
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy;
return proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy}
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt32());
msg.setParallelismLimit(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParallelismLimit();
if (f !== 0) {
writer.writeInt32(
1,
f
);
}
};
/**
* optional int32 parallelism_limit = 1;
* @return {number}
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.prototype.getParallelismLimit = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy.prototype.setParallelismLimit = function(value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
/**
* optional PipelineTaskInfo task_info = 1;
* @return {?proto.ml_pipelines.PipelineTaskInfo}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getTaskInfo = function() {
return /** @type{?proto.ml_pipelines.PipelineTaskInfo} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineTaskInfo, 1));
};
/**
* @param {?proto.ml_pipelines.PipelineTaskInfo|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setTaskInfo = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearTaskInfo = function() {
return this.setTaskInfo(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.hasTaskInfo = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional TaskInputsSpec inputs = 2;
* @return {?proto.ml_pipelines.TaskInputsSpec}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getInputs = function() {
return /** @type{?proto.ml_pipelines.TaskInputsSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.TaskInputsSpec, 2));
};
/**
* @param {?proto.ml_pipelines.TaskInputsSpec|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setInputs = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearInputs = function() {
return this.setInputs(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.hasInputs = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* repeated string dependent_tasks = 5;
* @return {!Array<string>}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getDependentTasksList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setDependentTasksList = function(value) {
return jspb.Message.setField(this, 5, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.addDependentTasks = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearDependentTasksList = function() {
return this.setDependentTasksList([]);
};
/**
* optional CachingOptions caching_options = 6;
* @return {?proto.ml_pipelines.PipelineTaskSpec.CachingOptions}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getCachingOptions = function() {
return /** @type{?proto.ml_pipelines.PipelineTaskSpec.CachingOptions} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineTaskSpec.CachingOptions, 6));
};
/**
* @param {?proto.ml_pipelines.PipelineTaskSpec.CachingOptions|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setCachingOptions = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearCachingOptions = function() {
return this.setCachingOptions(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.hasCachingOptions = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional ComponentRef component_ref = 7;
* @return {?proto.ml_pipelines.ComponentRef}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getComponentRef = function() {
return /** @type{?proto.ml_pipelines.ComponentRef} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ComponentRef, 7));
};
/**
* @param {?proto.ml_pipelines.ComponentRef|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setComponentRef = function(value) {
return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearComponentRef = function() {
return this.setComponentRef(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.hasComponentRef = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional TriggerPolicy trigger_policy = 8;
* @return {?proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getTriggerPolicy = function() {
return /** @type{?proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy, 8));
};
/**
* @param {?proto.ml_pipelines.PipelineTaskSpec.TriggerPolicy|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setTriggerPolicy = function(value) {
return jspb.Message.setWrapperField(this, 8, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearTriggerPolicy = function() {
return this.setTriggerPolicy(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.hasTriggerPolicy = function() {
return jspb.Message.getField(this, 8) != null;
};
/**
* optional ArtifactIteratorSpec artifact_iterator = 9;
* @return {?proto.ml_pipelines.ArtifactIteratorSpec}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getArtifactIterator = function() {
return /** @type{?proto.ml_pipelines.ArtifactIteratorSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ArtifactIteratorSpec, 9));
};
/**
* @param {?proto.ml_pipelines.ArtifactIteratorSpec|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setArtifactIterator = function(value) {
return jspb.Message.setOneofWrapperField(this, 9, proto.ml_pipelines.PipelineTaskSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearArtifactIterator = function() {
return this.setArtifactIterator(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.hasArtifactIterator = function() {
return jspb.Message.getField(this, 9) != null;
};
/**
* optional ParameterIteratorSpec parameter_iterator = 10;
* @return {?proto.ml_pipelines.ParameterIteratorSpec}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getParameterIterator = function() {
return /** @type{?proto.ml_pipelines.ParameterIteratorSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ParameterIteratorSpec, 10));
};
/**
* @param {?proto.ml_pipelines.ParameterIteratorSpec|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setParameterIterator = function(value) {
return jspb.Message.setOneofWrapperField(this, 10, proto.ml_pipelines.PipelineTaskSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearParameterIterator = function() {
return this.setParameterIterator(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.hasParameterIterator = function() {
return jspb.Message.getField(this, 10) != null;
};
/**
* optional RetryPolicy retry_policy = 11;
* @return {?proto.ml_pipelines.PipelineTaskSpec.RetryPolicy}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getRetryPolicy = function() {
return /** @type{?proto.ml_pipelines.PipelineTaskSpec.RetryPolicy} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineTaskSpec.RetryPolicy, 11));
};
/**
* @param {?proto.ml_pipelines.PipelineTaskSpec.RetryPolicy|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setRetryPolicy = function(value) {
return jspb.Message.setWrapperField(this, 11, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearRetryPolicy = function() {
return this.setRetryPolicy(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.hasRetryPolicy = function() {
return jspb.Message.getField(this, 11) != null;
};
/**
* optional IteratorPolicy iterator_policy = 12;
* @return {?proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.getIteratorPolicy = function() {
return /** @type{?proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy, 12));
};
/**
* @param {?proto.ml_pipelines.PipelineTaskSpec.IteratorPolicy|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.setIteratorPolicy = function(value) {
return jspb.Message.setWrapperField(this, 12, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskSpec} returns this
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.clearIteratorPolicy = function() {
return this.setIteratorPolicy(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskSpec.prototype.hasIteratorPolicy = function() {
return jspb.Message.getField(this, 12) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ArtifactIteratorSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ArtifactIteratorSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ArtifactIteratorSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ArtifactIteratorSpec.toObject = function(includeInstance, msg) {
var f, obj = {
items: (f = msg.getItems()) && proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.toObject(includeInstance, f),
itemInput: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ArtifactIteratorSpec}
*/
proto.ml_pipelines.ArtifactIteratorSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ArtifactIteratorSpec;
return proto.ml_pipelines.ArtifactIteratorSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ArtifactIteratorSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ArtifactIteratorSpec}
*/
proto.ml_pipelines.ArtifactIteratorSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec;
reader.readMessage(value,proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.deserializeBinaryFromReader);
msg.setItems(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setItemInput(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ArtifactIteratorSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ArtifactIteratorSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ArtifactIteratorSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ArtifactIteratorSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getItems();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.serializeBinaryToWriter
);
}
f = message.getItemInput();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.toObject = function(includeInstance, msg) {
var f, obj = {
inputArtifact: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec}
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec;
return proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec}
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setInputArtifact(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getInputArtifact();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string input_artifact = 1;
* @return {string}
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.prototype.getInputArtifact = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec} returns this
*/
proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec.prototype.setInputArtifact = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional ItemsSpec items = 1;
* @return {?proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec}
*/
proto.ml_pipelines.ArtifactIteratorSpec.prototype.getItems = function() {
return /** @type{?proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec, 1));
};
/**
* @param {?proto.ml_pipelines.ArtifactIteratorSpec.ItemsSpec|undefined} value
* @return {!proto.ml_pipelines.ArtifactIteratorSpec} returns this
*/
proto.ml_pipelines.ArtifactIteratorSpec.prototype.setItems = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ArtifactIteratorSpec} returns this
*/
proto.ml_pipelines.ArtifactIteratorSpec.prototype.clearItems = function() {
return this.setItems(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ArtifactIteratorSpec.prototype.hasItems = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string item_input = 2;
* @return {string}
*/
proto.ml_pipelines.ArtifactIteratorSpec.prototype.getItemInput = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ArtifactIteratorSpec} returns this
*/
proto.ml_pipelines.ArtifactIteratorSpec.prototype.setItemInput = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ParameterIteratorSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ParameterIteratorSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ParameterIteratorSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ParameterIteratorSpec.toObject = function(includeInstance, msg) {
var f, obj = {
items: (f = msg.getItems()) && proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.toObject(includeInstance, f),
itemInput: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ParameterIteratorSpec}
*/
proto.ml_pipelines.ParameterIteratorSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ParameterIteratorSpec;
return proto.ml_pipelines.ParameterIteratorSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ParameterIteratorSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ParameterIteratorSpec}
*/
proto.ml_pipelines.ParameterIteratorSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec;
reader.readMessage(value,proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.deserializeBinaryFromReader);
msg.setItems(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setItemInput(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ParameterIteratorSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ParameterIteratorSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ParameterIteratorSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ParameterIteratorSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getItems();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.serializeBinaryToWriter
);
}
f = message.getItemInput();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.KindCase = {
KIND_NOT_SET: 0,
RAW: 1,
INPUT_PARAMETER: 2
};
/**
* @return {proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.KindCase}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.getKindCase = function() {
return /** @type {proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.KindCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.toObject = function(includeInstance, msg) {
var f, obj = {
raw: jspb.Message.getFieldWithDefault(msg, 1, ""),
inputParameter: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec;
return proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setRaw(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setInputParameter(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
};
/**
* optional string raw = 1;
* @return {string}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.getRaw = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec} returns this
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.setRaw = function(value) {
return jspb.Message.setOneofField(this, 1, proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec} returns this
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.clearRaw = function() {
return jspb.Message.setOneofField(this, 1, proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.hasRaw = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string input_parameter = 2;
* @return {string}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.getInputParameter = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec} returns this
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.setInputParameter = function(value) {
return jspb.Message.setOneofField(this, 2, proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec} returns this
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.clearInputParameter = function() {
return jspb.Message.setOneofField(this, 2, proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec.prototype.hasInputParameter = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional ItemsSpec items = 1;
* @return {?proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec}
*/
proto.ml_pipelines.ParameterIteratorSpec.prototype.getItems = function() {
return /** @type{?proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec, 1));
};
/**
* @param {?proto.ml_pipelines.ParameterIteratorSpec.ItemsSpec|undefined} value
* @return {!proto.ml_pipelines.ParameterIteratorSpec} returns this
*/
proto.ml_pipelines.ParameterIteratorSpec.prototype.setItems = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ParameterIteratorSpec} returns this
*/
proto.ml_pipelines.ParameterIteratorSpec.prototype.clearItems = function() {
return this.setItems(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ParameterIteratorSpec.prototype.hasItems = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string item_input = 2;
* @return {string}
*/
proto.ml_pipelines.ParameterIteratorSpec.prototype.getItemInput = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ParameterIteratorSpec} returns this
*/
proto.ml_pipelines.ParameterIteratorSpec.prototype.setItemInput = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ComponentRef.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ComponentRef.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ComponentRef} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentRef.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ComponentRef}
*/
proto.ml_pipelines.ComponentRef.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ComponentRef;
return proto.ml_pipelines.ComponentRef.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ComponentRef} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ComponentRef}
*/
proto.ml_pipelines.ComponentRef.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ComponentRef.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ComponentRef.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ComponentRef} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ComponentRef.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.ml_pipelines.ComponentRef.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ComponentRef} returns this
*/
proto.ml_pipelines.ComponentRef.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineInfo.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineInfo.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineInfo} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineInfo.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
description: jspb.Message.getFieldWithDefault(msg, 3, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineInfo}
*/
proto.ml_pipelines.PipelineInfo.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineInfo;
return proto.ml_pipelines.PipelineInfo.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineInfo} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineInfo}
*/
proto.ml_pipelines.PipelineInfo.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setDisplayName(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineInfo.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineInfo.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineInfo} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineInfo.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getDisplayName();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.ml_pipelines.PipelineInfo.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineInfo} returns this
*/
proto.ml_pipelines.PipelineInfo.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string display_name = 2;
* @return {string}
*/
proto.ml_pipelines.PipelineInfo.prototype.getDisplayName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineInfo} returns this
*/
proto.ml_pipelines.PipelineInfo.prototype.setDisplayName = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string description = 3;
* @return {string}
*/
proto.ml_pipelines.PipelineInfo.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineInfo} returns this
*/
proto.ml_pipelines.PipelineInfo.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.ArtifactTypeSchema.oneofGroups_ = [[1,2,3]];
/**
* @enum {number}
*/
proto.ml_pipelines.ArtifactTypeSchema.KindCase = {
KIND_NOT_SET: 0,
SCHEMA_TITLE: 1,
SCHEMA_URI: 2,
INSTANCE_SCHEMA: 3
};
/**
* @return {proto.ml_pipelines.ArtifactTypeSchema.KindCase}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.getKindCase = function() {
return /** @type {proto.ml_pipelines.ArtifactTypeSchema.KindCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.ArtifactTypeSchema.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ArtifactTypeSchema.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ArtifactTypeSchema} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ArtifactTypeSchema.toObject = function(includeInstance, msg) {
var f, obj = {
schemaTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
schemaUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
instanceSchema: jspb.Message.getFieldWithDefault(msg, 3, ""),
schemaVersion: jspb.Message.getFieldWithDefault(msg, 4, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ArtifactTypeSchema}
*/
proto.ml_pipelines.ArtifactTypeSchema.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ArtifactTypeSchema;
return proto.ml_pipelines.ArtifactTypeSchema.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ArtifactTypeSchema} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ArtifactTypeSchema}
*/
proto.ml_pipelines.ArtifactTypeSchema.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setSchemaTitle(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setSchemaUri(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setInstanceSchema(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setSchemaVersion(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ArtifactTypeSchema.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ArtifactTypeSchema} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ArtifactTypeSchema.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
f = message.getSchemaVersion();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
};
/**
* optional string schema_title = 1;
* @return {string}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.getSchemaTitle = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ArtifactTypeSchema} returns this
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.setSchemaTitle = function(value) {
return jspb.Message.setOneofField(this, 1, proto.ml_pipelines.ArtifactTypeSchema.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.ArtifactTypeSchema} returns this
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.clearSchemaTitle = function() {
return jspb.Message.setOneofField(this, 1, proto.ml_pipelines.ArtifactTypeSchema.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.hasSchemaTitle = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string schema_uri = 2;
* @return {string}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.getSchemaUri = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ArtifactTypeSchema} returns this
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.setSchemaUri = function(value) {
return jspb.Message.setOneofField(this, 2, proto.ml_pipelines.ArtifactTypeSchema.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.ArtifactTypeSchema} returns this
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.clearSchemaUri = function() {
return jspb.Message.setOneofField(this, 2, proto.ml_pipelines.ArtifactTypeSchema.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.hasSchemaUri = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string instance_schema = 3;
* @return {string}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.getInstanceSchema = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ArtifactTypeSchema} returns this
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.setInstanceSchema = function(value) {
return jspb.Message.setOneofField(this, 3, proto.ml_pipelines.ArtifactTypeSchema.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.ArtifactTypeSchema} returns this
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.clearInstanceSchema = function() {
return jspb.Message.setOneofField(this, 3, proto.ml_pipelines.ArtifactTypeSchema.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.hasInstanceSchema = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string schema_version = 4;
* @return {string}
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.getSchemaVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ArtifactTypeSchema} returns this
*/
proto.ml_pipelines.ArtifactTypeSchema.prototype.setSchemaVersion = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineTaskInfo.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineTaskInfo.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineTaskInfo} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskInfo.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineTaskInfo}
*/
proto.ml_pipelines.PipelineTaskInfo.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineTaskInfo;
return proto.ml_pipelines.PipelineTaskInfo.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineTaskInfo} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineTaskInfo}
*/
proto.ml_pipelines.PipelineTaskInfo.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineTaskInfo.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineTaskInfo.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineTaskInfo} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskInfo.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.ml_pipelines.PipelineTaskInfo.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineTaskInfo} returns this
*/
proto.ml_pipelines.PipelineTaskInfo.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.ValueOrRuntimeParameter.oneofGroups_ = [[1,2,3]];
/**
* @enum {number}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.ValueCase = {
VALUE_NOT_SET: 0,
CONSTANT_VALUE: 1,
RUNTIME_PARAMETER: 2,
CONSTANT: 3
};
/**
* @return {proto.ml_pipelines.ValueOrRuntimeParameter.ValueCase}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.getValueCase = function() {
return /** @type {proto.ml_pipelines.ValueOrRuntimeParameter.ValueCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.ValueOrRuntimeParameter.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ValueOrRuntimeParameter.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ValueOrRuntimeParameter} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ValueOrRuntimeParameter.toObject = function(includeInstance, msg) {
var f, obj = {
constantValue: (f = msg.getConstantValue()) && proto.ml_pipelines.Value.toObject(includeInstance, f),
runtimeParameter: jspb.Message.getFieldWithDefault(msg, 2, ""),
constant: (f = msg.getConstant()) && google_protobuf_struct_pb.Value.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ValueOrRuntimeParameter}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ValueOrRuntimeParameter;
return proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ValueOrRuntimeParameter} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ValueOrRuntimeParameter}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.Value;
reader.readMessage(value,proto.ml_pipelines.Value.deserializeBinaryFromReader);
msg.setConstantValue(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setRuntimeParameter(value);
break;
case 3:
var value = new google_protobuf_struct_pb.Value;
reader.readMessage(value,google_protobuf_struct_pb.Value.deserializeBinaryFromReader);
msg.setConstant(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ValueOrRuntimeParameter} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getConstantValue();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.Value.serializeBinaryToWriter
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
2,
f
);
}
f = message.getConstant();
if (f != null) {
writer.writeMessage(
3,
f,
google_protobuf_struct_pb.Value.serializeBinaryToWriter
);
}
};
/**
* optional Value constant_value = 1;
* @return {?proto.ml_pipelines.Value}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.getConstantValue = function() {
return /** @type{?proto.ml_pipelines.Value} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.Value, 1));
};
/**
* @param {?proto.ml_pipelines.Value|undefined} value
* @return {!proto.ml_pipelines.ValueOrRuntimeParameter} returns this
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.setConstantValue = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.ml_pipelines.ValueOrRuntimeParameter.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ValueOrRuntimeParameter} returns this
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.clearConstantValue = function() {
return this.setConstantValue(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.hasConstantValue = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string runtime_parameter = 2;
* @return {string}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.getRuntimeParameter = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ValueOrRuntimeParameter} returns this
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.setRuntimeParameter = function(value) {
return jspb.Message.setOneofField(this, 2, proto.ml_pipelines.ValueOrRuntimeParameter.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.ValueOrRuntimeParameter} returns this
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.clearRuntimeParameter = function() {
return jspb.Message.setOneofField(this, 2, proto.ml_pipelines.ValueOrRuntimeParameter.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.hasRuntimeParameter = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional google.protobuf.Value constant = 3;
* @return {?proto.google.protobuf.Value}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.getConstant = function() {
return /** @type{?proto.google.protobuf.Value} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Value, 3));
};
/**
* @param {?proto.google.protobuf.Value|undefined} value
* @return {!proto.ml_pipelines.ValueOrRuntimeParameter} returns this
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.setConstant = function(value) {
return jspb.Message.setOneofWrapperField(this, 3, proto.ml_pipelines.ValueOrRuntimeParameter.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ValueOrRuntimeParameter} returns this
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.clearConstant = function() {
return this.setConstant(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ValueOrRuntimeParameter.prototype.hasConstant = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.toObject = function(includeInstance, msg) {
var f, obj = {
executorsMap: (f = msg.getExecutorsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig}
*/
proto.ml_pipelines.PipelineDeploymentConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig;
return proto.ml_pipelines.PipelineDeploymentConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig}
*/
proto.ml_pipelines.PipelineDeploymentConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getExecutorsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutorsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.serializeBinaryToWriter);
}
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.repeatedFields_ = [2,3,6];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.toObject = function(includeInstance, msg) {
var f, obj = {
image: jspb.Message.getFieldWithDefault(msg, 1, ""),
commandList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
argsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
lifecycle: (f = msg.getLifecycle()) && proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.toObject(includeInstance, f),
resources: (f = msg.getResources()) && proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.toObject(includeInstance, f),
envList: jspb.Message.toObjectList(msg.getEnvList(),
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec;
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setImage(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.addCommand(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.addArgs(value);
break;
case 4:
var value = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle;
reader.readMessage(value,proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.deserializeBinaryFromReader);
msg.setLifecycle(value);
break;
case 5:
var value = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec;
reader.readMessage(value,proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.deserializeBinaryFromReader);
msg.setResources(value);
break;
case 6:
var value = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar;
reader.readMessage(value,proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.deserializeBinaryFromReader);
msg.addEnv(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getImage();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getCommandList();
if (f.length > 0) {
writer.writeRepeatedString(
2,
f
);
}
f = message.getArgsList();
if (f.length > 0) {
writer.writeRepeatedString(
3,
f
);
}
f = message.getLifecycle();
if (f != null) {
writer.writeMessage(
4,
f,
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.serializeBinaryToWriter
);
}
f = message.getResources();
if (f != null) {
writer.writeMessage(
5,
f,
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.serializeBinaryToWriter
);
}
f = message.getEnvList();
if (f.length > 0) {
writer.writeRepeatedMessage(
6,
f,
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.toObject = function(includeInstance, msg) {
var f, obj = {
preCacheCheck: (f = msg.getPreCacheCheck()) && proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle;
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec;
reader.readMessage(value,proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.deserializeBinaryFromReader);
msg.setPreCacheCheck(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getPreCacheCheck();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.serializeBinaryToWriter
);
}
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.repeatedFields_ = [2,3];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.toObject = function(includeInstance, msg) {
var f, obj = {
commandList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
argsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec;
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 2:
var value = /** @type {string} */ (reader.readString());
msg.addCommand(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.addArgs(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCommandList();
if (f.length > 0) {
writer.writeRepeatedString(
2,
f
);
}
f = message.getArgsList();
if (f.length > 0) {
writer.writeRepeatedString(
3,
f
);
}
};
/**
* repeated string command = 2;
* @return {!Array<string>}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.getCommandList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.setCommandList = function(value) {
return jspb.Message.setField(this, 2, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.addCommand = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.clearCommandList = function() {
return this.setCommandList([]);
};
/**
* repeated string args = 3;
* @return {!Array<string>}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.getArgsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.setArgsList = function(value) {
return jspb.Message.setField(this, 3, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.addArgs = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec.prototype.clearArgsList = function() {
return this.setArgsList([]);
};
/**
* optional Exec pre_cache_check = 1;
* @return {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.prototype.getPreCacheCheck = function() {
return /** @type{?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec, 1));
};
/**
* @param {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.Exec|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.prototype.setPreCacheCheck = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.prototype.clearPreCacheCheck = function() {
return this.setPreCacheCheck(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle.prototype.hasPreCacheCheck = function() {
return jspb.Message.getField(this, 1) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.toObject = function(includeInstance, msg) {
var f, obj = {
cpuLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
memoryLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
cpuRequest: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
memoryRequest: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
accelerator: (f = msg.getAccelerator()) && proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec;
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readDouble());
msg.setCpuLimit(value);
break;
case 2:
var value = /** @type {number} */ (reader.readDouble());
msg.setMemoryLimit(value);
break;
case 5:
var value = /** @type {number} */ (reader.readDouble());
msg.setCpuRequest(value);
break;
case 6:
var value = /** @type {number} */ (reader.readDouble());
msg.setMemoryRequest(value);
break;
case 3:
var value = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig;
reader.readMessage(value,proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.deserializeBinaryFromReader);
msg.setAccelerator(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCpuLimit();
if (f !== 0.0) {
writer.writeDouble(
1,
f
);
}
f = message.getMemoryLimit();
if (f !== 0.0) {
writer.writeDouble(
2,
f
);
}
f = message.getCpuRequest();
if (f !== 0.0) {
writer.writeDouble(
5,
f
);
}
f = message.getMemoryRequest();
if (f !== 0.0) {
writer.writeDouble(
6,
f
);
}
f = message.getAccelerator();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.toObject = function(includeInstance, msg) {
var f, obj = {
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
count: jspb.Message.getFieldWithDefault(msg, 2, 0)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig;
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setType(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt64());
msg.setCount(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getType();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getCount();
if (f !== 0) {
writer.writeInt64(
2,
f
);
}
};
/**
* optional string type = 1;
* @return {string}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.prototype.getType = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.prototype.setType = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional int64 count = 2;
* @return {number}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.prototype.getCount = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig.prototype.setCount = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* optional double cpu_limit = 1;
* @return {number}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.getCpuLimit = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.setCpuLimit = function(value) {
return jspb.Message.setProto3FloatField(this, 1, value);
};
/**
* optional double memory_limit = 2;
* @return {number}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.getMemoryLimit = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.setMemoryLimit = function(value) {
return jspb.Message.setProto3FloatField(this, 2, value);
};
/**
* optional double cpu_request = 5;
* @return {number}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.getCpuRequest = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.setCpuRequest = function(value) {
return jspb.Message.setProto3FloatField(this, 5, value);
};
/**
* optional double memory_request = 6;
* @return {number}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.getMemoryRequest = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.setMemoryRequest = function(value) {
return jspb.Message.setProto3FloatField(this, 6, value);
};
/**
* optional AcceleratorConfig accelerator = 3;
* @return {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.getAccelerator = function() {
return /** @type{?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig, 3));
};
/**
* @param {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.AcceleratorConfig|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.setAccelerator = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.clearAccelerator = function() {
return this.setAccelerator(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec.prototype.hasAccelerator = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
value: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar;
return proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setValue(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getValue();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string value = 2;
* @return {string}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.prototype.getValue = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar.prototype.setValue = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string image = 1;
* @return {string}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.getImage = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.setImage = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* repeated string command = 2;
* @return {!Array<string>}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.getCommandList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.setCommandList = function(value) {
return jspb.Message.setField(this, 2, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.addCommand = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.clearCommandList = function() {
return this.setCommandList([]);
};
/**
* repeated string args = 3;
* @return {!Array<string>}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.getArgsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
};
/**
* @param {!Array<string>} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.setArgsList = function(value) {
return jspb.Message.setField(this, 3, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.addArgs = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.clearArgsList = function() {
return this.setArgsList([]);
};
/**
* optional Lifecycle lifecycle = 4;
* @return {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.getLifecycle = function() {
return /** @type{?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle, 4));
};
/**
* @param {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.Lifecycle|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.setLifecycle = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.clearLifecycle = function() {
return this.setLifecycle(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.hasLifecycle = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional ResourceSpec resources = 5;
* @return {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.getResources = function() {
return /** @type{?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec, 5));
};
/**
* @param {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.ResourceSpec|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.setResources = function(value) {
return jspb.Message.setWrapperField(this, 5, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.clearResources = function() {
return this.setResources(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.hasResources = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* repeated EnvVar env = 6;
* @return {!Array<!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar>}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.getEnvList = function() {
return /** @type{!Array<!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar, 6));
};
/**
* @param {!Array<!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar>} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.setEnvList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 6, value);
};
/**
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar}
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.addEnv = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.EnvVar, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.prototype.clearEnvList = function() {
return this.setEnvList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.toObject = function(includeInstance, msg) {
var f, obj = {
artifactUri: (f = msg.getArtifactUri()) && proto.ml_pipelines.ValueOrRuntimeParameter.toObject(includeInstance, f),
typeSchema: (f = msg.getTypeSchema()) && proto.ml_pipelines.ArtifactTypeSchema.toObject(includeInstance, f),
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ValueOrRuntimeParameter.toObject) : [],
customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ValueOrRuntimeParameter.toObject) : [],
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
reimport: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec;
return proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.ValueOrRuntimeParameter;
reader.readMessage(value,proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader);
msg.setArtifactUri(value);
break;
case 2:
var value = new proto.ml_pipelines.ArtifactTypeSchema;
reader.readMessage(value,proto.ml_pipelines.ArtifactTypeSchema.deserializeBinaryFromReader);
msg.setTypeSchema(value);
break;
case 3:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader, "", new proto.ml_pipelines.ValueOrRuntimeParameter());
});
break;
case 4:
var value = msg.getCustomPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ValueOrRuntimeParameter.deserializeBinaryFromReader, "", new proto.ml_pipelines.ValueOrRuntimeParameter());
});
break;
case 6:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setMetadata(value);
break;
case 5:
var value = /** @type {boolean} */ (reader.readBool());
msg.setReimport(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactUri();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter
);
}
f = message.getTypeSchema();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.ArtifactTypeSchema.serializeBinaryToWriter
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter);
}
f = message.getCustomPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ValueOrRuntimeParameter.serializeBinaryToWriter);
}
f = message.getMetadata();
if (f != null) {
writer.writeMessage(
6,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
f = message.getReimport();
if (f) {
writer.writeBool(
5,
f
);
}
};
/**
* optional ValueOrRuntimeParameter artifact_uri = 1;
* @return {?proto.ml_pipelines.ValueOrRuntimeParameter}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.getArtifactUri = function() {
return /** @type{?proto.ml_pipelines.ValueOrRuntimeParameter} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ValueOrRuntimeParameter, 1));
};
/**
* @param {?proto.ml_pipelines.ValueOrRuntimeParameter|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.setArtifactUri = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.clearArtifactUri = function() {
return this.setArtifactUri(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.hasArtifactUri = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ArtifactTypeSchema type_schema = 2;
* @return {?proto.ml_pipelines.ArtifactTypeSchema}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.getTypeSchema = function() {
return /** @type{?proto.ml_pipelines.ArtifactTypeSchema} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ArtifactTypeSchema, 2));
};
/**
* @param {?proto.ml_pipelines.ArtifactTypeSchema|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.setTypeSchema = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.clearTypeSchema = function() {
return this.setTypeSchema(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.hasTypeSchema = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* map<string, ValueOrRuntimeParameter> properties = 3;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
proto.ml_pipelines.ValueOrRuntimeParameter));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* map<string, ValueOrRuntimeParameter> custom_properties = 4;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.getCustomPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ValueOrRuntimeParameter>} */ (
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
proto.ml_pipelines.ValueOrRuntimeParameter));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.clearCustomPropertiesMap = function() {
this.getCustomPropertiesMap().clear();
return this;};
/**
* optional google.protobuf.Struct metadata = 6;
* @return {?proto.google.protobuf.Struct}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.getMetadata = function() {
return /** @type{?proto.google.protobuf.Struct} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
};
/**
* @param {?proto.google.protobuf.Struct|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.setMetadata = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.clearMetadata = function() {
return this.setMetadata(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.hasMetadata = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional bool reimport = 5;
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.getReimport = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};
/**
* @param {boolean} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.prototype.setReimport = function(value) {
return jspb.Message.setProto3BooleanField(this, 5, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.toObject = function(includeInstance, msg) {
var f, obj = {
outputArtifactQueriesMap: (f = msg.getOutputArtifactQueriesMap()) ? f.toObject(includeInstance, proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec;
return proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getOutputArtifactQueriesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOutputArtifactQueriesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.serializeBinaryToWriter);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.toObject = function(includeInstance, msg) {
var f, obj = {
filter: jspb.Message.getFieldWithDefault(msg, 1, ""),
limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec;
return proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setFilter(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt32());
msg.setLimit(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getFilter();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getLimit();
if (f !== 0) {
writer.writeInt32(
2,
f
);
}
};
/**
* optional string filter = 1;
* @return {string}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.prototype.getFilter = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.prototype.setFilter = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional int32 limit = 2;
* @return {number}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.prototype.getLimit = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec.prototype.setLimit = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* map<string, ArtifactQuerySpec> output_artifact_queries = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec>}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.prototype.getOutputArtifactQueriesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.ArtifactQuerySpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.prototype.clearOutputArtifactQueriesMap = function() {
this.getOutputArtifactQueriesMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.toObject = function(includeInstance, msg) {
var f, obj = {
customJob: (f = msg.getCustomJob()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec;
return proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setCustomJob(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCustomJob();
if (f != null) {
writer.writeMessage(
1,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
};
/**
* optional google.protobuf.Struct custom_job = 1;
* @return {?proto.google.protobuf.Struct}
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.prototype.getCustomJob = function() {
return /** @type{?proto.google.protobuf.Struct} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 1));
};
/**
* @param {?proto.google.protobuf.Struct|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.prototype.setCustomJob = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.prototype.clearCustomJob = function() {
return this.setCustomJob(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.prototype.hasCustomJob = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.oneofGroups_ = [[1,2,3,4]];
/**
* @enum {number}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.SpecCase = {
SPEC_NOT_SET: 0,
CONTAINER: 1,
IMPORTER: 2,
RESOLVER: 3,
CUSTOM_JOB: 4
};
/**
* @return {proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.SpecCase}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.getSpecCase = function() {
return /** @type {proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.SpecCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.toObject = function(includeInstance, msg) {
var f, obj = {
container: (f = msg.getContainer()) && proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.toObject(includeInstance, f),
importer: (f = msg.getImporter()) && proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.toObject(includeInstance, f),
resolver: (f = msg.getResolver()) && proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.toObject(includeInstance, f),
customJob: (f = msg.getCustomJob()) && proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec;
return proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec;
reader.readMessage(value,proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.deserializeBinaryFromReader);
msg.setContainer(value);
break;
case 2:
var value = new proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec;
reader.readMessage(value,proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.deserializeBinaryFromReader);
msg.setImporter(value);
break;
case 3:
var value = new proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec;
reader.readMessage(value,proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.deserializeBinaryFromReader);
msg.setResolver(value);
break;
case 4:
var value = new proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec;
reader.readMessage(value,proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.deserializeBinaryFromReader);
msg.setCustomJob(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getContainer();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec.serializeBinaryToWriter
);
}
f = message.getImporter();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec.serializeBinaryToWriter
);
}
f = message.getResolver();
if (f != null) {
writer.writeMessage(
3,
f,
proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec.serializeBinaryToWriter
);
}
f = message.getCustomJob();
if (f != null) {
writer.writeMessage(
4,
f,
proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec.serializeBinaryToWriter
);
}
};
/**
* optional PipelineContainerSpec container = 1;
* @return {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.getContainer = function() {
return /** @type{?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec, 1));
};
/**
* @param {?proto.ml_pipelines.PipelineDeploymentConfig.PipelineContainerSpec|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.setContainer = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.clearContainer = function() {
return this.setContainer(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.hasContainer = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional ImporterSpec importer = 2;
* @return {?proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.getImporter = function() {
return /** @type{?proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec, 2));
};
/**
* @param {?proto.ml_pipelines.PipelineDeploymentConfig.ImporterSpec|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.setImporter = function(value) {
return jspb.Message.setOneofWrapperField(this, 2, proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.clearImporter = function() {
return this.setImporter(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.hasImporter = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional ResolverSpec resolver = 3;
* @return {?proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.getResolver = function() {
return /** @type{?proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec, 3));
};
/**
* @param {?proto.ml_pipelines.PipelineDeploymentConfig.ResolverSpec|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.setResolver = function(value) {
return jspb.Message.setOneofWrapperField(this, 3, proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.clearResolver = function() {
return this.setResolver(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.hasResolver = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional AIPlatformCustomJobSpec custom_job = 4;
* @return {?proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.getCustomJob = function() {
return /** @type{?proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec, 4));
};
/**
* @param {?proto.ml_pipelines.PipelineDeploymentConfig.AIPlatformCustomJobSpec|undefined} value
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.setCustomJob = function(value) {
return jspb.Message.setOneofWrapperField(this, 4, proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.clearCustomJob = function() {
return this.setCustomJob(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec.prototype.hasCustomJob = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* map<string, ExecutorSpec> executors = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec>}
*/
proto.ml_pipelines.PipelineDeploymentConfig.prototype.getExecutorsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.PipelineDeploymentConfig.ExecutorSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PipelineDeploymentConfig} returns this
*/
proto.ml_pipelines.PipelineDeploymentConfig.prototype.clearExecutorsMap = function() {
this.getExecutorsMap().clear();
return this;};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.ml_pipelines.Value.oneofGroups_ = [[1,2,3]];
/**
* @enum {number}
*/
proto.ml_pipelines.Value.ValueCase = {
VALUE_NOT_SET: 0,
INT_VALUE: 1,
DOUBLE_VALUE: 2,
STRING_VALUE: 3
};
/**
* @return {proto.ml_pipelines.Value.ValueCase}
*/
proto.ml_pipelines.Value.prototype.getValueCase = function() {
return /** @type {proto.ml_pipelines.Value.ValueCase} */(jspb.Message.computeOneofCase(this, proto.ml_pipelines.Value.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.Value.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.Value.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.Value} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.Value.toObject = function(includeInstance, msg) {
var f, obj = {
intValue: jspb.Message.getFieldWithDefault(msg, 1, 0),
doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
stringValue: jspb.Message.getFieldWithDefault(msg, 3, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.Value}
*/
proto.ml_pipelines.Value.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.Value;
return proto.ml_pipelines.Value.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.Value} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.Value}
*/
proto.ml_pipelines.Value.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt64());
msg.setIntValue(value);
break;
case 2:
var value = /** @type {number} */ (reader.readDouble());
msg.setDoubleValue(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setStringValue(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.Value.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.Value.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.Value} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.Value.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {number} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeInt64(
1,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeDouble(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(
3,
f
);
}
};
/**
* optional int64 int_value = 1;
* @return {number}
*/
proto.ml_pipelines.Value.prototype.getIntValue = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.Value} returns this
*/
proto.ml_pipelines.Value.prototype.setIntValue = function(value) {
return jspb.Message.setOneofField(this, 1, proto.ml_pipelines.Value.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.Value} returns this
*/
proto.ml_pipelines.Value.prototype.clearIntValue = function() {
return jspb.Message.setOneofField(this, 1, proto.ml_pipelines.Value.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.Value.prototype.hasIntValue = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional double double_value = 2;
* @return {number}
*/
proto.ml_pipelines.Value.prototype.getDoubleValue = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.Value} returns this
*/
proto.ml_pipelines.Value.prototype.setDoubleValue = function(value) {
return jspb.Message.setOneofField(this, 2, proto.ml_pipelines.Value.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.Value} returns this
*/
proto.ml_pipelines.Value.prototype.clearDoubleValue = function() {
return jspb.Message.setOneofField(this, 2, proto.ml_pipelines.Value.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.Value.prototype.hasDoubleValue = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string string_value = 3;
* @return {string}
*/
proto.ml_pipelines.Value.prototype.getStringValue = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.Value} returns this
*/
proto.ml_pipelines.Value.prototype.setStringValue = function(value) {
return jspb.Message.setOneofField(this, 3, proto.ml_pipelines.Value.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ml_pipelines.Value} returns this
*/
proto.ml_pipelines.Value.prototype.clearStringValue = function() {
return jspb.Message.setOneofField(this, 3, proto.ml_pipelines.Value.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.Value.prototype.hasStringValue = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.RuntimeArtifact.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.RuntimeArtifact} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.RuntimeArtifact.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
type: (f = msg.getType()) && proto.ml_pipelines.ArtifactTypeSchema.toObject(includeInstance, f),
uri: jspb.Message.getFieldWithDefault(msg, 3, ""),
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_pipelines.Value.toObject) : [],
customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_pipelines.Value.toObject) : [],
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.RuntimeArtifact}
*/
proto.ml_pipelines.RuntimeArtifact.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.RuntimeArtifact;
return proto.ml_pipelines.RuntimeArtifact.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.RuntimeArtifact} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.RuntimeArtifact}
*/
proto.ml_pipelines.RuntimeArtifact.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = new proto.ml_pipelines.ArtifactTypeSchema;
reader.readMessage(value,proto.ml_pipelines.ArtifactTypeSchema.deserializeBinaryFromReader);
msg.setType(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setUri(value);
break;
case 4:
var value = msg.getPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.Value.deserializeBinaryFromReader, "", new proto.ml_pipelines.Value());
});
break;
case 5:
var value = msg.getCustomPropertiesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.Value.deserializeBinaryFromReader, "", new proto.ml_pipelines.Value());
});
break;
case 6:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setMetadata(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.RuntimeArtifact.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.RuntimeArtifact} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.RuntimeArtifact.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getType();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.ArtifactTypeSchema.serializeBinaryToWriter
);
}
f = message.getUri();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
f = message.getPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.Value.serializeBinaryToWriter);
}
f = message.getCustomPropertiesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.Value.serializeBinaryToWriter);
}
f = message.getMetadata();
if (f != null) {
writer.writeMessage(
6,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.RuntimeArtifact} returns this
*/
proto.ml_pipelines.RuntimeArtifact.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional ArtifactTypeSchema type = 2;
* @return {?proto.ml_pipelines.ArtifactTypeSchema}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.getType = function() {
return /** @type{?proto.ml_pipelines.ArtifactTypeSchema} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ArtifactTypeSchema, 2));
};
/**
* @param {?proto.ml_pipelines.ArtifactTypeSchema|undefined} value
* @return {!proto.ml_pipelines.RuntimeArtifact} returns this
*/
proto.ml_pipelines.RuntimeArtifact.prototype.setType = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.RuntimeArtifact} returns this
*/
proto.ml_pipelines.RuntimeArtifact.prototype.clearType = function() {
return this.setType(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.hasType = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string uri = 3;
* @return {string}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.getUri = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.RuntimeArtifact} returns this
*/
proto.ml_pipelines.RuntimeArtifact.prototype.setUri = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* map<string, Value> properties = 4;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.Value>}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.getPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.Value>} */ (
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
proto.ml_pipelines.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.RuntimeArtifact} returns this
*/
proto.ml_pipelines.RuntimeArtifact.prototype.clearPropertiesMap = function() {
this.getPropertiesMap().clear();
return this;};
/**
* map<string, Value> custom_properties = 5;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.Value>}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.getCustomPropertiesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.Value>} */ (
jspb.Message.getMapField(this, 5, opt_noLazyCreate,
proto.ml_pipelines.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.RuntimeArtifact} returns this
*/
proto.ml_pipelines.RuntimeArtifact.prototype.clearCustomPropertiesMap = function() {
this.getCustomPropertiesMap().clear();
return this;};
/**
* optional google.protobuf.Struct metadata = 6;
* @return {?proto.google.protobuf.Struct}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.getMetadata = function() {
return /** @type{?proto.google.protobuf.Struct} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 6));
};
/**
* @param {?proto.google.protobuf.Struct|undefined} value
* @return {!proto.ml_pipelines.RuntimeArtifact} returns this
*/
proto.ml_pipelines.RuntimeArtifact.prototype.setMetadata = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.RuntimeArtifact} returns this
*/
proto.ml_pipelines.RuntimeArtifact.prototype.clearMetadata = function() {
return this.setMetadata(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.RuntimeArtifact.prototype.hasMetadata = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ml_pipelines.ArtifactList.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ArtifactList.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ArtifactList.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ArtifactList} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ArtifactList.toObject = function(includeInstance, msg) {
var f, obj = {
artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(),
proto.ml_pipelines.RuntimeArtifact.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ArtifactList}
*/
proto.ml_pipelines.ArtifactList.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ArtifactList;
return proto.ml_pipelines.ArtifactList.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ArtifactList} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ArtifactList}
*/
proto.ml_pipelines.ArtifactList.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.RuntimeArtifact;
reader.readMessage(value,proto.ml_pipelines.RuntimeArtifact.deserializeBinaryFromReader);
msg.addArtifacts(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ArtifactList.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ArtifactList.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ArtifactList} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ArtifactList.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getArtifactsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ml_pipelines.RuntimeArtifact.serializeBinaryToWriter
);
}
};
/**
* repeated RuntimeArtifact artifacts = 1;
* @return {!Array<!proto.ml_pipelines.RuntimeArtifact>}
*/
proto.ml_pipelines.ArtifactList.prototype.getArtifactsList = function() {
return /** @type{!Array<!proto.ml_pipelines.RuntimeArtifact>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ml_pipelines.RuntimeArtifact, 1));
};
/**
* @param {!Array<!proto.ml_pipelines.RuntimeArtifact>} value
* @return {!proto.ml_pipelines.ArtifactList} returns this
*/
proto.ml_pipelines.ArtifactList.prototype.setArtifactsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ml_pipelines.RuntimeArtifact=} opt_value
* @param {number=} opt_index
* @return {!proto.ml_pipelines.RuntimeArtifact}
*/
proto.ml_pipelines.ArtifactList.prototype.addArtifacts = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_pipelines.RuntimeArtifact, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ml_pipelines.ArtifactList} returns this
*/
proto.ml_pipelines.ArtifactList.prototype.clearArtifactsList = function() {
return this.setArtifactsList([]);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ExecutorInput.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ExecutorInput.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ExecutorInput} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorInput.toObject = function(includeInstance, msg) {
var f, obj = {
inputs: (f = msg.getInputs()) && proto.ml_pipelines.ExecutorInput.Inputs.toObject(includeInstance, f),
outputs: (f = msg.getOutputs()) && proto.ml_pipelines.ExecutorInput.Outputs.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ExecutorInput}
*/
proto.ml_pipelines.ExecutorInput.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ExecutorInput;
return proto.ml_pipelines.ExecutorInput.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ExecutorInput} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ExecutorInput}
*/
proto.ml_pipelines.ExecutorInput.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.ExecutorInput.Inputs;
reader.readMessage(value,proto.ml_pipelines.ExecutorInput.Inputs.deserializeBinaryFromReader);
msg.setInputs(value);
break;
case 2:
var value = new proto.ml_pipelines.ExecutorInput.Outputs;
reader.readMessage(value,proto.ml_pipelines.ExecutorInput.Outputs.deserializeBinaryFromReader);
msg.setOutputs(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ExecutorInput.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ExecutorInput.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ExecutorInput} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorInput.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getInputs();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.ExecutorInput.Inputs.serializeBinaryToWriter
);
}
f = message.getOutputs();
if (f != null) {
writer.writeMessage(
2,
f,
proto.ml_pipelines.ExecutorInput.Outputs.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ExecutorInput.Inputs.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ExecutorInput.Inputs.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ExecutorInput.Inputs} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorInput.Inputs.toObject = function(includeInstance, msg) {
var f, obj = {
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.Value.toObject) : [],
artifactsMap: (f = msg.getArtifactsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ArtifactList.toObject) : [],
parameterValuesMap: (f = msg.getParameterValuesMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ExecutorInput.Inputs}
*/
proto.ml_pipelines.ExecutorInput.Inputs.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ExecutorInput.Inputs;
return proto.ml_pipelines.ExecutorInput.Inputs.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ExecutorInput.Inputs} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ExecutorInput.Inputs}
*/
proto.ml_pipelines.ExecutorInput.Inputs.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.Value.deserializeBinaryFromReader, "", new proto.ml_pipelines.Value());
});
break;
case 2:
var value = msg.getArtifactsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ArtifactList.deserializeBinaryFromReader, "", new proto.ml_pipelines.ArtifactList());
});
break;
case 3:
var value = msg.getParameterValuesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ExecutorInput.Inputs.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ExecutorInput.Inputs.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ExecutorInput.Inputs} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorInput.Inputs.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.Value.serializeBinaryToWriter);
}
f = message.getArtifactsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ArtifactList.serializeBinaryToWriter);
}
f = message.getParameterValuesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter);
}
};
/**
* map<string, Value> parameters = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.Value>}
*/
proto.ml_pipelines.ExecutorInput.Inputs.prototype.getParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.Value>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ExecutorInput.Inputs} returns this
*/
proto.ml_pipelines.ExecutorInput.Inputs.prototype.clearParametersMap = function() {
this.getParametersMap().clear();
return this;};
/**
* map<string, ArtifactList> artifacts = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ArtifactList>}
*/
proto.ml_pipelines.ExecutorInput.Inputs.prototype.getArtifactsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ArtifactList>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.ArtifactList));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ExecutorInput.Inputs} returns this
*/
proto.ml_pipelines.ExecutorInput.Inputs.prototype.clearArtifactsMap = function() {
this.getArtifactsMap().clear();
return this;};
/**
* map<string, google.protobuf.Value> parameter_values = 3;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.google.protobuf.Value>}
*/
proto.ml_pipelines.ExecutorInput.Inputs.prototype.getParameterValuesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.google.protobuf.Value>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
proto.google.protobuf.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ExecutorInput.Inputs} returns this
*/
proto.ml_pipelines.ExecutorInput.Inputs.prototype.clearParameterValuesMap = function() {
this.getParameterValuesMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ExecutorInput.OutputParameter.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ExecutorInput.OutputParameter.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ExecutorInput.OutputParameter} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorInput.OutputParameter.toObject = function(includeInstance, msg) {
var f, obj = {
outputFile: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ExecutorInput.OutputParameter}
*/
proto.ml_pipelines.ExecutorInput.OutputParameter.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ExecutorInput.OutputParameter;
return proto.ml_pipelines.ExecutorInput.OutputParameter.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ExecutorInput.OutputParameter} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ExecutorInput.OutputParameter}
*/
proto.ml_pipelines.ExecutorInput.OutputParameter.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setOutputFile(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ExecutorInput.OutputParameter.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ExecutorInput.OutputParameter.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ExecutorInput.OutputParameter} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorInput.OutputParameter.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOutputFile();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string output_file = 1;
* @return {string}
*/
proto.ml_pipelines.ExecutorInput.OutputParameter.prototype.getOutputFile = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ExecutorInput.OutputParameter} returns this
*/
proto.ml_pipelines.ExecutorInput.OutputParameter.prototype.setOutputFile = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ExecutorInput.Outputs.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ExecutorInput.Outputs.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ExecutorInput.Outputs} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorInput.Outputs.toObject = function(includeInstance, msg) {
var f, obj = {
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ExecutorInput.OutputParameter.toObject) : [],
artifactsMap: (f = msg.getArtifactsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ArtifactList.toObject) : [],
outputFile: jspb.Message.getFieldWithDefault(msg, 3, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ExecutorInput.Outputs}
*/
proto.ml_pipelines.ExecutorInput.Outputs.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ExecutorInput.Outputs;
return proto.ml_pipelines.ExecutorInput.Outputs.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ExecutorInput.Outputs} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ExecutorInput.Outputs}
*/
proto.ml_pipelines.ExecutorInput.Outputs.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ExecutorInput.OutputParameter.deserializeBinaryFromReader, "", new proto.ml_pipelines.ExecutorInput.OutputParameter());
});
break;
case 2:
var value = msg.getArtifactsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ArtifactList.deserializeBinaryFromReader, "", new proto.ml_pipelines.ArtifactList());
});
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setOutputFile(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ExecutorInput.Outputs.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ExecutorInput.Outputs.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ExecutorInput.Outputs} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorInput.Outputs.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ExecutorInput.OutputParameter.serializeBinaryToWriter);
}
f = message.getArtifactsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ArtifactList.serializeBinaryToWriter);
}
f = message.getOutputFile();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
};
/**
* map<string, OutputParameter> parameters = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ExecutorInput.OutputParameter>}
*/
proto.ml_pipelines.ExecutorInput.Outputs.prototype.getParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ExecutorInput.OutputParameter>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.ExecutorInput.OutputParameter));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ExecutorInput.Outputs} returns this
*/
proto.ml_pipelines.ExecutorInput.Outputs.prototype.clearParametersMap = function() {
this.getParametersMap().clear();
return this;};
/**
* map<string, ArtifactList> artifacts = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ArtifactList>}
*/
proto.ml_pipelines.ExecutorInput.Outputs.prototype.getArtifactsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ArtifactList>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.ArtifactList));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ExecutorInput.Outputs} returns this
*/
proto.ml_pipelines.ExecutorInput.Outputs.prototype.clearArtifactsMap = function() {
this.getArtifactsMap().clear();
return this;};
/**
* optional string output_file = 3;
* @return {string}
*/
proto.ml_pipelines.ExecutorInput.Outputs.prototype.getOutputFile = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.ExecutorInput.Outputs} returns this
*/
proto.ml_pipelines.ExecutorInput.Outputs.prototype.setOutputFile = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional Inputs inputs = 1;
* @return {?proto.ml_pipelines.ExecutorInput.Inputs}
*/
proto.ml_pipelines.ExecutorInput.prototype.getInputs = function() {
return /** @type{?proto.ml_pipelines.ExecutorInput.Inputs} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ExecutorInput.Inputs, 1));
};
/**
* @param {?proto.ml_pipelines.ExecutorInput.Inputs|undefined} value
* @return {!proto.ml_pipelines.ExecutorInput} returns this
*/
proto.ml_pipelines.ExecutorInput.prototype.setInputs = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ExecutorInput} returns this
*/
proto.ml_pipelines.ExecutorInput.prototype.clearInputs = function() {
return this.setInputs(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ExecutorInput.prototype.hasInputs = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional Outputs outputs = 2;
* @return {?proto.ml_pipelines.ExecutorInput.Outputs}
*/
proto.ml_pipelines.ExecutorInput.prototype.getOutputs = function() {
return /** @type{?proto.ml_pipelines.ExecutorInput.Outputs} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.ExecutorInput.Outputs, 2));
};
/**
* @param {?proto.ml_pipelines.ExecutorInput.Outputs|undefined} value
* @return {!proto.ml_pipelines.ExecutorInput} returns this
*/
proto.ml_pipelines.ExecutorInput.prototype.setOutputs = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.ExecutorInput} returns this
*/
proto.ml_pipelines.ExecutorInput.prototype.clearOutputs = function() {
return this.setOutputs(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.ExecutorInput.prototype.hasOutputs = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.ExecutorOutput.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.ExecutorOutput.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.ExecutorOutput} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorOutput.toObject = function(includeInstance, msg) {
var f, obj = {
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ml_pipelines.Value.toObject) : [],
artifactsMap: (f = msg.getArtifactsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.ArtifactList.toObject) : [],
parameterValuesMap: (f = msg.getParameterValuesMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.ExecutorOutput}
*/
proto.ml_pipelines.ExecutorOutput.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.ExecutorOutput;
return proto.ml_pipelines.ExecutorOutput.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.ExecutorOutput} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.ExecutorOutput}
*/
proto.ml_pipelines.ExecutorOutput.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getParametersMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.Value.deserializeBinaryFromReader, "", new proto.ml_pipelines.Value());
});
break;
case 2:
var value = msg.getArtifactsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.ArtifactList.deserializeBinaryFromReader, "", new proto.ml_pipelines.ArtifactList());
});
break;
case 3:
var value = msg.getParameterValuesMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.ExecutorOutput.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.ExecutorOutput.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.ExecutorOutput} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.ExecutorOutput.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getParametersMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.Value.serializeBinaryToWriter);
}
f = message.getArtifactsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.ArtifactList.serializeBinaryToWriter);
}
f = message.getParameterValuesMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter);
}
};
/**
* map<string, Value> parameters = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.Value>}
*/
proto.ml_pipelines.ExecutorOutput.prototype.getParametersMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.Value>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ExecutorOutput} returns this
*/
proto.ml_pipelines.ExecutorOutput.prototype.clearParametersMap = function() {
this.getParametersMap().clear();
return this;};
/**
* map<string, ArtifactList> artifacts = 2;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.ArtifactList>}
*/
proto.ml_pipelines.ExecutorOutput.prototype.getArtifactsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.ArtifactList>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.ml_pipelines.ArtifactList));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ExecutorOutput} returns this
*/
proto.ml_pipelines.ExecutorOutput.prototype.clearArtifactsMap = function() {
this.getArtifactsMap().clear();
return this;};
/**
* map<string, google.protobuf.Value> parameter_values = 3;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.google.protobuf.Value>}
*/
proto.ml_pipelines.ExecutorOutput.prototype.getParameterValuesMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.google.protobuf.Value>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
proto.google.protobuf.Value));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.ExecutorOutput} returns this
*/
proto.ml_pipelines.ExecutorOutput.prototype.clearParameterValuesMap = function() {
this.getParameterValuesMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineTaskFinalStatus.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineTaskFinalStatus} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskFinalStatus.toObject = function(includeInstance, msg) {
var f, obj = {
state: jspb.Message.getFieldWithDefault(msg, 1, ""),
error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
pipelineJobUuid: jspb.Message.getFieldWithDefault(msg, 3, 0),
pipelineJobName: jspb.Message.getFieldWithDefault(msg, 4, ""),
pipelineJobResourceName: jspb.Message.getFieldWithDefault(msg, 5, ""),
pipelineTaskName: jspb.Message.getFieldWithDefault(msg, 6, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineTaskFinalStatus}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineTaskFinalStatus;
return proto.ml_pipelines.PipelineTaskFinalStatus.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineTaskFinalStatus} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineTaskFinalStatus}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setState(value);
break;
case 2:
var value = new google_rpc_status_pb.Status;
reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
msg.setError(value);
break;
case 3:
var value = /** @type {number} */ (reader.readInt64());
msg.setPipelineJobUuid(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setPipelineJobName(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setPipelineJobResourceName(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setPipelineTaskName(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineTaskFinalStatus.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineTaskFinalStatus} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineTaskFinalStatus.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getState();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getError();
if (f != null) {
writer.writeMessage(
2,
f,
google_rpc_status_pb.Status.serializeBinaryToWriter
);
}
f = message.getPipelineJobUuid();
if (f !== 0) {
writer.writeInt64(
3,
f
);
}
f = message.getPipelineJobName();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
f = message.getPipelineJobResourceName();
if (f.length > 0) {
writer.writeString(
5,
f
);
}
f = message.getPipelineTaskName();
if (f.length > 0) {
writer.writeString(
6,
f
);
}
};
/**
* optional string state = 1;
* @return {string}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.getState = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineTaskFinalStatus} returns this
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.setState = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional google.rpc.Status error = 2;
* @return {?proto.google.rpc.Status}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.getError = function() {
return /** @type{?proto.google.rpc.Status} */ (
jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 2));
};
/**
* @param {?proto.google.rpc.Status|undefined} value
* @return {!proto.ml_pipelines.PipelineTaskFinalStatus} returns this
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.setError = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.PipelineTaskFinalStatus} returns this
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.clearError = function() {
return this.setError(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.hasError = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional int64 pipeline_job_uuid = 3;
* @return {number}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.getPipelineJobUuid = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
* @return {!proto.ml_pipelines.PipelineTaskFinalStatus} returns this
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.setPipelineJobUuid = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
/**
* optional string pipeline_job_name = 4;
* @return {string}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.getPipelineJobName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineTaskFinalStatus} returns this
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.setPipelineJobName = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional string pipeline_job_resource_name = 5;
* @return {string}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.getPipelineJobResourceName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineTaskFinalStatus} returns this
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.setPipelineJobResourceName = function(value) {
return jspb.Message.setProto3StringField(this, 5, value);
};
/**
* optional string pipeline_task_name = 6;
* @return {string}
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.getPipelineTaskName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.ml_pipelines.PipelineTaskFinalStatus} returns this
*/
proto.ml_pipelines.PipelineTaskFinalStatus.prototype.setPipelineTaskName = function(value) {
return jspb.Message.setProto3StringField(this, 6, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PipelineStateEnum.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PipelineStateEnum.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PipelineStateEnum} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineStateEnum.toObject = function(includeInstance, msg) {
var f, obj = {
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PipelineStateEnum}
*/
proto.ml_pipelines.PipelineStateEnum.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PipelineStateEnum;
return proto.ml_pipelines.PipelineStateEnum.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PipelineStateEnum} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PipelineStateEnum}
*/
proto.ml_pipelines.PipelineStateEnum.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PipelineStateEnum.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PipelineStateEnum.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PipelineStateEnum} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PipelineStateEnum.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
/**
* @enum {number}
*/
proto.ml_pipelines.PipelineStateEnum.PipelineTaskState = {
TASK_STATE_UNSPECIFIED: 0,
PENDING: 1,
RUNNING_DRIVER: 2,
DRIVER_SUCCEEDED: 3,
RUNNING_EXECUTOR: 4,
SUCCEEDED: 5,
CANCEL_PENDING: 6,
CANCELLING: 7,
CANCELLED: 8,
FAILED: 9,
SKIPPED: 10,
QUEUED: 11,
NOT_TRIGGERED: 12,
UNSCHEDULABLE: 13
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PlatformSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PlatformSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PlatformSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PlatformSpec.toObject = function(includeInstance, msg) {
var f, obj = {
platformsMap: (f = msg.getPlatformsMap()) ? f.toObject(includeInstance, proto.ml_pipelines.SinglePlatformSpec.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PlatformSpec}
*/
proto.ml_pipelines.PlatformSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PlatformSpec;
return proto.ml_pipelines.PlatformSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PlatformSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PlatformSpec}
*/
proto.ml_pipelines.PlatformSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getPlatformsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_pipelines.SinglePlatformSpec.deserializeBinaryFromReader, "", new proto.ml_pipelines.SinglePlatformSpec());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PlatformSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PlatformSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PlatformSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PlatformSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getPlatformsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_pipelines.SinglePlatformSpec.serializeBinaryToWriter);
}
};
/**
* map<string, SinglePlatformSpec> platforms = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ml_pipelines.SinglePlatformSpec>}
*/
proto.ml_pipelines.PlatformSpec.prototype.getPlatformsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ml_pipelines.SinglePlatformSpec>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.ml_pipelines.SinglePlatformSpec));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PlatformSpec} returns this
*/
proto.ml_pipelines.PlatformSpec.prototype.clearPlatformsMap = function() {
this.getPlatformsMap().clear();
return this;};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.SinglePlatformSpec.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.SinglePlatformSpec.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.SinglePlatformSpec} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.SinglePlatformSpec.toObject = function(includeInstance, msg) {
var f, obj = {
deploymentSpec: (f = msg.getDeploymentSpec()) && proto.ml_pipelines.PlatformDeploymentConfig.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.SinglePlatformSpec}
*/
proto.ml_pipelines.SinglePlatformSpec.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.SinglePlatformSpec;
return proto.ml_pipelines.SinglePlatformSpec.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.SinglePlatformSpec} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.SinglePlatformSpec}
*/
proto.ml_pipelines.SinglePlatformSpec.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ml_pipelines.PlatformDeploymentConfig;
reader.readMessage(value,proto.ml_pipelines.PlatformDeploymentConfig.deserializeBinaryFromReader);
msg.setDeploymentSpec(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.SinglePlatformSpec.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.SinglePlatformSpec.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.SinglePlatformSpec} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.SinglePlatformSpec.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getDeploymentSpec();
if (f != null) {
writer.writeMessage(
1,
f,
proto.ml_pipelines.PlatformDeploymentConfig.serializeBinaryToWriter
);
}
};
/**
* optional PlatformDeploymentConfig deployment_spec = 1;
* @return {?proto.ml_pipelines.PlatformDeploymentConfig}
*/
proto.ml_pipelines.SinglePlatformSpec.prototype.getDeploymentSpec = function() {
return /** @type{?proto.ml_pipelines.PlatformDeploymentConfig} */ (
jspb.Message.getWrapperField(this, proto.ml_pipelines.PlatformDeploymentConfig, 1));
};
/**
* @param {?proto.ml_pipelines.PlatformDeploymentConfig|undefined} value
* @return {!proto.ml_pipelines.SinglePlatformSpec} returns this
*/
proto.ml_pipelines.SinglePlatformSpec.prototype.setDeploymentSpec = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ml_pipelines.SinglePlatformSpec} returns this
*/
proto.ml_pipelines.SinglePlatformSpec.prototype.clearDeploymentSpec = function() {
return this.setDeploymentSpec(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ml_pipelines.SinglePlatformSpec.prototype.hasDeploymentSpec = function() {
return jspb.Message.getField(this, 1) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.ml_pipelines.PlatformDeploymentConfig.prototype.toObject = function(opt_includeInstance) {
return proto.ml_pipelines.PlatformDeploymentConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.ml_pipelines.PlatformDeploymentConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PlatformDeploymentConfig.toObject = function(includeInstance, msg) {
var f, obj = {
executorsMap: (f = msg.getExecutorsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Struct.toObject) : []
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ml_pipelines.PlatformDeploymentConfig}
*/
proto.ml_pipelines.PlatformDeploymentConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ml_pipelines.PlatformDeploymentConfig;
return proto.ml_pipelines.PlatformDeploymentConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ml_pipelines.PlatformDeploymentConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ml_pipelines.PlatformDeploymentConfig}
*/
proto.ml_pipelines.PlatformDeploymentConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = msg.getExecutorsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Struct.deserializeBinaryFromReader, "", new proto.google.protobuf.Struct());
});
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ml_pipelines.PlatformDeploymentConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ml_pipelines.PlatformDeploymentConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ml_pipelines.PlatformDeploymentConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ml_pipelines.PlatformDeploymentConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getExecutorsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Struct.serializeBinaryToWriter);
}
};
/**
* map<string, google.protobuf.Struct> executors = 1;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.google.protobuf.Struct>}
*/
proto.ml_pipelines.PlatformDeploymentConfig.prototype.getExecutorsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.google.protobuf.Struct>} */ (
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
proto.google.protobuf.Struct));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ml_pipelines.PlatformDeploymentConfig} returns this
*/
proto.ml_pipelines.PlatformDeploymentConfig.prototype.clearExecutorsMap = function() {
this.getExecutorsMap().clear();
return this;};
goog.object.extend(exports, proto.ml_pipelines);
| 376 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google/rpc/status.ts | /* eslint-disable */
import Long from 'long';
import _m0 from 'protobufjs/minimal';
import { Any } from '../../google/protobuf/any';
export const protobufPackage = 'google.rpc';
/**
* The `Status` type defines a logical error model that is suitable for
* different programming environments, including REST APIs and RPC APIs. It is
* used by [gRPC](https://github.com/grpc). Each `Status` message contains
* three pieces of data: error code, error message, and error details.
*
* You can find out more about this error model and how to work with it in the
* [API Design Guide](https://cloud.google.com/apis/design/errors).
*/
export interface Status {
/** The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. */
code: number;
/**
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
*/
message: string;
/**
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*/
details: Any[];
}
const baseStatus: object = { code: 0, message: '' };
export const Status = {
encode(message: Status, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.code !== 0) {
writer.uint32(8).int32(message.code);
}
if (message.message !== '') {
writer.uint32(18).string(message.message);
}
for (const v of message.details) {
Any.encode(v!, writer.uint32(26).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Status {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseStatus } as Status;
message.details = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.code = reader.int32();
break;
case 2:
message.message = reader.string();
break;
case 3:
message.details.push(Any.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Status {
const message = { ...baseStatus } as Status;
message.code = object.code !== undefined && object.code !== null ? Number(object.code) : 0;
message.message =
object.message !== undefined && object.message !== null ? String(object.message) : '';
message.details = (object.details ?? []).map((e: any) => Any.fromJSON(e));
return message;
},
toJSON(message: Status): unknown {
const obj: any = {};
message.code !== undefined && (obj.code = Math.round(message.code));
message.message !== undefined && (obj.message = message.message);
if (message.details) {
obj.details = message.details.map((e) => (e ? Any.toJSON(e) : undefined));
} else {
obj.details = [];
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<Status>, I>>(object: I): Status {
const message = { ...baseStatus } as Status;
message.code = object.code ?? 0;
message.message = object.message ?? '';
message.details = object.details?.map((e) => Any.fromPartial(e)) || [];
return message;
},
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin
? T
: T extends Array<infer U>
? Array<DeepPartial<U>>
: T extends ReadonlyArray<infer U>
? ReadonlyArray<DeepPartial<U>>
: T extends {}
? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin
? P
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
if (_m0.util.Long !== Long) {
_m0.util.Long = Long as any;
_m0.configure();
}
| 377 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google/rpc/status_pb.js | // source: google/rpc/status.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return this')();
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
goog.object.extend(proto, google_protobuf_any_pb);
goog.exportSymbol('proto.google.rpc.Status', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.rpc.Status = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.rpc.Status.repeatedFields_, null);
};
goog.inherits(proto.google.rpc.Status, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.rpc.Status.displayName = 'proto.google.rpc.Status';
}
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.google.rpc.Status.repeatedFields_ = [3];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.rpc.Status.prototype.toObject = function(opt_includeInstance) {
return proto.google.rpc.Status.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.rpc.Status} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.rpc.Status.toObject = function(includeInstance, msg) {
var f, obj = {
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
message: jspb.Message.getFieldWithDefault(msg, 2, ""),
detailsList: jspb.Message.toObjectList(msg.getDetailsList(),
google_protobuf_any_pb.Any.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.rpc.Status}
*/
proto.google.rpc.Status.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.rpc.Status;
return proto.google.rpc.Status.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.rpc.Status} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.rpc.Status}
*/
proto.google.rpc.Status.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readInt32());
msg.setCode(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setMessage(value);
break;
case 3:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.addDetails(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.rpc.Status.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.rpc.Status.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.rpc.Status} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.rpc.Status.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCode();
if (f !== 0) {
writer.writeInt32(
1,
f
);
}
f = message.getMessage();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getDetailsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
3,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**
* optional int32 code = 1;
* @return {number}
*/
proto.google.rpc.Status.prototype.getCode = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.google.rpc.Status} returns this
*/
proto.google.rpc.Status.prototype.setCode = function(value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
/**
* optional string message = 2;
* @return {string}
*/
proto.google.rpc.Status.prototype.getMessage = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.google.rpc.Status} returns this
*/
proto.google.rpc.Status.prototype.setMessage = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* repeated google.protobuf.Any details = 3;
* @return {!Array<!proto.google.protobuf.Any>}
*/
proto.google.rpc.Status.prototype.getDetailsList = function() {
return /** @type{!Array<!proto.google.protobuf.Any>} */ (
jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3));
};
/**
* @param {!Array<!proto.google.protobuf.Any>} value
* @return {!proto.google.rpc.Status} returns this
*/
proto.google.rpc.Status.prototype.setDetailsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 3, value);
};
/**
* @param {!proto.google.protobuf.Any=} opt_value
* @param {number=} opt_index
* @return {!proto.google.protobuf.Any}
*/
proto.google.rpc.Status.prototype.addDetails = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.google.rpc.Status} returns this
*/
proto.google.rpc.Status.prototype.clearDetailsList = function() {
return this.setDetailsList([]);
};
goog.object.extend(exports, proto.google.rpc);
| 378 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google/rpc/status_pb.d.ts | import * as jspb from 'google-protobuf'
import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb';
export class Status extends jspb.Message {
getCode(): number;
setCode(value: number): Status;
getMessage(): string;
setMessage(value: string): Status;
getDetailsList(): Array<google_protobuf_any_pb.Any>;
setDetailsList(value: Array<google_protobuf_any_pb.Any>): Status;
clearDetailsList(): Status;
addDetails(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Status.AsObject;
static toObject(includeInstance: boolean, msg: Status): Status.AsObject;
static serializeBinaryToWriter(message: Status, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Status;
static deserializeBinaryFromReader(message: Status, reader: jspb.BinaryReader): Status;
}
export namespace Status {
export type AsObject = {
code: number,
message: string,
detailsList: Array<google_protobuf_any_pb.Any.AsObject>,
}
}
| 379 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google/protobuf/struct.ts | /* eslint-disable */
import Long from 'long';
import _m0 from 'protobufjs/minimal';
export const protobufPackage = 'google.protobuf';
/**
* `NullValue` is a singleton enumeration to represent the null value for the
* `Value` type union.
*
* The JSON representation for `NullValue` is JSON `null`.
*/
export enum NullValue {
/** NULL_VALUE - Null value. */
NULL_VALUE = 0,
UNRECOGNIZED = -1,
}
export function nullValueFromJSON(object: any): NullValue {
switch (object) {
case 0:
case 'NULL_VALUE':
return NullValue.NULL_VALUE;
case -1:
case 'UNRECOGNIZED':
default:
return NullValue.UNRECOGNIZED;
}
}
export function nullValueToJSON(object: NullValue): string {
switch (object) {
case NullValue.NULL_VALUE:
return 'NULL_VALUE';
default:
return 'UNKNOWN';
}
}
/**
* `Struct` represents a structured data value, consisting of fields
* which map to dynamically typed values. In some languages, `Struct`
* might be supported by a native representation. For example, in
* scripting languages like JS a struct is represented as an
* object. The details of that representation are described together
* with the proto support for the language.
*
* The JSON representation for `Struct` is JSON object.
*/
export interface Struct {
/** Unordered map of dynamically typed values. */
fields: { [key: string]: any | undefined };
}
export interface Struct_FieldsEntry {
key: string;
value: any | undefined;
}
/**
* `Value` represents a dynamically typed value which can be either
* null, a number, a string, a boolean, a recursive struct value, or a
* list of values. A producer of value is expected to set one of that
* variants, absence of any variant indicates an error.
*
* The JSON representation for `Value` is JSON value.
*/
export interface Value {
/** Represents a null value. */
nullValue: NullValue | undefined;
/** Represents a double value. */
numberValue: number | undefined;
/** Represents a string value. */
stringValue: string | undefined;
/** Represents a boolean value. */
boolValue: boolean | undefined;
/** Represents a structured value. */
structValue: { [key: string]: any } | undefined;
/** Represents a repeated `Value`. */
listValue: Array<any> | undefined;
}
/**
* `ListValue` is a wrapper around a repeated field of values.
*
* The JSON representation for `ListValue` is JSON array.
*/
export interface ListValue {
/** Repeated field of dynamically typed values. */
values: any[];
}
const baseStruct: object = {};
export const Struct = {
encode(message: Struct, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
Object.entries(message.fields).forEach(([key, value]) => {
if (value !== undefined) {
Struct_FieldsEntry.encode({ key: key as any, value }, writer.uint32(10).fork()).ldelim();
}
});
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Struct {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseStruct } as Struct;
message.fields = {};
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32());
if (entry1.value !== undefined) {
message.fields[entry1.key] = entry1.value;
}
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Struct {
const message = { ...baseStruct } as Struct;
message.fields = Object.entries(object.fields ?? {}).reduce<{ [key: string]: any | undefined }>(
(acc, [key, value]) => {
acc[key] = value as any | undefined;
return acc;
},
{},
);
return message;
},
toJSON(message: Struct): unknown {
const obj: any = {};
obj.fields = {};
if (message.fields) {
Object.entries(message.fields).forEach(([k, v]) => {
obj.fields[k] = v;
});
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<Struct>, I>>(object: I): Struct {
const message = { ...baseStruct } as Struct;
message.fields = Object.entries(object.fields ?? {}).reduce<{ [key: string]: any | undefined }>(
(acc, [key, value]) => {
if (value !== undefined) {
acc[key] = value;
}
return acc;
},
{},
);
return message;
},
wrap(object: { [key: string]: any } | undefined): Struct {
const struct = Struct.fromPartial({});
if (object !== undefined) {
Object.keys(object).forEach((key) => {
struct.fields[key] = object[key];
});
}
return struct;
},
unwrap(message: Struct): { [key: string]: any } {
const object: { [key: string]: any } = {};
Object.keys(message.fields).forEach((key) => {
object[key] = message.fields[key];
});
return object;
},
};
const baseStruct_FieldsEntry: object = { key: '' };
export const Struct_FieldsEntry = {
encode(message: Struct_FieldsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.key !== '') {
writer.uint32(10).string(message.key);
}
if (message.value !== undefined) {
Value.encode(Value.wrap(message.value), writer.uint32(18).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Struct_FieldsEntry {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseStruct_FieldsEntry } as Struct_FieldsEntry;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.key = reader.string();
break;
case 2:
message.value = Value.unwrap(Value.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Struct_FieldsEntry {
const message = { ...baseStruct_FieldsEntry } as Struct_FieldsEntry;
message.key = object.key !== undefined && object.key !== null ? String(object.key) : '';
message.value = object.value;
return message;
},
toJSON(message: Struct_FieldsEntry): unknown {
const obj: any = {};
message.key !== undefined && (obj.key = message.key);
message.value !== undefined && (obj.value = message.value);
return obj;
},
fromPartial<I extends Exact<DeepPartial<Struct_FieldsEntry>, I>>(object: I): Struct_FieldsEntry {
const message = { ...baseStruct_FieldsEntry } as Struct_FieldsEntry;
message.key = object.key ?? '';
message.value = object.value ?? undefined;
return message;
},
};
const baseValue: object = {};
export const Value = {
encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.nullValue !== undefined) {
writer.uint32(8).int32(message.nullValue);
}
if (message.numberValue !== undefined) {
writer.uint32(17).double(message.numberValue);
}
if (message.stringValue !== undefined) {
writer.uint32(26).string(message.stringValue);
}
if (message.boolValue !== undefined) {
writer.uint32(32).bool(message.boolValue);
}
if (message.structValue !== undefined) {
Struct.encode(Struct.wrap(message.structValue), writer.uint32(42).fork()).ldelim();
}
if (message.listValue !== undefined) {
ListValue.encode(ListValue.wrap(message.listValue), writer.uint32(50).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Value {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseValue } as Value;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.nullValue = reader.int32() as any;
break;
case 2:
message.numberValue = reader.double();
break;
case 3:
message.stringValue = reader.string();
break;
case 4:
message.boolValue = reader.bool();
break;
case 5:
message.structValue = Struct.unwrap(Struct.decode(reader, reader.uint32()));
break;
case 6:
message.listValue = ListValue.unwrap(ListValue.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Value {
const message = { ...baseValue } as Value;
message.nullValue =
object.nullValue !== undefined && object.nullValue !== null
? nullValueFromJSON(object.nullValue)
: undefined;
message.numberValue =
object.numberValue !== undefined && object.numberValue !== null
? Number(object.numberValue)
: undefined;
message.stringValue =
object.stringValue !== undefined && object.stringValue !== null
? String(object.stringValue)
: undefined;
message.boolValue =
object.boolValue !== undefined && object.boolValue !== null
? Boolean(object.boolValue)
: undefined;
message.structValue = typeof object.structValue === 'object' ? object.structValue : undefined;
message.listValue = Array.isArray(object?.listValue) ? [...object.listValue] : undefined;
return message;
},
toJSON(message: Value): unknown {
const obj: any = {};
message.nullValue !== undefined &&
(obj.nullValue =
message.nullValue !== undefined ? nullValueToJSON(message.nullValue) : undefined);
message.numberValue !== undefined && (obj.numberValue = message.numberValue);
message.stringValue !== undefined && (obj.stringValue = message.stringValue);
message.boolValue !== undefined && (obj.boolValue = message.boolValue);
message.structValue !== undefined && (obj.structValue = message.structValue);
message.listValue !== undefined && (obj.listValue = message.listValue);
return obj;
},
fromPartial<I extends Exact<DeepPartial<Value>, I>>(object: I): Value {
const message = { ...baseValue } as Value;
message.nullValue = object.nullValue ?? undefined;
message.numberValue = object.numberValue ?? undefined;
message.stringValue = object.stringValue ?? undefined;
message.boolValue = object.boolValue ?? undefined;
message.structValue = object.structValue ?? undefined;
message.listValue = object.listValue ?? undefined;
return message;
},
wrap(value: any): Value {
if (value === null) {
return { nullValue: NullValue.NULL_VALUE } as Value;
} else if (typeof value === 'boolean') {
return { boolValue: value } as Value;
} else if (typeof value === 'number') {
return { numberValue: value } as Value;
} else if (typeof value === 'string') {
return { stringValue: value } as Value;
} else if (Array.isArray(value)) {
return { listValue: value } as Value;
} else if (typeof value === 'object') {
return { structValue: value } as Value;
} else if (typeof value === 'undefined') {
return {} as Value;
} else {
throw new Error('Unsupported any value type: ' + typeof value);
}
},
unwrap(message: Value): string | number | boolean | Object | null | Array<any> | undefined {
if (message?.stringValue !== undefined) {
return message.stringValue;
} else if (message?.numberValue !== undefined) {
return message.numberValue;
} else if (message?.boolValue !== undefined) {
return message.boolValue;
} else if (message?.structValue !== undefined) {
return message.structValue;
} else if (message?.listValue !== undefined) {
return message.listValue;
} else if (message?.nullValue !== undefined) {
return null;
}
return undefined;
},
};
const baseListValue: object = {};
export const ListValue = {
encode(message: ListValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
for (const v of message.values) {
Value.encode(Value.wrap(v!), writer.uint32(10).fork()).ldelim();
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): ListValue {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseListValue } as ListValue;
message.values = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.values.push(Value.unwrap(Value.decode(reader, reader.uint32())));
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): ListValue {
const message = { ...baseListValue } as ListValue;
message.values = Array.isArray(object?.values) ? [...object.values] : [];
return message;
},
toJSON(message: ListValue): unknown {
const obj: any = {};
if (message.values) {
obj.values = message.values.map((e) => e);
} else {
obj.values = [];
}
return obj;
},
fromPartial<I extends Exact<DeepPartial<ListValue>, I>>(object: I): ListValue {
const message = { ...baseListValue } as ListValue;
message.values = object.values?.map((e) => e) || [];
return message;
},
wrap(value: Array<any>): ListValue {
return { values: value };
},
unwrap(message: ListValue): Array<any> {
return message.values;
},
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin
? T
: T extends Array<infer U>
? Array<DeepPartial<U>>
: T extends ReadonlyArray<infer U>
? ReadonlyArray<DeepPartial<U>>
: T extends {}
? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin
? P
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
if (_m0.util.Long !== Long) {
_m0.util.Long = Long as any;
_m0.configure();
}
| 380 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google/protobuf/any.ts | /* eslint-disable */
import Long from 'long';
import _m0 from 'protobufjs/minimal';
export const protobufPackage = 'google.protobuf';
/**
* `Any` contains an arbitrary serialized protocol buffer message along with a
* URL that describes the type of the serialized message.
*
* Protobuf library provides support to pack/unpack Any values in the form
* of utility functions or additional generated methods of the Any type.
*
* Example 1: Pack and unpack a message in C++.
*
* Foo foo = ...;
* Any any;
* any.PackFrom(foo);
* ...
* if (any.UnpackTo(&foo)) {
* ...
* }
*
* Example 2: Pack and unpack a message in Java.
*
* Foo foo = ...;
* Any any = Any.pack(foo);
* ...
* if (any.is(Foo.class)) {
* foo = any.unpack(Foo.class);
* }
*
* Example 3: Pack and unpack a message in Python.
*
* foo = Foo(...)
* any = Any()
* any.Pack(foo)
* ...
* if any.Is(Foo.DESCRIPTOR):
* any.Unpack(foo)
* ...
*
* Example 4: Pack and unpack a message in Go
*
* foo := &pb.Foo{...}
* any, err := anypb.New(foo)
* if err != nil {
* ...
* }
* ...
* foo := &pb.Foo{}
* if err := any.UnmarshalTo(foo); err != nil {
* ...
* }
*
* The pack methods provided by protobuf library will by default use
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
* methods only use the fully qualified type name after the last '/'
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
* name "y.z".
*
*
* JSON
* ====
* The JSON representation of an `Any` value uses the regular
* representation of the deserialized, embedded message, with an
* additional field `@type` which contains the type URL. Example:
*
* package google.profile;
* message Person {
* string first_name = 1;
* string last_name = 2;
* }
*
* {
* "@type": "type.googleapis.com/google.profile.Person",
* "firstName": <string>,
* "lastName": <string>
* }
*
* If the embedded message type is well-known and has a custom JSON
* representation, that representation will be embedded adding a field
* `value` which holds the custom JSON in addition to the `@type`
* field. Example (for message [google.protobuf.Duration][]):
*
* {
* "@type": "type.googleapis.com/google.protobuf.Duration",
* "value": "1.212s"
* }
*/
export interface Any {
/**
* A URL/resource name that uniquely identifies the type of the serialized
* protocol buffer message. This string must contain at least
* one "/" character. The last segment of the URL's path must represent
* the fully qualified name of the type (as in
* `path/google.protobuf.Duration`). The name should be in a canonical form
* (e.g., leading "." is not accepted).
*
* In practice, teams usually precompile into the binary all types that they
* expect it to use in the context of Any. However, for URLs which use the
* scheme `http`, `https`, or no scheme, one can optionally set up a type
* server that maps type URLs to message definitions as follows:
*
* * If no scheme is provided, `https` is assumed.
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
* value in binary format, or produce an error.
* * Applications are allowed to cache lookup results based on the
* URL, or have them precompiled into a binary to avoid any
* lookup. Therefore, binary compatibility needs to be preserved
* on changes to types. (Use versioned type names to manage
* breaking changes.)
*
* Note: this functionality is not currently available in the official
* protobuf release, and it is not used for type URLs beginning with
* type.googleapis.com.
*
* Schemes other than `http`, `https` (or the empty scheme) might be
* used with implementation specific semantics.
*/
typeUrl: string;
/** Must be a valid serialized protocol buffer of the above specified type. */
value: Uint8Array;
}
const baseAny: object = { typeUrl: '' };
export const Any = {
encode(message: Any, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.typeUrl !== '') {
writer.uint32(10).string(message.typeUrl);
}
if (message.value.length !== 0) {
writer.uint32(18).bytes(message.value);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Any {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseAny } as Any;
message.value = new Uint8Array();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.typeUrl = reader.string();
break;
case 2:
message.value = reader.bytes();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Any {
const message = { ...baseAny } as Any;
message.typeUrl =
object.typeUrl !== undefined && object.typeUrl !== null ? String(object.typeUrl) : '';
message.value =
object.value !== undefined && object.value !== null
? bytesFromBase64(object.value)
: new Uint8Array();
return message;
},
toJSON(message: Any): unknown {
const obj: any = {};
message.typeUrl !== undefined && (obj.typeUrl = message.typeUrl);
message.value !== undefined &&
(obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array()));
return obj;
},
fromPartial<I extends Exact<DeepPartial<Any>, I>>(object: I): Any {
const message = { ...baseAny } as Any;
message.typeUrl = object.typeUrl ?? '';
message.value = object.value ?? new Uint8Array();
return message;
},
};
declare var self: any | undefined;
declare var window: any | undefined;
declare var global: any | undefined;
var globalThis: any = (() => {
if (typeof globalThis !== 'undefined') return globalThis;
if (typeof self !== 'undefined') return self;
if (typeof window !== 'undefined') return window;
if (typeof global !== 'undefined') return global;
throw 'Unable to locate global object';
})();
const atob: (b64: string) => string =
globalThis.atob || ((b64) => globalThis.Buffer.from(b64, 'base64').toString('binary'));
function bytesFromBase64(b64: string): Uint8Array {
const bin = atob(b64);
const arr = new Uint8Array(bin.length);
for (let i = 0; i < bin.length; ++i) {
arr[i] = bin.charCodeAt(i);
}
return arr;
}
const btoa: (bin: string) => string =
globalThis.btoa || ((bin) => globalThis.Buffer.from(bin, 'binary').toString('base64'));
function base64FromBytes(arr: Uint8Array): string {
const bin: string[] = [];
for (const byte of arr) {
bin.push(String.fromCharCode(byte));
}
return btoa(bin.join(''));
}
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin
? T
: T extends Array<infer U>
? Array<DeepPartial<U>>
: T extends ReadonlyArray<infer U>
? ReadonlyArray<DeepPartial<U>>
: T extends {}
? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin
? P
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
if (_m0.util.Long !== Long) {
_m0.util.Long = Long as any;
_m0.configure();
}
| 381 |
0 | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google | kubeflow_public_repos/pipelines/frontend/src/generated/pipeline_spec/google/protobuf/duration.ts | /* eslint-disable */
import Long from 'long';
import _m0 from 'protobufjs/minimal';
export const protobufPackage = 'google.protobuf';
/**
* A Duration represents a signed, fixed-length span of time represented
* as a count of seconds and fractions of seconds at nanosecond
* resolution. It is independent of any calendar and concepts like "day"
* or "month". It is related to Timestamp in that the difference between
* two Timestamp values is a Duration and it can be added or subtracted
* from a Timestamp. Range is approximately +-10,000 years.
*
* # Examples
*
* Example 1: Compute Duration from two Timestamps in pseudo code.
*
* Timestamp start = ...;
* Timestamp end = ...;
* Duration duration = ...;
*
* duration.seconds = end.seconds - start.seconds;
* duration.nanos = end.nanos - start.nanos;
*
* if (duration.seconds < 0 && duration.nanos > 0) {
* duration.seconds += 1;
* duration.nanos -= 1000000000;
* } else if (duration.seconds > 0 && duration.nanos < 0) {
* duration.seconds -= 1;
* duration.nanos += 1000000000;
* }
*
* Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
*
* Timestamp start = ...;
* Duration duration = ...;
* Timestamp end = ...;
*
* end.seconds = start.seconds + duration.seconds;
* end.nanos = start.nanos + duration.nanos;
*
* if (end.nanos < 0) {
* end.seconds -= 1;
* end.nanos += 1000000000;
* } else if (end.nanos >= 1000000000) {
* end.seconds += 1;
* end.nanos -= 1000000000;
* }
*
* Example 3: Compute Duration from datetime.timedelta in Python.
*
* td = datetime.timedelta(days=3, minutes=10)
* duration = Duration()
* duration.FromTimedelta(td)
*
* # JSON Mapping
*
* In JSON format, the Duration type is encoded as a string rather than an
* object, where the string ends in the suffix "s" (indicating seconds) and
* is preceded by the number of seconds, with nanoseconds expressed as
* fractional seconds. For example, 3 seconds with 0 nanoseconds should be
* encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
* be expressed in JSON format as "3.000000001s", and 3 seconds and 1
* microsecond should be expressed in JSON format as "3.000001s".
*/
export interface Duration {
/**
* Signed seconds of the span of time. Must be from -315,576,000,000
* to +315,576,000,000 inclusive. Note: these bounds are computed from:
* 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
*/
seconds: number;
/**
* Signed fractions of a second at nanosecond resolution of the span
* of time. Durations less than one second are represented with a 0
* `seconds` field and a positive or negative `nanos` field. For durations
* of one second or more, a non-zero value for the `nanos` field must be
* of the same sign as the `seconds` field. Must be from -999,999,999
* to +999,999,999 inclusive.
*/
nanos: number;
}
const baseDuration: object = { seconds: 0, nanos: 0 };
export const Duration = {
encode(message: Duration, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.seconds !== 0) {
writer.uint32(8).int64(message.seconds);
}
if (message.nanos !== 0) {
writer.uint32(16).int32(message.nanos);
}
return writer;
},
decode(input: _m0.Reader | Uint8Array, length?: number): Duration {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = { ...baseDuration } as Duration;
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.seconds = longToNumber(reader.int64() as Long);
break;
case 2:
message.nanos = reader.int32();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object: any): Duration {
const message = { ...baseDuration } as Duration;
message.seconds =
object.seconds !== undefined && object.seconds !== null ? Number(object.seconds) : 0;
message.nanos = object.nanos !== undefined && object.nanos !== null ? Number(object.nanos) : 0;
return message;
},
toJSON(message: Duration): unknown {
const obj: any = {};
message.seconds !== undefined && (obj.seconds = Math.round(message.seconds));
message.nanos !== undefined && (obj.nanos = Math.round(message.nanos));
return obj;
},
fromPartial<I extends Exact<DeepPartial<Duration>, I>>(object: I): Duration {
const message = { ...baseDuration } as Duration;
message.seconds = object.seconds ?? 0;
message.nanos = object.nanos ?? 0;
return message;
},
};
declare var self: any | undefined;
declare var window: any | undefined;
declare var global: any | undefined;
var globalThis: any = (() => {
if (typeof globalThis !== 'undefined') return globalThis;
if (typeof self !== 'undefined') return self;
if (typeof window !== 'undefined') return window;
if (typeof global !== 'undefined') return global;
throw 'Unable to locate global object';
})();
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin
? T
: T extends Array<infer U>
? Array<DeepPartial<U>>
: T extends ReadonlyArray<infer U>
? ReadonlyArray<DeepPartial<U>>
: T extends {}
? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin
? P
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
function longToNumber(long: Long): number {
if (long.gt(Number.MAX_SAFE_INTEGER)) {
throw new globalThis.Error('Value is larger than Number.MAX_SAFE_INTEGER');
}
return long.toNumber();
}
if (_m0.util.Long !== Long) {
_m0.util.Long = Long as any;
_m0.configure();
}
| 382 |
0 | kubeflow_public_repos/pipelines/frontend/src | kubeflow_public_repos/pipelines/frontend/src/__mocks__/typestyle.js | /*
* Copyright 2018 The Kubeflow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { classes } from 'typestyle';
// Mocks the typestyle module to emit a fixed string for class names to avoid
// test churn on style changes
module.exports = {
classes,
cssRaw: () => null,
cssRule: () => null,
style: (obj) => '',
stylesheet: (obj) => {
const mock = {};
Object.keys(obj).forEach(key => mock[key] = key);
return mock;
},
};
| 383 |
0 | kubeflow_public_repos/pipelines/frontend/third_party | kubeflow_public_repos/pipelines/frontend/third_party/argo-ui/LICENSE |
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2017-2018 The Argo Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
| 384 |
0 | kubeflow_public_repos/pipelines/frontend/third_party | kubeflow_public_repos/pipelines/frontend/third_party/watchpack/LICENSE | Copyright JS Foundation and other contributors
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 385 |
0 | kubeflow_public_repos/pipelines/frontend/third_party | kubeflow_public_repos/pipelines/frontend/third_party/once/LICENSE | MIT License
Copyright (c) 2020 Nathan Rajlich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. | 386 |
0 | kubeflow_public_repos/pipelines/frontend/third_party | kubeflow_public_repos/pipelines/frontend/third_party/jest/LICENSE | MIT License
For Jest software
Copyright (c) 2014-present, Facebook, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
| 387 |
0 | kubeflow_public_repos/pipelines/frontend/third_party/@kubernetes | kubeflow_public_repos/pipelines/frontend/third_party/@kubernetes/client-node/LICENSE | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
| 388 |
0 | kubeflow_public_repos/pipelines/frontend/third_party | kubeflow_public_repos/pipelines/frontend/third_party/ts-proto-descriptors/LICENSE | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. | 389 |
0 | kubeflow_public_repos/pipelines/frontend/third_party | kubeflow_public_repos/pipelines/frontend/third_party/mamacro/LICENSE | The MIT License
Copyright (c) 2019 Sven Sauleau
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
| 390 |
0 | kubeflow_public_repos/pipelines | kubeflow_public_repos/pipelines/kubernetes_platform/go.mod | module github.com/kubeflow/pipelines/kubernetes_platform
go 1.21
require google.golang.org/protobuf v1.27.1
require golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
| 391 |
0 | kubeflow_public_repos/pipelines | kubeflow_public_repos/pipelines/kubernetes_platform/README.md | # Kubernetes platform-specific feature
Contains protos, non-proto Python library code, and tools for generating Go and Python proto library code.
## Dependencies
You need to have `protoc` installed. You can find the releases [here](https://github.com/protocolbuffers/protobuf/releases).
If you get an error `ImportError: cannot import name 'runtime_version' from 'google.protobuf'` when trying to import kfp-kubernetes that you've built with protoc, you're using a protoc that's too new. Version 21.12 is known to work for compiling the python protos. Version 27.1 is known to produce this error.
## Generate Python proto code (alongside non-proto library code)
Python proto code should be updated prior to releasing the package. For this reason, bumping the version number is included in the instructions.
Python proto code *should not* be checked into source control.
1. Update version in `python/setup.py` if applicable.
2. `make clean-python python`
If you get an error `error: invalid command 'bdist_wheel'`, run `pip install wheel` then try again.
## Generate Go proto code
Go proto code should be updated when the `kubernetes_executor_config.proto` file is updated.
Go proto code *should* be checked into source control.
```bash
make clean-go golang
```
| 392 |
0 | kubeflow_public_repos/pipelines | kubeflow_public_repos/pipelines/kubernetes_platform/Makefile | # Copyright 2023 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
PREBUILT_REMOTE_IMAGE=gcr.io/ml-pipeline-test/api-generator:latest
.PHONY: all
all: golang python
.PHONY: clean
clean: clean-go clean-python
# Generate proto packages using a pre-built api-generator image.
.PHONY: golang
golang: proto/*.proto
docker run --interactive --rm \
--user $$(id -u):$$(id -g) \
-v "$$(pwd)/..":"/go/src/github.com/kubeflow/pipelines":z \
$(PREBUILT_REMOTE_IMAGE) \
sh -c 'cd /go/src/github.com/kubeflow/pipelines/kubernetes_platform && make generate-go-in-container'
# Delete all generated proto go packages.
.PHONY: clean-go
clean-go:
rm -rf kubernetes_platform/go
# Build and locally install Python package.
.PHONY: python
python: proto/kubernetes_executor_config.proto
python3 python/generate_proto.py && cd python && python3 setup.py bdist_wheel
# Build and locally install Python package using editable mode for development.
.PHONY: python-dev
python-dev: proto/kubernetes_executor_config.proto
python3 python/generate_proto.py && cd python && pip install -e .[dev]
# Delete all generated Python packages
.PHONY: clean-python
clean-python:
rm -rf python/build
rm -rf python/dist
rm -rf python/kfp_kubernetes.egg-info
rm -f python/kfp/kubernetes/kubernetes_executor_config_pb2.py
##########################
# IMPLEMENTATION DETAILS -- run inside of container for generating go
##########################
.PHONY: generate-go-in-container
generate-go-in-container:
mkdir -p go/kubernetesplatform
cd proto && protoc -I=. \
--go_out=../go/kubernetesplatform \
--go_opt=paths=source_relative \
kubernetes_executor_config.proto
| 393 |
0 | kubeflow_public_repos/pipelines | kubeflow_public_repos/pipelines/kubernetes_platform/OWNERS | approvers:
- chensun
- hbelmiro
reviewers:
- chensun
- DharmitD
- hbelmiro
- gregsheremeta
| 394 |
0 | kubeflow_public_repos/pipelines | kubeflow_public_repos/pipelines/kubernetes_platform/go.sum | github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ=
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
| 395 |
0 | kubeflow_public_repos/pipelines/kubernetes_platform/go | kubeflow_public_repos/pipelines/kubernetes_platform/go/kubernetesplatform/kubernetes_executor_config.pb.go | // Copyright 2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.33.0
// protoc v3.17.3
// source: kubernetes_executor_config.proto
package kubernetesplatform
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
structpb "google.golang.org/protobuf/types/known/structpb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type KubernetesExecutorConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SecretAsVolume []*SecretAsVolume `protobuf:"bytes,1,rep,name=secret_as_volume,json=secretAsVolume,proto3" json:"secret_as_volume,omitempty"`
SecretAsEnv []*SecretAsEnv `protobuf:"bytes,2,rep,name=secret_as_env,json=secretAsEnv,proto3" json:"secret_as_env,omitempty"`
PvcMount []*PvcMount `protobuf:"bytes,3,rep,name=pvc_mount,json=pvcMount,proto3" json:"pvc_mount,omitempty"`
NodeSelector *NodeSelector `protobuf:"bytes,4,opt,name=node_selector,json=nodeSelector,proto3" json:"node_selector,omitempty"`
PodMetadata *PodMetadata `protobuf:"bytes,5,opt,name=pod_metadata,json=podMetadata,proto3" json:"pod_metadata,omitempty"`
ImagePullSecret []*ImagePullSecret `protobuf:"bytes,6,rep,name=image_pull_secret,json=imagePullSecret,proto3" json:"image_pull_secret,omitempty"`
// One of Always, Never, IfNotPresent.
ImagePullPolicy string `protobuf:"bytes,7,opt,name=image_pull_policy,json=imagePullPolicy,proto3" json:"image_pull_policy,omitempty"`
ConfigMapAsVolume []*ConfigMapAsVolume `protobuf:"bytes,8,rep,name=config_map_as_volume,json=configMapAsVolume,proto3" json:"config_map_as_volume,omitempty"`
ConfigMapAsEnv []*ConfigMapAsEnv `protobuf:"bytes,9,rep,name=config_map_as_env,json=configMapAsEnv,proto3" json:"config_map_as_env,omitempty"`
ActiveDeadlineSeconds int64 `protobuf:"varint,10,opt,name=active_deadline_seconds,json=activeDeadlineSeconds,proto3" json:"active_deadline_seconds,omitempty"`
FieldPathAsEnv []*FieldPathAsEnv `protobuf:"bytes,11,rep,name=field_path_as_env,json=fieldPathAsEnv,proto3" json:"field_path_as_env,omitempty"`
Tolerations []*Toleration `protobuf:"bytes,12,rep,name=tolerations,proto3" json:"tolerations,omitempty"`
GenericEphemeralVolume []*GenericEphemeralVolume `protobuf:"bytes,13,rep,name=generic_ephemeral_volume,json=genericEphemeralVolume,proto3" json:"generic_ephemeral_volume,omitempty"`
NodeAffinity []*NodeAffinityTerm `protobuf:"bytes,14,rep,name=node_affinity,json=nodeAffinity,proto3" json:"node_affinity,omitempty"`
PodAffinity []*PodAffinityTerm `protobuf:"bytes,15,rep,name=pod_affinity,json=podAffinity,proto3" json:"pod_affinity,omitempty"`
EnabledSharedMemory *EnabledSharedMemory `protobuf:"bytes,16,opt,name=enabled_shared_memory,json=enabledSharedMemory,proto3" json:"enabled_shared_memory,omitempty"`
EmptyDirMounts []*EmptyDirMount `protobuf:"bytes,17,rep,name=empty_dir_mounts,json=emptyDirMounts,proto3" json:"empty_dir_mounts,omitempty"`
}
func (x *KubernetesExecutorConfig) Reset() {
*x = KubernetesExecutorConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KubernetesExecutorConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KubernetesExecutorConfig) ProtoMessage() {}
func (x *KubernetesExecutorConfig) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use KubernetesExecutorConfig.ProtoReflect.Descriptor instead.
func (*KubernetesExecutorConfig) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{0}
}
func (x *KubernetesExecutorConfig) GetSecretAsVolume() []*SecretAsVolume {
if x != nil {
return x.SecretAsVolume
}
return nil
}
func (x *KubernetesExecutorConfig) GetSecretAsEnv() []*SecretAsEnv {
if x != nil {
return x.SecretAsEnv
}
return nil
}
func (x *KubernetesExecutorConfig) GetPvcMount() []*PvcMount {
if x != nil {
return x.PvcMount
}
return nil
}
func (x *KubernetesExecutorConfig) GetNodeSelector() *NodeSelector {
if x != nil {
return x.NodeSelector
}
return nil
}
func (x *KubernetesExecutorConfig) GetPodMetadata() *PodMetadata {
if x != nil {
return x.PodMetadata
}
return nil
}
func (x *KubernetesExecutorConfig) GetImagePullSecret() []*ImagePullSecret {
if x != nil {
return x.ImagePullSecret
}
return nil
}
func (x *KubernetesExecutorConfig) GetImagePullPolicy() string {
if x != nil {
return x.ImagePullPolicy
}
return ""
}
func (x *KubernetesExecutorConfig) GetConfigMapAsVolume() []*ConfigMapAsVolume {
if x != nil {
return x.ConfigMapAsVolume
}
return nil
}
func (x *KubernetesExecutorConfig) GetConfigMapAsEnv() []*ConfigMapAsEnv {
if x != nil {
return x.ConfigMapAsEnv
}
return nil
}
func (x *KubernetesExecutorConfig) GetActiveDeadlineSeconds() int64 {
if x != nil {
return x.ActiveDeadlineSeconds
}
return 0
}
func (x *KubernetesExecutorConfig) GetFieldPathAsEnv() []*FieldPathAsEnv {
if x != nil {
return x.FieldPathAsEnv
}
return nil
}
func (x *KubernetesExecutorConfig) GetTolerations() []*Toleration {
if x != nil {
return x.Tolerations
}
return nil
}
func (x *KubernetesExecutorConfig) GetGenericEphemeralVolume() []*GenericEphemeralVolume {
if x != nil {
return x.GenericEphemeralVolume
}
return nil
}
func (x *KubernetesExecutorConfig) GetNodeAffinity() []*NodeAffinityTerm {
if x != nil {
return x.NodeAffinity
}
return nil
}
func (x *KubernetesExecutorConfig) GetPodAffinity() []*PodAffinityTerm {
if x != nil {
return x.PodAffinity
}
return nil
}
func (x *KubernetesExecutorConfig) GetEnabledSharedMemory() *EnabledSharedMemory {
if x != nil {
return x.EnabledSharedMemory
}
return nil
}
func (x *KubernetesExecutorConfig) GetEmptyDirMounts() []*EmptyDirMount {
if x != nil {
return x.EmptyDirMounts
}
return nil
}
type EnabledSharedMemory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name of the Shared Memory Volume.
VolumeName string `protobuf:"bytes,1,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
// Size of the Shared Memory.
Size string `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
}
func (x *EnabledSharedMemory) Reset() {
*x = EnabledSharedMemory{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EnabledSharedMemory) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnabledSharedMemory) ProtoMessage() {}
func (x *EnabledSharedMemory) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EnabledSharedMemory.ProtoReflect.Descriptor instead.
func (*EnabledSharedMemory) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{1}
}
func (x *EnabledSharedMemory) GetVolumeName() string {
if x != nil {
return x.VolumeName
}
return ""
}
func (x *EnabledSharedMemory) GetSize() string {
if x != nil {
return x.Size
}
return ""
}
type SecretAsVolume struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name of the Secret.
SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
// Container path to mount the Secret data.
MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// An optional boolean value indicating whether the Secret must be defined.
Optional *bool `protobuf:"varint,3,opt,name=optional,proto3,oneof" json:"optional,omitempty"`
}
func (x *SecretAsVolume) Reset() {
*x = SecretAsVolume{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SecretAsVolume) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SecretAsVolume) ProtoMessage() {}
func (x *SecretAsVolume) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SecretAsVolume.ProtoReflect.Descriptor instead.
func (*SecretAsVolume) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{2}
}
func (x *SecretAsVolume) GetSecretName() string {
if x != nil {
return x.SecretName
}
return ""
}
func (x *SecretAsVolume) GetMountPath() string {
if x != nil {
return x.MountPath
}
return ""
}
func (x *SecretAsVolume) GetOptional() bool {
if x != nil && x.Optional != nil {
return *x.Optional
}
return false
}
type SecretAsEnv struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name of the Secret.
SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
KeyToEnv []*SecretAsEnv_SecretKeyToEnvMap `protobuf:"bytes,2,rep,name=key_to_env,json=keyToEnv,proto3" json:"key_to_env,omitempty"`
}
func (x *SecretAsEnv) Reset() {
*x = SecretAsEnv{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SecretAsEnv) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SecretAsEnv) ProtoMessage() {}
func (x *SecretAsEnv) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SecretAsEnv.ProtoReflect.Descriptor instead.
func (*SecretAsEnv) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{3}
}
func (x *SecretAsEnv) GetSecretName() string {
if x != nil {
return x.SecretName
}
return ""
}
func (x *SecretAsEnv) GetKeyToEnv() []*SecretAsEnv_SecretKeyToEnvMap {
if x != nil {
return x.KeyToEnv
}
return nil
}
// Represents an upstream task's output parameter.
type TaskOutputParameterSpec struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of the upstream task which produces the output parameter that
// matches with the `output_parameter_key`.
ProducerTask string `protobuf:"bytes,1,opt,name=producer_task,json=producerTask,proto3" json:"producer_task,omitempty"`
// The key of [TaskOutputsSpec.parameters][] map of the producer task.
OutputParameterKey string `protobuf:"bytes,2,opt,name=output_parameter_key,json=outputParameterKey,proto3" json:"output_parameter_key,omitempty"`
}
func (x *TaskOutputParameterSpec) Reset() {
*x = TaskOutputParameterSpec{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TaskOutputParameterSpec) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskOutputParameterSpec) ProtoMessage() {}
func (x *TaskOutputParameterSpec) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TaskOutputParameterSpec.ProtoReflect.Descriptor instead.
func (*TaskOutputParameterSpec) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{4}
}
func (x *TaskOutputParameterSpec) GetProducerTask() string {
if x != nil {
return x.ProducerTask
}
return ""
}
func (x *TaskOutputParameterSpec) GetOutputParameterKey() string {
if x != nil {
return x.OutputParameterKey
}
return ""
}
type PvcMount struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Identifier for the PVC.
// Used like TaskInputsSpec.InputParameterSpec.kind.
//
// Types that are assignable to PvcReference:
//
// *PvcMount_TaskOutputParameter
// *PvcMount_Constant
// *PvcMount_ComponentInputParameter
PvcReference isPvcMount_PvcReference `protobuf_oneof:"pvc_reference"`
// Container path to which the PVC should be mounted.
MountPath string `protobuf:"bytes,4,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
}
func (x *PvcMount) Reset() {
*x = PvcMount{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PvcMount) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PvcMount) ProtoMessage() {}
func (x *PvcMount) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PvcMount.ProtoReflect.Descriptor instead.
func (*PvcMount) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{5}
}
func (m *PvcMount) GetPvcReference() isPvcMount_PvcReference {
if m != nil {
return m.PvcReference
}
return nil
}
func (x *PvcMount) GetTaskOutputParameter() *TaskOutputParameterSpec {
if x, ok := x.GetPvcReference().(*PvcMount_TaskOutputParameter); ok {
return x.TaskOutputParameter
}
return nil
}
func (x *PvcMount) GetConstant() string {
if x, ok := x.GetPvcReference().(*PvcMount_Constant); ok {
return x.Constant
}
return ""
}
func (x *PvcMount) GetComponentInputParameter() string {
if x, ok := x.GetPvcReference().(*PvcMount_ComponentInputParameter); ok {
return x.ComponentInputParameter
}
return ""
}
func (x *PvcMount) GetMountPath() string {
if x != nil {
return x.MountPath
}
return ""
}
type isPvcMount_PvcReference interface {
isPvcMount_PvcReference()
}
type PvcMount_TaskOutputParameter struct {
// Output parameter from an upstream task.
TaskOutputParameter *TaskOutputParameterSpec `protobuf:"bytes,1,opt,name=task_output_parameter,json=taskOutputParameter,proto3,oneof"`
}
type PvcMount_Constant struct {
// A constant value.
Constant string `protobuf:"bytes,2,opt,name=constant,proto3,oneof"`
}
type PvcMount_ComponentInputParameter struct {
// Pass the input parameter from parent component input parameter.
ComponentInputParameter string `protobuf:"bytes,3,opt,name=component_input_parameter,json=componentInputParameter,proto3,oneof"`
}
func (*PvcMount_TaskOutputParameter) isPvcMount_PvcReference() {}
func (*PvcMount_Constant) isPvcMount_PvcReference() {}
func (*PvcMount_ComponentInputParameter) isPvcMount_PvcReference() {}
type CreatePvc struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Name:
//
// *CreatePvc_PvcName
// *CreatePvc_PvcNameSuffix
Name isCreatePvc_Name `protobuf_oneof:"name"`
// Corresponds to PersistentVolumeClaim.spec.accessMode field.
AccessModes []string `protobuf:"bytes,3,rep,name=access_modes,json=accessModes,proto3" json:"access_modes,omitempty"`
// Corresponds to PersistentVolumeClaim.spec.resources.requests.storage field.
Size string `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"`
// If true, corresponds to omitted PersistentVolumeClaim.spec.storageClassName.
DefaultStorageClass bool `protobuf:"varint,5,opt,name=default_storage_class,json=defaultStorageClass,proto3" json:"default_storage_class,omitempty"`
// Corresponds to PersistentVolumeClaim.spec.storageClassName string field.
// Should only be used if default_storage_class is false.
StorageClassName string `protobuf:"bytes,6,opt,name=storage_class_name,json=storageClassName,proto3" json:"storage_class_name,omitempty"`
// Corresponds to PersistentVolumeClaim.spec.volumeName field.
VolumeName string `protobuf:"bytes,7,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
// Corresponds to PersistentVolumeClaim.metadata.annotations field.
Annotations *structpb.Struct `protobuf:"bytes,8,opt,name=annotations,proto3" json:"annotations,omitempty"`
}
func (x *CreatePvc) Reset() {
*x = CreatePvc{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreatePvc) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreatePvc) ProtoMessage() {}
func (x *CreatePvc) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreatePvc.ProtoReflect.Descriptor instead.
func (*CreatePvc) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{6}
}
func (m *CreatePvc) GetName() isCreatePvc_Name {
if m != nil {
return m.Name
}
return nil
}
func (x *CreatePvc) GetPvcName() string {
if x, ok := x.GetName().(*CreatePvc_PvcName); ok {
return x.PvcName
}
return ""
}
func (x *CreatePvc) GetPvcNameSuffix() string {
if x, ok := x.GetName().(*CreatePvc_PvcNameSuffix); ok {
return x.PvcNameSuffix
}
return ""
}
func (x *CreatePvc) GetAccessModes() []string {
if x != nil {
return x.AccessModes
}
return nil
}
func (x *CreatePvc) GetSize() string {
if x != nil {
return x.Size
}
return ""
}
func (x *CreatePvc) GetDefaultStorageClass() bool {
if x != nil {
return x.DefaultStorageClass
}
return false
}
func (x *CreatePvc) GetStorageClassName() string {
if x != nil {
return x.StorageClassName
}
return ""
}
func (x *CreatePvc) GetVolumeName() string {
if x != nil {
return x.VolumeName
}
return ""
}
func (x *CreatePvc) GetAnnotations() *structpb.Struct {
if x != nil {
return x.Annotations
}
return nil
}
type isCreatePvc_Name interface {
isCreatePvc_Name()
}
type CreatePvc_PvcName struct {
// Name of the PVC, if not dynamically generated.
PvcName string `protobuf:"bytes,1,opt,name=pvc_name,json=pvcName,proto3,oneof"`
}
type CreatePvc_PvcNameSuffix struct {
// Suffix for a dynamically generated PVC name of the form
// {{workflow.name}}-<pvc_name_suffix>.
PvcNameSuffix string `protobuf:"bytes,2,opt,name=pvc_name_suffix,json=pvcNameSuffix,proto3,oneof"`
}
func (*CreatePvc_PvcName) isCreatePvc_Name() {}
func (*CreatePvc_PvcNameSuffix) isCreatePvc_Name() {}
type DeletePvc struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Identifier for the PVC.
// Used like TaskInputsSpec.InputParameterSpec.kind.
//
// Types that are assignable to PvcReference:
//
// *DeletePvc_TaskOutputParameter
// *DeletePvc_Constant
// *DeletePvc_ComponentInputParameter
PvcReference isDeletePvc_PvcReference `protobuf_oneof:"pvc_reference"`
}
func (x *DeletePvc) Reset() {
*x = DeletePvc{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeletePvc) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeletePvc) ProtoMessage() {}
func (x *DeletePvc) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeletePvc.ProtoReflect.Descriptor instead.
func (*DeletePvc) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{7}
}
func (m *DeletePvc) GetPvcReference() isDeletePvc_PvcReference {
if m != nil {
return m.PvcReference
}
return nil
}
func (x *DeletePvc) GetTaskOutputParameter() *TaskOutputParameterSpec {
if x, ok := x.GetPvcReference().(*DeletePvc_TaskOutputParameter); ok {
return x.TaskOutputParameter
}
return nil
}
func (x *DeletePvc) GetConstant() string {
if x, ok := x.GetPvcReference().(*DeletePvc_Constant); ok {
return x.Constant
}
return ""
}
func (x *DeletePvc) GetComponentInputParameter() string {
if x, ok := x.GetPvcReference().(*DeletePvc_ComponentInputParameter); ok {
return x.ComponentInputParameter
}
return ""
}
type isDeletePvc_PvcReference interface {
isDeletePvc_PvcReference()
}
type DeletePvc_TaskOutputParameter struct {
// Output parameter from an upstream task.
TaskOutputParameter *TaskOutputParameterSpec `protobuf:"bytes,1,opt,name=task_output_parameter,json=taskOutputParameter,proto3,oneof"`
}
type DeletePvc_Constant struct {
// A constant value.
Constant string `protobuf:"bytes,2,opt,name=constant,proto3,oneof"`
}
type DeletePvc_ComponentInputParameter struct {
// Pass the input parameter from parent component input parameter.
ComponentInputParameter string `protobuf:"bytes,3,opt,name=component_input_parameter,json=componentInputParameter,proto3,oneof"`
}
func (*DeletePvc_TaskOutputParameter) isDeletePvc_PvcReference() {}
func (*DeletePvc_Constant) isDeletePvc_PvcReference() {}
func (*DeletePvc_ComponentInputParameter) isDeletePvc_PvcReference() {}
type NodeSelector struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// map of label key to label value
// corresponds to Pod.spec.nodeSelector field https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling
Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *NodeSelector) Reset() {
*x = NodeSelector{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NodeSelector) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NodeSelector) ProtoMessage() {}
func (x *NodeSelector) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NodeSelector.ProtoReflect.Descriptor instead.
func (*NodeSelector) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{8}
}
func (x *NodeSelector) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
type PodMetadata struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// values of metadata spec such as labels and annotations for the pod object
// corresponds to Pod.metadata field https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#Pod
Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Annotations map[string]string `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *PodMetadata) Reset() {
*x = PodMetadata{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PodMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PodMetadata) ProtoMessage() {}
func (x *PodMetadata) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PodMetadata.ProtoReflect.Descriptor instead.
func (*PodMetadata) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{9}
}
func (x *PodMetadata) GetLabels() map[string]string {
if x != nil {
return x.Labels
}
return nil
}
func (x *PodMetadata) GetAnnotations() map[string]string {
if x != nil {
return x.Annotations
}
return nil
}
type ConfigMapAsVolume struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name of the ConfigMap.
ConfigMapName string `protobuf:"bytes,1,opt,name=config_map_name,json=configMapName,proto3" json:"config_map_name,omitempty"`
// Container path to mount the ConfigMap data.
MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// An optional boolean value indicating whether the ConfigMap must be defined.
Optional *bool `protobuf:"varint,3,opt,name=optional,proto3,oneof" json:"optional,omitempty"`
}
func (x *ConfigMapAsVolume) Reset() {
*x = ConfigMapAsVolume{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ConfigMapAsVolume) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigMapAsVolume) ProtoMessage() {}
func (x *ConfigMapAsVolume) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ConfigMapAsVolume.ProtoReflect.Descriptor instead.
func (*ConfigMapAsVolume) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{10}
}
func (x *ConfigMapAsVolume) GetConfigMapName() string {
if x != nil {
return x.ConfigMapName
}
return ""
}
func (x *ConfigMapAsVolume) GetMountPath() string {
if x != nil {
return x.MountPath
}
return ""
}
func (x *ConfigMapAsVolume) GetOptional() bool {
if x != nil && x.Optional != nil {
return *x.Optional
}
return false
}
type ConfigMapAsEnv struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name of the ConfigMap.
ConfigMapName string `protobuf:"bytes,1,opt,name=config_map_name,json=configMapName,proto3" json:"config_map_name,omitempty"`
KeyToEnv []*ConfigMapAsEnv_ConfigMapKeyToEnvMap `protobuf:"bytes,2,rep,name=key_to_env,json=keyToEnv,proto3" json:"key_to_env,omitempty"`
}
func (x *ConfigMapAsEnv) Reset() {
*x = ConfigMapAsEnv{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ConfigMapAsEnv) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigMapAsEnv) ProtoMessage() {}
func (x *ConfigMapAsEnv) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ConfigMapAsEnv.ProtoReflect.Descriptor instead.
func (*ConfigMapAsEnv) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{11}
}
func (x *ConfigMapAsEnv) GetConfigMapName() string {
if x != nil {
return x.ConfigMapName
}
return ""
}
func (x *ConfigMapAsEnv) GetKeyToEnv() []*ConfigMapAsEnv_ConfigMapKeyToEnvMap {
if x != nil {
return x.KeyToEnv
}
return nil
}
type GenericEphemeralVolume struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// more details in https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes
// Name of the ephemeral volume.
VolumeName string `protobuf:"bytes,1,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
// Container path to mount the volume
MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// Corresponds to ephemeral.volumeClaimTemplate.spec.accessModes field.
AccessModes []string `protobuf:"bytes,3,rep,name=access_modes,json=accessModes,proto3" json:"access_modes,omitempty"`
// Corresponds to ephemeral.volumeClaimTemplate.spec.resources.requests.storage field.
Size string `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"`
// If true, corresponds to omitted ephemeral.volumeClaimTemplate.spec.storageClassName.
DefaultStorageClass bool `protobuf:"varint,5,opt,name=default_storage_class,json=defaultStorageClass,proto3" json:"default_storage_class,omitempty"`
// Corresponds to ephemeral.volumeClaimTemplate.spec.storageClassName string field.
// Should only be used if default_storage_class is false.
StorageClassName string `protobuf:"bytes,6,opt,name=storage_class_name,json=storageClassName,proto3" json:"storage_class_name,omitempty"`
// Corresponds to ephemeral.volumeClaimTemplate.metadata.
// This is not exactly a pod metadata but the fields are the same
Metadata *PodMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
func (x *GenericEphemeralVolume) Reset() {
*x = GenericEphemeralVolume{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenericEphemeralVolume) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenericEphemeralVolume) ProtoMessage() {}
func (x *GenericEphemeralVolume) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GenericEphemeralVolume.ProtoReflect.Descriptor instead.
func (*GenericEphemeralVolume) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{12}
}
func (x *GenericEphemeralVolume) GetVolumeName() string {
if x != nil {
return x.VolumeName
}
return ""
}
func (x *GenericEphemeralVolume) GetMountPath() string {
if x != nil {
return x.MountPath
}
return ""
}
func (x *GenericEphemeralVolume) GetAccessModes() []string {
if x != nil {
return x.AccessModes
}
return nil
}
func (x *GenericEphemeralVolume) GetSize() string {
if x != nil {
return x.Size
}
return ""
}
func (x *GenericEphemeralVolume) GetDefaultStorageClass() bool {
if x != nil {
return x.DefaultStorageClass
}
return false
}
func (x *GenericEphemeralVolume) GetStorageClassName() string {
if x != nil {
return x.StorageClassName
}
return ""
}
func (x *GenericEphemeralVolume) GetMetadata() *PodMetadata {
if x != nil {
return x.Metadata
}
return nil
}
type ImagePullSecret struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name of the image pull secret.
SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
}
func (x *ImagePullSecret) Reset() {
*x = ImagePullSecret{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ImagePullSecret) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ImagePullSecret) ProtoMessage() {}
func (x *ImagePullSecret) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ImagePullSecret.ProtoReflect.Descriptor instead.
func (*ImagePullSecret) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{13}
}
func (x *ImagePullSecret) GetSecretName() string {
if x != nil {
return x.SecretName
}
return ""
}
type FieldPathAsEnv struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Name of the environment variable
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Value of the field path string
FieldPath string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
}
func (x *FieldPathAsEnv) Reset() {
*x = FieldPathAsEnv{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FieldPathAsEnv) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FieldPathAsEnv) ProtoMessage() {}
func (x *FieldPathAsEnv) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FieldPathAsEnv.ProtoReflect.Descriptor instead.
func (*FieldPathAsEnv) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{14}
}
func (x *FieldPathAsEnv) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *FieldPathAsEnv) GetFieldPath() string {
if x != nil {
return x.FieldPath
}
return ""
}
type Toleration struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
Effect string `protobuf:"bytes,4,opt,name=effect,proto3" json:"effect,omitempty"`
TolerationSeconds *int64 `protobuf:"varint,5,opt,name=toleration_seconds,json=tolerationSeconds,proto3,oneof" json:"toleration_seconds,omitempty"`
}
func (x *Toleration) Reset() {
*x = Toleration{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Toleration) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Toleration) ProtoMessage() {}
func (x *Toleration) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Toleration.ProtoReflect.Descriptor instead.
func (*Toleration) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{15}
}
func (x *Toleration) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *Toleration) GetOperator() string {
if x != nil {
return x.Operator
}
return ""
}
func (x *Toleration) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
func (x *Toleration) GetEffect() string {
if x != nil {
return x.Effect
}
return ""
}
func (x *Toleration) GetTolerationSeconds() int64 {
if x != nil && x.TolerationSeconds != nil {
return *x.TolerationSeconds
}
return 0
}
// Matches https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#labelselectorrequirement-v1-meta and
// https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#nodeselectorrequirement-v1-core
type SelectorRequirement struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
}
func (x *SelectorRequirement) Reset() {
*x = SelectorRequirement{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SelectorRequirement) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SelectorRequirement) ProtoMessage() {}
func (x *SelectorRequirement) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SelectorRequirement.ProtoReflect.Descriptor instead.
func (*SelectorRequirement) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{16}
}
func (x *SelectorRequirement) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *SelectorRequirement) GetOperator() string {
if x != nil {
return x.Operator
}
return ""
}
func (x *SelectorRequirement) GetValues() []string {
if x != nil {
return x.Values
}
return nil
}
type NodeAffinityTerm struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MatchExpressions []*SelectorRequirement `protobuf:"bytes,1,rep,name=match_expressions,json=matchExpressions,proto3" json:"match_expressions,omitempty"`
MatchFields []*SelectorRequirement `protobuf:"bytes,2,rep,name=match_fields,json=matchFields,proto3" json:"match_fields,omitempty"`
//Setting the weight makes it use PreferredDuringSchedulingIgnoredDuringExecution rules instead of RequiredDuringSchedulingIgnoredDuringExecution rules
Weight *int32 `protobuf:"varint,3,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
}
func (x *NodeAffinityTerm) Reset() {
*x = NodeAffinityTerm{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NodeAffinityTerm) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NodeAffinityTerm) ProtoMessage() {}
func (x *NodeAffinityTerm) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NodeAffinityTerm.ProtoReflect.Descriptor instead.
func (*NodeAffinityTerm) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{17}
}
func (x *NodeAffinityTerm) GetMatchExpressions() []*SelectorRequirement {
if x != nil {
return x.MatchExpressions
}
return nil
}
func (x *NodeAffinityTerm) GetMatchFields() []*SelectorRequirement {
if x != nil {
return x.MatchFields
}
return nil
}
func (x *NodeAffinityTerm) GetWeight() int32 {
if x != nil && x.Weight != nil {
return *x.Weight
}
return 0
}
type PodAffinityTerm struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MatchPodExpressions []*SelectorRequirement `protobuf:"bytes,1,rep,name=match_pod_expressions,json=matchPodExpressions,proto3" json:"match_pod_expressions,omitempty"`
MatchPodLabels map[string]string `protobuf:"bytes,2,rep,name=match_pod_labels,json=matchPodLabels,proto3" json:"match_pod_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
TopologyKey string `protobuf:"bytes,3,opt,name=topology_key,json=topologyKey,proto3" json:"topology_key,omitempty"`
Namespaces []string `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
MatchNamespaceExpressions []*SelectorRequirement `protobuf:"bytes,5,rep,name=match_namespace_expressions,json=matchNamespaceExpressions,proto3" json:"match_namespace_expressions,omitempty"`
MatchNamespaceLabels map[string]string `protobuf:"bytes,6,rep,name=match_namespace_labels,json=matchNamespaceLabels,proto3" json:"match_namespace_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
//Setting a weight makes it use PreferredDuringSchedulingIgnoredDuringExecution rules instead of RequiredDuringSchedulingIgnoredDuringExecution rules
Weight *int32 `protobuf:"varint,7,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
//Flag indicating if it is a podaffinity or podantiaffinity
Anti *bool `protobuf:"varint,8,opt,name=anti,proto3,oneof" json:"anti,omitempty"`
}
func (x *PodAffinityTerm) Reset() {
*x = PodAffinityTerm{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PodAffinityTerm) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PodAffinityTerm) ProtoMessage() {}
func (x *PodAffinityTerm) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PodAffinityTerm.ProtoReflect.Descriptor instead.
func (*PodAffinityTerm) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{18}
}
func (x *PodAffinityTerm) GetMatchPodExpressions() []*SelectorRequirement {
if x != nil {
return x.MatchPodExpressions
}
return nil
}
func (x *PodAffinityTerm) GetMatchPodLabels() map[string]string {
if x != nil {
return x.MatchPodLabels
}
return nil
}
func (x *PodAffinityTerm) GetTopologyKey() string {
if x != nil {
return x.TopologyKey
}
return ""
}
func (x *PodAffinityTerm) GetNamespaces() []string {
if x != nil {
return x.Namespaces
}
return nil
}
func (x *PodAffinityTerm) GetMatchNamespaceExpressions() []*SelectorRequirement {
if x != nil {
return x.MatchNamespaceExpressions
}
return nil
}
func (x *PodAffinityTerm) GetMatchNamespaceLabels() map[string]string {
if x != nil {
return x.MatchNamespaceLabels
}
return nil
}
func (x *PodAffinityTerm) GetWeight() int32 {
if x != nil && x.Weight != nil {
return *x.Weight
}
return 0
}
func (x *PodAffinityTerm) GetAnti() bool {
if x != nil && x.Anti != nil {
return *x.Anti
}
return false
}
type EmptyDirMount struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#emptydirvolumesource-v1-core
VolumeName string `protobuf:"bytes,1,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
Medium *string `protobuf:"bytes,3,opt,name=medium,proto3,oneof" json:"medium,omitempty"`
SizeLimit *string `protobuf:"bytes,4,opt,name=size_limit,json=sizeLimit,proto3,oneof" json:"size_limit,omitempty"`
}
func (x *EmptyDirMount) Reset() {
*x = EmptyDirMount{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EmptyDirMount) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EmptyDirMount) ProtoMessage() {}
func (x *EmptyDirMount) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EmptyDirMount.ProtoReflect.Descriptor instead.
func (*EmptyDirMount) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{19}
}
func (x *EmptyDirMount) GetVolumeName() string {
if x != nil {
return x.VolumeName
}
return ""
}
func (x *EmptyDirMount) GetMountPath() string {
if x != nil {
return x.MountPath
}
return ""
}
func (x *EmptyDirMount) GetMedium() string {
if x != nil && x.Medium != nil {
return *x.Medium
}
return ""
}
func (x *EmptyDirMount) GetSizeLimit() string {
if x != nil && x.SizeLimit != nil {
return *x.SizeLimit
}
return ""
}
type SecretAsEnv_SecretKeyToEnvMap struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Corresponds to a key of the Secret.data field.
SecretKey string `protobuf:"bytes,1,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
// Env var to which secret_key's data should be set.
EnvVar string `protobuf:"bytes,2,opt,name=env_var,json=envVar,proto3" json:"env_var,omitempty"`
}
func (x *SecretAsEnv_SecretKeyToEnvMap) Reset() {
*x = SecretAsEnv_SecretKeyToEnvMap{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SecretAsEnv_SecretKeyToEnvMap) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SecretAsEnv_SecretKeyToEnvMap) ProtoMessage() {}
func (x *SecretAsEnv_SecretKeyToEnvMap) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SecretAsEnv_SecretKeyToEnvMap.ProtoReflect.Descriptor instead.
func (*SecretAsEnv_SecretKeyToEnvMap) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{3, 0}
}
func (x *SecretAsEnv_SecretKeyToEnvMap) GetSecretKey() string {
if x != nil {
return x.SecretKey
}
return ""
}
func (x *SecretAsEnv_SecretKeyToEnvMap) GetEnvVar() string {
if x != nil {
return x.EnvVar
}
return ""
}
type ConfigMapAsEnv_ConfigMapKeyToEnvMap struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Corresponds to a key of the ConfigMap.
ConfigMapKey string `protobuf:"bytes,1,opt,name=config_map_key,json=configMapKey,proto3" json:"config_map_key,omitempty"`
// Env var to which configmap_key's data should be set.
EnvVar string `protobuf:"bytes,2,opt,name=env_var,json=envVar,proto3" json:"env_var,omitempty"`
}
func (x *ConfigMapAsEnv_ConfigMapKeyToEnvMap) Reset() {
*x = ConfigMapAsEnv_ConfigMapKeyToEnvMap{}
if protoimpl.UnsafeEnabled {
mi := &file_kubernetes_executor_config_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ConfigMapAsEnv_ConfigMapKeyToEnvMap) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) ProtoMessage() {}
func (x *ConfigMapAsEnv_ConfigMapKeyToEnvMap) ProtoReflect() protoreflect.Message {
mi := &file_kubernetes_executor_config_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ConfigMapAsEnv_ConfigMapKeyToEnvMap.ProtoReflect.Descriptor instead.
func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) Descriptor() ([]byte, []int) {
return file_kubernetes_executor_config_proto_rawDescGZIP(), []int{11, 0}
}
func (x *ConfigMapAsEnv_ConfigMapKeyToEnvMap) GetConfigMapKey() string {
if x != nil {
return x.ConfigMapKey
}
return ""
}
func (x *ConfigMapAsEnv_ConfigMapKeyToEnvMap) GetEnvVar() string {
if x != nil {
return x.EnvVar
}
return ""
}
var File_kubernetes_executor_config_proto protoreflect.FileDescriptor
var file_kubernetes_executor_config_proto_rawDesc = []byte{
0x0a, 0x20, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x65, 0x78, 0x65,
0x63, 0x75, 0x74, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x0e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74,
0x65, 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x22, 0xc7, 0x09, 0x0a, 0x18, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x45,
0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x48, 0x0a,
0x10, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x61, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75,
0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41,
0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x0e, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41,
0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x73, 0x65, 0x63, 0x72, 0x65,
0x74, 0x5f, 0x61, 0x73, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b,
0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e,
0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x52, 0x0b, 0x73, 0x65, 0x63,
0x72, 0x65, 0x74, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x76, 0x63, 0x5f,
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6b, 0x66,
0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x50, 0x76, 0x63,
0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x70, 0x76, 0x63, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
0x41, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62,
0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65,
0x63, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x12, 0x3e, 0x0a, 0x0c, 0x70, 0x6f, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b,
0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x50, 0x6f, 0x64, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x70, 0x6f, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0x12, 0x4b, 0x0a, 0x11, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x75, 0x6c, 0x6c,
0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x49,
0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x0f,
0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12,
0x2a, 0x0a, 0x11, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x70, 0x6f,
0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6d, 0x61, 0x67,
0x65, 0x50, 0x75, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x52, 0x0a, 0x14, 0x63,
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x61, 0x73, 0x5f, 0x76, 0x6f, 0x6c,
0x75, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x66, 0x70, 0x5f,
0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x4d, 0x61, 0x70, 0x41, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x11, 0x63, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x41, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12,
0x49, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x61, 0x73,
0x5f, 0x65, 0x6e, 0x76, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x66, 0x70,
0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x4d, 0x61, 0x70, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x4d, 0x61, 0x70, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x12, 0x36, 0x0a, 0x17, 0x61, 0x63,
0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x65,
0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x61, 0x63, 0x74,
0x69, 0x76, 0x65, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e,
0x64, 0x73, 0x12, 0x49, 0x0a, 0x11, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68,
0x5f, 0x61, 0x73, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x46,
0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x52, 0x0e, 0x66,
0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x12, 0x3c, 0x0a,
0x0b, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65,
0x74, 0x65, 0x73, 0x2e, 0x54, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b,
0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x60, 0x0a, 0x18, 0x67,
0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c,
0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e,
0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x47,
0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x56,
0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x16, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x45, 0x70,
0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x45, 0x0a,
0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x61, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x0e,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72,
0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69,
0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69,
0x6e, 0x69, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0c, 0x70, 0x6f, 0x64, 0x5f, 0x61, 0x66, 0x66, 0x69,
0x6e, 0x69, 0x74, 0x79, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x66, 0x70,
0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x50, 0x6f, 0x64, 0x41,
0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x52, 0x0b, 0x70, 0x6f, 0x64,
0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x57, 0x0a, 0x15, 0x65, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72,
0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75,
0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x13, 0x65, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72,
0x79, 0x12, 0x47, 0x0a, 0x10, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x64, 0x69, 0x72, 0x5f, 0x6d,
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x66,
0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x6d, 0x70,
0x74, 0x79, 0x44, 0x69, 0x72, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x65, 0x6d, 0x70, 0x74,
0x79, 0x44, 0x69, 0x72, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x4a, 0x0a, 0x13, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72,
0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x7e, 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
0x41, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x63, 0x72,
0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73,
0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75,
0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d,
0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xc8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x63, 0x72, 0x65,
0x74, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63,
0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x74,
0x6f, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x66,
0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x63,
0x72, 0x65, 0x74, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b,
0x65, 0x79, 0x54, 0x6f, 0x45, 0x6e, 0x76, 0x4d, 0x61, 0x70, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x54,
0x6f, 0x45, 0x6e, 0x76, 0x1a, 0x4b, 0x0a, 0x11, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65,
0x79, 0x54, 0x6f, 0x45, 0x6e, 0x76, 0x4d, 0x61, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63,
0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73,
0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x6e, 0x76, 0x5f,
0x76, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x76, 0x56, 0x61,
0x72, 0x22, 0x70, 0x0a, 0x17, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50,
0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x23, 0x0a, 0x0d,
0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x54, 0x61, 0x73,
0x6b, 0x12, 0x30, 0x0a, 0x14, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61,
0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x12, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72,
0x4b, 0x65, 0x79, 0x22, 0xf5, 0x01, 0x0a, 0x08, 0x50, 0x76, 0x63, 0x4d, 0x6f, 0x75, 0x6e, 0x74,
0x12, 0x5d, 0x0a, 0x15, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f,
0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x27, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73,
0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x65, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x13, 0x74, 0x61, 0x73, 0x6b,
0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12,
0x1c, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x3c, 0x0a,
0x19, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74,
0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x48, 0x00, 0x52, 0x17, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70,
0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6d,
0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x42, 0x0f, 0x0a, 0x0d, 0x70, 0x76,
0x63, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xcf, 0x02, 0x0a, 0x09,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x76, 0x63, 0x12, 0x1b, 0x0a, 0x08, 0x70, 0x76, 0x63,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x70,
0x76, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x76, 0x63, 0x5f, 0x6e, 0x61,
0x6d, 0x65, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48,
0x00, 0x52, 0x0d, 0x70, 0x76, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78,
0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x73,
0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f,
0x64, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x65, 0x66, 0x61, 0x75,
0x6c, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73,
0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53,
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73,
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x6f, 0x6c,
0x75, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0b, 0x61, 0x6e,
0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd7, 0x01,
0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x76, 0x63, 0x12, 0x5d, 0x0a, 0x15, 0x74,
0x61, 0x73, 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d,
0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x66, 0x70,
0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b,
0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x53,
0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x13, 0x74, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75,
0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x08, 0x63, 0x6f,
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08,
0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x70,
0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61,
0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x63,
0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x50, 0x61, 0x72,
0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x42, 0x0f, 0x0a, 0x0d, 0x70, 0x76, 0x63, 0x5f, 0x72, 0x65,
0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x0c, 0x4e, 0x6f, 0x64, 0x65,
0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65,
0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b,
0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65,
0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61,
0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x99, 0x02, 0x0a, 0x0b, 0x50, 0x6f, 0x64, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65,
0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x50, 0x6f, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x4e, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6b, 0x66,
0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x50, 0x6f, 0x64,
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
0x01, 0x22, 0x88, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x41,
0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12,
0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f,
0x0a, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x42,
0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xe2, 0x01, 0x0a,
0x0e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x12,
0x26, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
0x4d, 0x61, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x74,
0x6f, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x66,
0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x41, 0x73, 0x45, 0x6e, 0x76, 0x2e, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x4d, 0x61, 0x70, 0x4b, 0x65, 0x79, 0x54, 0x6f, 0x45, 0x6e, 0x76, 0x4d, 0x61, 0x70,
0x52, 0x08, 0x6b, 0x65, 0x79, 0x54, 0x6f, 0x45, 0x6e, 0x76, 0x1a, 0x55, 0x0a, 0x14, 0x43, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x4b, 0x65, 0x79, 0x54, 0x6f, 0x45, 0x6e, 0x76, 0x4d,
0x61, 0x70, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x70,
0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x4d, 0x61, 0x70, 0x4b, 0x65, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x6e, 0x76, 0x5f,
0x76, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x76, 0x56, 0x61,
0x72, 0x22, 0xaa, 0x02, 0x0a, 0x16, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x45, 0x70, 0x68,
0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c,
0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x12,
0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73,
0x69, 0x7a, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73,
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01,
0x28, 0x08, 0x52, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61,
0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x74, 0x6f, 0x72, 0x61,
0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20,
0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73,
0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75,
0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x50, 0x6f, 0x64, 0x4d, 0x65, 0x74, 0x61,
0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x32,
0x0a, 0x0f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65,
0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61,
0x6d, 0x65, 0x22, 0x43, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x41,
0x73, 0x45, 0x6e, 0x76, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c,
0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69,
0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x22, 0xb3, 0x01, 0x0a, 0x0a, 0x54, 0x6f, 0x6c, 0x65,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x66,
0x66, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x66, 0x66, 0x65,
0x63, 0x74, 0x12, 0x32, 0x0a, 0x12, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00,
0x52, 0x11, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x6f,
0x6e, 0x64, 0x73, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x74, 0x6f, 0x6c, 0x65, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x5b, 0x0a,
0x13, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x10, 0x4e,
0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x12,
0x50, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x66, 0x70,
0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x6c, 0x65,
0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52,
0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
0x73, 0x12, 0x46, 0x0a, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75,
0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f,
0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x6d, 0x61,
0x74, 0x63, 0x68, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x77, 0x65, 0x69,
0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x06, 0x77, 0x65, 0x69,
0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68,
0x74, 0x22, 0xb8, 0x05, 0x0a, 0x0f, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74,
0x79, 0x54, 0x65, 0x72, 0x6d, 0x12, 0x57, 0x0a, 0x15, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x70,
0x6f, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72,
0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65,
0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x13, 0x6d, 0x61, 0x74, 0x63, 0x68,
0x50, 0x6f, 0x64, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5d,
0x0a, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x6f, 0x64, 0x5f, 0x6c, 0x61, 0x62, 0x65,
0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b,
0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66,
0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50,
0x6f, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6d,
0x61, 0x74, 0x63, 0x68, 0x50, 0x6f, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x21, 0x0a,
0x0c, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x4b, 0x65, 0x79,
0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x04,
0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73,
0x12, 0x63, 0x0a, 0x1b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
0x61, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65,
0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52,
0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x19, 0x6d, 0x61, 0x74, 0x63,
0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73,
0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x6f, 0x0a, 0x16, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x6b, 0x66, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65,
0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69,
0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65,
0x73, 0x70, 0x61, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x52, 0x14, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x61, 0x6e, 0x74, 0x69, 0x18, 0x08, 0x20, 0x01, 0x28,
0x08, 0x48, 0x01, 0x52, 0x04, 0x61, 0x6e, 0x74, 0x69, 0x88, 0x01, 0x01, 0x1a, 0x41, 0x0a, 0x13,
0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x6f, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a,
0x47, 0x0a, 0x19, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x77, 0x65, 0x69,
0x67, 0x68, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x61, 0x6e, 0x74, 0x69, 0x22, 0xaa, 0x01, 0x0a,
0x0d, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x44, 0x69, 0x72, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f,
0x0a, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1b,
0x0a, 0x06, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
0x52, 0x06, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x73,
0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48,
0x01, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x42,
0x09, 0x0a, 0x07, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73,
0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74,
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77,
0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72,
0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x67,
0x6f, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x70, 0x6c, 0x61, 0x74,
0x66, 0x6f, 0x72, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_kubernetes_executor_config_proto_rawDescOnce sync.Once
file_kubernetes_executor_config_proto_rawDescData = file_kubernetes_executor_config_proto_rawDesc
)
func file_kubernetes_executor_config_proto_rawDescGZIP() []byte {
file_kubernetes_executor_config_proto_rawDescOnce.Do(func() {
file_kubernetes_executor_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_kubernetes_executor_config_proto_rawDescData)
})
return file_kubernetes_executor_config_proto_rawDescData
}
var file_kubernetes_executor_config_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
var file_kubernetes_executor_config_proto_goTypes = []interface{}{
(*KubernetesExecutorConfig)(nil), // 0: kfp_kubernetes.KubernetesExecutorConfig
(*EnabledSharedMemory)(nil), // 1: kfp_kubernetes.EnabledSharedMemory
(*SecretAsVolume)(nil), // 2: kfp_kubernetes.SecretAsVolume
(*SecretAsEnv)(nil), // 3: kfp_kubernetes.SecretAsEnv
(*TaskOutputParameterSpec)(nil), // 4: kfp_kubernetes.TaskOutputParameterSpec
(*PvcMount)(nil), // 5: kfp_kubernetes.PvcMount
(*CreatePvc)(nil), // 6: kfp_kubernetes.CreatePvc
(*DeletePvc)(nil), // 7: kfp_kubernetes.DeletePvc
(*NodeSelector)(nil), // 8: kfp_kubernetes.NodeSelector
(*PodMetadata)(nil), // 9: kfp_kubernetes.PodMetadata
(*ConfigMapAsVolume)(nil), // 10: kfp_kubernetes.ConfigMapAsVolume
(*ConfigMapAsEnv)(nil), // 11: kfp_kubernetes.ConfigMapAsEnv
(*GenericEphemeralVolume)(nil), // 12: kfp_kubernetes.GenericEphemeralVolume
(*ImagePullSecret)(nil), // 13: kfp_kubernetes.ImagePullSecret
(*FieldPathAsEnv)(nil), // 14: kfp_kubernetes.FieldPathAsEnv
(*Toleration)(nil), // 15: kfp_kubernetes.Toleration
(*SelectorRequirement)(nil), // 16: kfp_kubernetes.SelectorRequirement
(*NodeAffinityTerm)(nil), // 17: kfp_kubernetes.NodeAffinityTerm
(*PodAffinityTerm)(nil), // 18: kfp_kubernetes.PodAffinityTerm
(*EmptyDirMount)(nil), // 19: kfp_kubernetes.EmptyDirMount
(*SecretAsEnv_SecretKeyToEnvMap)(nil), // 20: kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap
nil, // 21: kfp_kubernetes.NodeSelector.LabelsEntry
nil, // 22: kfp_kubernetes.PodMetadata.LabelsEntry
nil, // 23: kfp_kubernetes.PodMetadata.AnnotationsEntry
(*ConfigMapAsEnv_ConfigMapKeyToEnvMap)(nil), // 24: kfp_kubernetes.ConfigMapAsEnv.ConfigMapKeyToEnvMap
nil, // 25: kfp_kubernetes.PodAffinityTerm.MatchPodLabelsEntry
nil, // 26: kfp_kubernetes.PodAffinityTerm.MatchNamespaceLabelsEntry
(*structpb.Struct)(nil), // 27: google.protobuf.Struct
}
var file_kubernetes_executor_config_proto_depIdxs = []int32{
2, // 0: kfp_kubernetes.KubernetesExecutorConfig.secret_as_volume:type_name -> kfp_kubernetes.SecretAsVolume
3, // 1: kfp_kubernetes.KubernetesExecutorConfig.secret_as_env:type_name -> kfp_kubernetes.SecretAsEnv
5, // 2: kfp_kubernetes.KubernetesExecutorConfig.pvc_mount:type_name -> kfp_kubernetes.PvcMount
8, // 3: kfp_kubernetes.KubernetesExecutorConfig.node_selector:type_name -> kfp_kubernetes.NodeSelector
9, // 4: kfp_kubernetes.KubernetesExecutorConfig.pod_metadata:type_name -> kfp_kubernetes.PodMetadata
13, // 5: kfp_kubernetes.KubernetesExecutorConfig.image_pull_secret:type_name -> kfp_kubernetes.ImagePullSecret
10, // 6: kfp_kubernetes.KubernetesExecutorConfig.config_map_as_volume:type_name -> kfp_kubernetes.ConfigMapAsVolume
11, // 7: kfp_kubernetes.KubernetesExecutorConfig.config_map_as_env:type_name -> kfp_kubernetes.ConfigMapAsEnv
14, // 8: kfp_kubernetes.KubernetesExecutorConfig.field_path_as_env:type_name -> kfp_kubernetes.FieldPathAsEnv
15, // 9: kfp_kubernetes.KubernetesExecutorConfig.tolerations:type_name -> kfp_kubernetes.Toleration
12, // 10: kfp_kubernetes.KubernetesExecutorConfig.generic_ephemeral_volume:type_name -> kfp_kubernetes.GenericEphemeralVolume
17, // 11: kfp_kubernetes.KubernetesExecutorConfig.node_affinity:type_name -> kfp_kubernetes.NodeAffinityTerm
18, // 12: kfp_kubernetes.KubernetesExecutorConfig.pod_affinity:type_name -> kfp_kubernetes.PodAffinityTerm
1, // 13: kfp_kubernetes.KubernetesExecutorConfig.enabled_shared_memory:type_name -> kfp_kubernetes.EnabledSharedMemory
19, // 14: kfp_kubernetes.KubernetesExecutorConfig.empty_dir_mounts:type_name -> kfp_kubernetes.EmptyDirMount
20, // 15: kfp_kubernetes.SecretAsEnv.key_to_env:type_name -> kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap
4, // 16: kfp_kubernetes.PvcMount.task_output_parameter:type_name -> kfp_kubernetes.TaskOutputParameterSpec
27, // 17: kfp_kubernetes.CreatePvc.annotations:type_name -> google.protobuf.Struct
4, // 18: kfp_kubernetes.DeletePvc.task_output_parameter:type_name -> kfp_kubernetes.TaskOutputParameterSpec
21, // 19: kfp_kubernetes.NodeSelector.labels:type_name -> kfp_kubernetes.NodeSelector.LabelsEntry
22, // 20: kfp_kubernetes.PodMetadata.labels:type_name -> kfp_kubernetes.PodMetadata.LabelsEntry
23, // 21: kfp_kubernetes.PodMetadata.annotations:type_name -> kfp_kubernetes.PodMetadata.AnnotationsEntry
24, // 22: kfp_kubernetes.ConfigMapAsEnv.key_to_env:type_name -> kfp_kubernetes.ConfigMapAsEnv.ConfigMapKeyToEnvMap
9, // 23: kfp_kubernetes.GenericEphemeralVolume.metadata:type_name -> kfp_kubernetes.PodMetadata
16, // 24: kfp_kubernetes.NodeAffinityTerm.match_expressions:type_name -> kfp_kubernetes.SelectorRequirement
16, // 25: kfp_kubernetes.NodeAffinityTerm.match_fields:type_name -> kfp_kubernetes.SelectorRequirement
16, // 26: kfp_kubernetes.PodAffinityTerm.match_pod_expressions:type_name -> kfp_kubernetes.SelectorRequirement
25, // 27: kfp_kubernetes.PodAffinityTerm.match_pod_labels:type_name -> kfp_kubernetes.PodAffinityTerm.MatchPodLabelsEntry
16, // 28: kfp_kubernetes.PodAffinityTerm.match_namespace_expressions:type_name -> kfp_kubernetes.SelectorRequirement
26, // 29: kfp_kubernetes.PodAffinityTerm.match_namespace_labels:type_name -> kfp_kubernetes.PodAffinityTerm.MatchNamespaceLabelsEntry
30, // [30:30] is the sub-list for method output_type
30, // [30:30] is the sub-list for method input_type
30, // [30:30] is the sub-list for extension type_name
30, // [30:30] is the sub-list for extension extendee
0, // [0:30] is the sub-list for field type_name
}
func init() { file_kubernetes_executor_config_proto_init() }
func file_kubernetes_executor_config_proto_init() {
if File_kubernetes_executor_config_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_kubernetes_executor_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*KubernetesExecutorConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EnabledSharedMemory); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SecretAsVolume); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SecretAsEnv); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TaskOutputParameterSpec); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PvcMount); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreatePvc); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeletePvc); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NodeSelector); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PodMetadata); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ConfigMapAsVolume); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ConfigMapAsEnv); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenericEphemeralVolume); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ImagePullSecret); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FieldPathAsEnv); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Toleration); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SelectorRequirement); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NodeAffinityTerm); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PodAffinityTerm); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EmptyDirMount); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SecretAsEnv_SecretKeyToEnvMap); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_kubernetes_executor_config_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ConfigMapAsEnv_ConfigMapKeyToEnvMap); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_kubernetes_executor_config_proto_msgTypes[2].OneofWrappers = []interface{}{}
file_kubernetes_executor_config_proto_msgTypes[5].OneofWrappers = []interface{}{
(*PvcMount_TaskOutputParameter)(nil),
(*PvcMount_Constant)(nil),
(*PvcMount_ComponentInputParameter)(nil),
}
file_kubernetes_executor_config_proto_msgTypes[6].OneofWrappers = []interface{}{
(*CreatePvc_PvcName)(nil),
(*CreatePvc_PvcNameSuffix)(nil),
}
file_kubernetes_executor_config_proto_msgTypes[7].OneofWrappers = []interface{}{
(*DeletePvc_TaskOutputParameter)(nil),
(*DeletePvc_Constant)(nil),
(*DeletePvc_ComponentInputParameter)(nil),
}
file_kubernetes_executor_config_proto_msgTypes[10].OneofWrappers = []interface{}{}
file_kubernetes_executor_config_proto_msgTypes[15].OneofWrappers = []interface{}{}
file_kubernetes_executor_config_proto_msgTypes[17].OneofWrappers = []interface{}{}
file_kubernetes_executor_config_proto_msgTypes[18].OneofWrappers = []interface{}{}
file_kubernetes_executor_config_proto_msgTypes[19].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_kubernetes_executor_config_proto_rawDesc,
NumEnums: 0,
NumMessages: 27,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_kubernetes_executor_config_proto_goTypes,
DependencyIndexes: file_kubernetes_executor_config_proto_depIdxs,
MessageInfos: file_kubernetes_executor_config_proto_msgTypes,
}.Build()
File_kubernetes_executor_config_proto = out.File
file_kubernetes_executor_config_proto_rawDesc = nil
file_kubernetes_executor_config_proto_goTypes = nil
file_kubernetes_executor_config_proto_depIdxs = nil
}
| 396 |
0 | kubeflow_public_repos/pipelines/kubernetes_platform | kubeflow_public_repos/pipelines/kubernetes_platform/proto/kubernetes_executor_config.proto | // Copyright 2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
package kfp_kubernetes;
import "google/protobuf/struct.proto";
option go_package = "github.com/kubeflow/pipelines/kubernetes_platform/go/kubernetesplatform";
message KubernetesExecutorConfig {
repeated SecretAsVolume secret_as_volume = 1;
repeated SecretAsEnv secret_as_env = 2;
repeated PvcMount pvc_mount = 3;
NodeSelector node_selector = 4;
PodMetadata pod_metadata = 5;
repeated ImagePullSecret image_pull_secret = 6;
// One of Always, Never, IfNotPresent.
string image_pull_policy = 7;
repeated ConfigMapAsVolume config_map_as_volume = 8;
repeated ConfigMapAsEnv config_map_as_env = 9;
int64 active_deadline_seconds = 10;
repeated FieldPathAsEnv field_path_as_env = 11;
repeated Toleration tolerations = 12;
repeated GenericEphemeralVolume generic_ephemeral_volume = 13;
repeated NodeAffinityTerm node_affinity = 14;
repeated PodAffinityTerm pod_affinity = 15;
EnabledSharedMemory enabled_shared_memory = 16;
repeated EmptyDirMount empty_dir_mounts = 17;
}
message EnabledSharedMemory {
// Name of the Shared Memory Volume.
string volume_name = 1;
// Size of the Shared Memory.
string size = 2;
}
message SecretAsVolume {
// Name of the Secret.
string secret_name = 1;
// Container path to mount the Secret data.
string mount_path = 2;
// An optional boolean value indicating whether the Secret must be defined.
optional bool optional = 3;
}
message SecretAsEnv {
// Name of the Secret.
string secret_name = 1;
message SecretKeyToEnvMap {
// Corresponds to a key of the Secret.data field.
string secret_key = 1;
// Env var to which secret_key's data should be set.
string env_var = 2;
}
repeated SecretKeyToEnvMap key_to_env = 2;
}
// Represents an upstream task's output parameter.
message TaskOutputParameterSpec {
// The name of the upstream task which produces the output parameter that
// matches with the `output_parameter_key`.
string producer_task = 1;
// The key of [TaskOutputsSpec.parameters][] map of the producer task.
string output_parameter_key = 2;
}
message PvcMount {
// Identifier for the PVC.
// Used like TaskInputsSpec.InputParameterSpec.kind.
oneof pvc_reference {
// Output parameter from an upstream task.
TaskOutputParameterSpec task_output_parameter = 1;
// A constant value.
string constant = 2;
// Pass the input parameter from parent component input parameter.
string component_input_parameter = 3;
}
// Container path to which the PVC should be mounted.
string mount_path = 4;
}
message CreatePvc {
oneof name {
// Name of the PVC, if not dynamically generated.
string pvc_name = 1;
// Suffix for a dynamically generated PVC name of the form
// {{workflow.name}}-<pvc_name_suffix>.
string pvc_name_suffix = 2;
}
// Corresponds to PersistentVolumeClaim.spec.accessMode field.
repeated string access_modes = 3;
// Corresponds to PersistentVolumeClaim.spec.resources.requests.storage field.
string size = 4;
// If true, corresponds to omitted PersistentVolumeClaim.spec.storageClassName.
bool default_storage_class = 5;
// Corresponds to PersistentVolumeClaim.spec.storageClassName string field.
// Should only be used if default_storage_class is false.
string storage_class_name = 6;
// Corresponds to PersistentVolumeClaim.spec.volumeName field.
string volume_name = 7;
// Corresponds to PersistentVolumeClaim.metadata.annotations field.
google.protobuf.Struct annotations = 8;
}
message DeletePvc {
// Identifier for the PVC.
// Used like TaskInputsSpec.InputParameterSpec.kind.
oneof pvc_reference {
// Output parameter from an upstream task.
TaskOutputParameterSpec task_output_parameter = 1;
// A constant value.
string constant = 2;
// Pass the input parameter from parent component input parameter.
string component_input_parameter = 3;
}
}
message NodeSelector {
// map of label key to label value
// corresponds to Pod.spec.nodeSelector field https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling
map<string, string> labels = 1;
}
message PodMetadata {
// values of metadata spec such as labels and annotations for the pod object
// corresponds to Pod.metadata field https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#Pod
map<string, string> labels = 1;
map<string, string> annotations = 2;
}
message ConfigMapAsVolume {
// Name of the ConfigMap.
string config_map_name = 1;
// Container path to mount the ConfigMap data.
string mount_path = 2;
// An optional boolean value indicating whether the ConfigMap must be defined.
optional bool optional = 3;
}
message ConfigMapAsEnv {
// Name of the ConfigMap.
string config_map_name = 1;
message ConfigMapKeyToEnvMap {
// Corresponds to a key of the ConfigMap.
string config_map_key = 1;
// Env var to which configmap_key's data should be set.
string env_var = 2;
}
repeated ConfigMapKeyToEnvMap key_to_env = 2;
}
message GenericEphemeralVolume {
// more details in https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes
// Name of the ephemeral volume.
string volume_name = 1;
// Container path to mount the volume
string mount_path = 2;
// Corresponds to ephemeral.volumeClaimTemplate.spec.accessModes field.
repeated string access_modes = 3;
// Corresponds to ephemeral.volumeClaimTemplate.spec.resources.requests.storage field.
string size = 4;
// If true, corresponds to omitted ephemeral.volumeClaimTemplate.spec.storageClassName.
bool default_storage_class = 5;
// Corresponds to ephemeral.volumeClaimTemplate.spec.storageClassName string field.
// Should only be used if default_storage_class is false.
string storage_class_name = 6;
// Corresponds to ephemeral.volumeClaimTemplate.metadata.
// This is not exactly a pod metadata but the fields are the same
PodMetadata metadata = 7;
}
message ImagePullSecret {
// Name of the image pull secret.
string secret_name = 1;
}
message FieldPathAsEnv {
// Name of the environment variable
string name = 1;
// Value of the field path string
string field_path = 2;
}
message Toleration {
string key = 1;
string operator = 2;
string value = 3;
string effect = 4;
optional int64 toleration_seconds = 5;
}
// Matches https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#labelselectorrequirement-v1-meta and
// https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#nodeselectorrequirement-v1-core
message SelectorRequirement {
string key = 1;
string operator = 2;
repeated string values = 3;
}
message NodeAffinityTerm {
repeated SelectorRequirement match_expressions = 1;
repeated SelectorRequirement match_fields = 2;
//Setting the weight makes it use PreferredDuringSchedulingIgnoredDuringExecution rules instead of RequiredDuringSchedulingIgnoredDuringExecution rules
optional int32 weight = 3;
}
message PodAffinityTerm {
repeated SelectorRequirement match_pod_expressions = 1;
map<string,string> match_pod_labels = 2;
string topology_key = 3;
repeated string namespaces = 4;
repeated SelectorRequirement match_namespace_expressions = 5;
map<string,string> match_namespace_labels = 6;
//Setting a weight makes it use PreferredDuringSchedulingIgnoredDuringExecution rules instead of RequiredDuringSchedulingIgnoredDuringExecution rules
optional int32 weight = 7;
//Flag indicating if it is a podaffinity or podantiaffinity
optional bool anti = 8;
}
message EmptyDirMount {
// https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#emptydirvolumesource-v1-core
string volume_name = 1;
string mount_path = 2;
optional string medium = 3;
optional string size_limit = 4;
}
| 397 |
0 | kubeflow_public_repos/pipelines/kubernetes_platform | kubeflow_public_repos/pipelines/kubernetes_platform/python/RELEASE.md | ## kfp-kubernetes release instructions
Some steps require elevated permissions to push branches, publish the package, and release documentation. However, anyone can perform step 1 to begin the process.
1. [No permissions required] Update the package version in
[`__init__.py`](https://github.com/kubeflow/pipelines/blob/master/kubernetes_platform/python/kfp/kubernetes/__init__.py)
and add a documentation version to the
[`version_info` array](https://github.com/kubeflow/pipelines/blob/0907a1155b393516b4f8de8561467dbb1f9be5da/kubernetes_platform/python/docs/conf.py#L140).
**Create and merge the PR into the `master` branch.**
2. [Requires repo OWNER permissions] Replace the `KFP_KUBERNETES_VERSION` value with the version in
`__init__.py`, then run the following commands:
```
KFP_KUBERNETES_VERSION=0.0.1 # replace with correct version
cd kubernetes_platform/python
source create_release_branch.sh
```
Follow the instructions printed out by the script in Step 2, which explain how to push the branch to upstream.
By the end, you
should have pushed a modified `__init__.py`, `conf.py` (from Step 1), and `.gitignore`, `kubernetes_executor_config_pb2.py` and two modified `.readthedocs.yml` files (from Step 2) to the release branch.
4. [Requires credentials] Go to
[readthedocs.org/projects/kfp-kubernetes/](https://readthedocs.org/projects/kfp-kubernetes/),
click "Versions" in the menu panel, and
search for the correct branch to activate the version. Make sure the docs
build.
5. [Requires credentials] From the `kubernetes_platform/python` directory with
`KFP_KUBERNETES_VERSION` set, run:
```
source release.sh
```
| 398 |
0 | kubeflow_public_repos/pipelines/kubernetes_platform | kubeflow_public_repos/pipelines/kubernetes_platform/python/README.md | # Kubeflow Pipelines SDK kfp-kubernetes API Reference
The Kubeflow Pipelines SDK kfp-kubernetes python library (part of the [Kubeflow Pipelines](https://www.kubeflow.org/docs/components/pipelines/) project) is an addon to the [Kubeflow Pipelines SDK](https://kubeflow-pipelines.readthedocs.io/) that enables authoring Kubeflow pipelines with Kubernetes-specific features and concepts, such as:
* [Secrets](https://kubernetes.io/docs/concepts/configuration/secret/)
* [PersistentVolumeClaims](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims)
* [ImagePullPolicies](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy)
* [Ephemeral volumes](https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/)
* [Node selectors](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector)
* [Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
* [Labels and annotations](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/#ObjectMeta)
* and more
Be sure to check out the full [API Reference](https://kfp-kubernetes.readthedocs.io/) for more details.
## Installation
The `kfp-kubernetes` package can be installed as a KFP SDK extra dependency.
```sh
pip install kfp[kubernetes]
```
Or installed independently:
```sh
pip install kfp-kubernetes
```
## Getting started
The following is an example of a simple pipeline that uses the kfp-kubernetes library to mount a pre-existing secret as an environment variable available in the task's container.
### Secret: As environment variable
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def print_secret():
import os
print(os.environ['SECRET_VAR'])
@dsl.pipeline
def pipeline():
task = print_secret()
kubernetes.use_secret_as_env(task,
secret_name='my-secret',
secret_key_to_env={'password': 'SECRET_VAR'})
```
## Other examples
Here is a non-exhaustive list of some other examples of how to use the kfp-kubernetes library. Be sure to check out the full [API Reference](https://kfp-kubernetes.readthedocs.io/) for more details.
### Secret: As mounted volume
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def print_secret():
with open('/mnt/my_vol') as f:
print(f.read())
@dsl.pipeline
def pipeline():
task = print_secret()
kubernetes.use_secret_as_volume(task,
secret_name='my-secret',
mount_path='/mnt/my_vol')
```
### Secret: As optional source for a mounted volume
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def print_secret():
with open('/mnt/my_vol') as f:
print(f.read())
@dsl.pipeline
def pipeline():
task = print_secret()
kubernetes.use_secret_as_volume(task,
secret_name='my-secret',
mount_path='/mnt/my_vol'
optional=True)
```
### ConfigMap: As environment variable
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def print_config_map():
import os
print(os.environ['CM_VAR'])
@dsl.pipeline
def pipeline():
task = print_config_map()
kubernetes.use_config_map_as_env(task,
config_map_name='my-cm',
config_map_key_to_env={'foo': 'CM_VAR'})
```
### ConfigMap: As mounted volume
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def print_config_map():
with open('/mnt/my_vol') as f:
print(f.read())
@dsl.pipeline
def pipeline():
task = print_config_map()
kubernetes.use_config_map_as_volume(task,
config_map_name='my-cm',
mount_path='/mnt/my_vol')
```
### ConfigMap: As optional source for a mounted volume
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def print_config_map():
with open('/mnt/my_vol') as f:
print(f.read())
@dsl.pipeline
def pipeline():
task = print_config_map()
kubernetes.use_config_map_as_volume(task,
config_map_name='my-cm',
mount_path='/mnt/my_vol',
optional=True)
```
### PersistentVolumeClaim: Dynamically create PVC, mount, then delete
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def make_data():
with open('/data/file.txt', 'w') as f:
f.write('my data')
@dsl.component
def read_data():
with open('/reused_data/file.txt') as f:
print(f.read())
@dsl.pipeline
def my_pipeline():
pvc1 = kubernetes.CreatePVC(
# can also use pvc_name instead of pvc_name_suffix to use a pre-existing PVC
pvc_name_suffix='-my-pvc',
access_modes=['ReadWriteOnce'],
size='5Gi',
storage_class_name='standard',
)
task1 = make_data()
# normally task sequencing is handled by data exchange via component inputs/outputs
# but since data is exchanged via volume, we need to call .after explicitly to sequence tasks
task2 = read_data().after(task1)
kubernetes.mount_pvc(
task1,
pvc_name=pvc1.outputs['name'],
mount_path='/data',
)
kubernetes.mount_pvc(
task2,
pvc_name=pvc1.outputs['name'],
mount_path='/reused_data',
)
# wait to delete the PVC until after task2 completes
delete_pvc1 = kubernetes.DeletePVC(
pvc_name=pvc1.outputs['name']).after(task2)
```
### PersistentVolumeClaim: Create PVC on-the-fly tied to your pod's lifecycle
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def make_data():
with open('/data/file.txt', 'w') as f:
f.write('my data')
@dsl.pipeline
def my_pipeline():
task1 = make_data()
# note that the created pvc will be autoamatically cleaned up once pod disappeared and cannot be shared between pods
kubernetes.add_ephemeral_volume(
task1,
volume_name="my-pvc",
mount_path="/data",
access_modes=['ReadWriteOnce'],
size='5Gi',
)
```
### Pod Metadata: Add pod labels and annotations to the container pod's definition
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def comp():
pass
@dsl.pipeline
def my_pipeline():
task = comp()
kubernetes.add_pod_label(
task,
label_key='kubeflow.com/kfp',
label_value='pipeline-node',
)
kubernetes.add_pod_annotation(
task,
annotation_key='run_id',
annotation_value='123456',
)
```
### Kubernetes Field: Use Kubernetes Field Path as enviornment variable
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def comp():
pass
@dsl.pipeline
def my_pipeline():
task = comp()
kubernetes.use_field_path_as_env(
task,
env_name='KFP_RUN_NAME',
field_path="metadata.annotations['pipelines.kubeflow.org/run_name']"
)
```
### Timeout: Set timeout in seconds defined as pod spec's activeDeadlineSeconds
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def comp():
pass
@dsl.pipeline
def my_pipeline():
task = comp()
kubernetes.set_timeout(task, 20)
```
### ImagePullPolicy: One of "Always" "Never", "IfNotPresent".
```python
from kfp import dsl
from kfp import kubernetes
@dsl.component
def simple_task():
print("hello-world")
@dsl.pipeline
def pipeline():
task = simple_task()
kubernetes.set_image_pull_policy(task, "Always")
```
| 399 |