
com.google.api.services.toolresults.model.MultiStep Maven / Gradle / Ivy
/*
* 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.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.toolresults.model;
/**
* Details when multiple steps are run with the same configuration as a group.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Tool Results API. For a detailed explanation
* see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class MultiStep extends com.google.api.client.json.GenericJson {
/**
* Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive).
* The primary step is 0.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer multistepNumber;
/**
* Present if it is a primary (original) step.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private PrimaryStep primaryStep;
/**
* Step Id of the primary (original) step, which might be this step.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String primaryStepId;
/**
* Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive).
* The primary step is 0.
* @return value or {@code null} for none
*/
public java.lang.Integer getMultistepNumber() {
return multistepNumber;
}
/**
* Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive).
* The primary step is 0.
* @param multistepNumber multistepNumber or {@code null} for none
*/
public MultiStep setMultistepNumber(java.lang.Integer multistepNumber) {
this.multistepNumber = multistepNumber;
return this;
}
/**
* Present if it is a primary (original) step.
* @return value or {@code null} for none
*/
public PrimaryStep getPrimaryStep() {
return primaryStep;
}
/**
* Present if it is a primary (original) step.
* @param primaryStep primaryStep or {@code null} for none
*/
public MultiStep setPrimaryStep(PrimaryStep primaryStep) {
this.primaryStep = primaryStep;
return this;
}
/**
* Step Id of the primary (original) step, which might be this step.
* @return value or {@code null} for none
*/
public java.lang.String getPrimaryStepId() {
return primaryStepId;
}
/**
* Step Id of the primary (original) step, which might be this step.
* @param primaryStepId primaryStepId or {@code null} for none
*/
public MultiStep setPrimaryStepId(java.lang.String primaryStepId) {
this.primaryStepId = primaryStepId;
return this;
}
@Override
public MultiStep set(String fieldName, Object value) {
return (MultiStep) super.set(fieldName, value);
}
@Override
public MultiStep clone() {
return (MultiStep) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy