|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 3 | + * in compliance with the License. You may obtain a copy of the License at |
| 4 | + * |
| 5 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + * |
| 7 | + * Unless required by applicable law or agreed to in writing, software distributed under the License |
| 8 | + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 9 | + * or implied. See the License for the specific language governing permissions and limitations under |
| 10 | + * the License. |
| 11 | + */ |
| 12 | +/* |
| 13 | + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ |
| 14 | + * Modify at your own risk. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.api.services.alloydb.v1alpha.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Timing information for the stage execution. |
| 21 | + * |
| 22 | + * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
| 23 | + * transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see: |
| 24 | + * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> |
| 25 | + * </p> |
| 26 | + * |
| 27 | + * @author Google, Inc. |
| 28 | + */ |
| 29 | +@SuppressWarnings("javadoc") |
| 30 | +public final class StageSchedule extends com.google.api.client.json.GenericJson { |
| 31 | + |
| 32 | + /** |
| 33 | + * Actual end time of the stage. Set only if the stage has completed. |
| 34 | + * The value may be {@code null}. |
| 35 | + */ |
| 36 | + @com.google.api.client.util.Key |
| 37 | + private String actualEndTime; |
| 38 | + |
| 39 | + /** |
| 40 | + * Actual start time of the stage. Set only if the stage has started. |
| 41 | + * The value may be {@code null}. |
| 42 | + */ |
| 43 | + @com.google.api.client.util.Key |
| 44 | + private String actualStartTime; |
| 45 | + |
| 46 | + /** |
| 47 | + * When the stage is expected to end. Set only if the stage has not completed yet. |
| 48 | + * The value may be {@code null}. |
| 49 | + */ |
| 50 | + @com.google.api.client.util.Key |
| 51 | + private String estimatedEndTime; |
| 52 | + |
| 53 | + /** |
| 54 | + * When the stage is expected to start. Set only if the stage has not started yet. |
| 55 | + * The value may be {@code null}. |
| 56 | + */ |
| 57 | + @com.google.api.client.util.Key |
| 58 | + private String estimatedStartTime; |
| 59 | + |
| 60 | + /** |
| 61 | + * Actual end time of the stage. Set only if the stage has completed. |
| 62 | + * @return value or {@code null} for none |
| 63 | + */ |
| 64 | + public String getActualEndTime() { |
| 65 | + return actualEndTime; |
| 66 | + } |
| 67 | + |
| 68 | + /** |
| 69 | + * Actual end time of the stage. Set only if the stage has completed. |
| 70 | + * @param actualEndTime actualEndTime or {@code null} for none |
| 71 | + */ |
| 72 | + public StageSchedule setActualEndTime(String actualEndTime) { |
| 73 | + this.actualEndTime = actualEndTime; |
| 74 | + return this; |
| 75 | + } |
| 76 | + |
| 77 | + /** |
| 78 | + * Actual start time of the stage. Set only if the stage has started. |
| 79 | + * @return value or {@code null} for none |
| 80 | + */ |
| 81 | + public String getActualStartTime() { |
| 82 | + return actualStartTime; |
| 83 | + } |
| 84 | + |
| 85 | + /** |
| 86 | + * Actual start time of the stage. Set only if the stage has started. |
| 87 | + * @param actualStartTime actualStartTime or {@code null} for none |
| 88 | + */ |
| 89 | + public StageSchedule setActualStartTime(String actualStartTime) { |
| 90 | + this.actualStartTime = actualStartTime; |
| 91 | + return this; |
| 92 | + } |
| 93 | + |
| 94 | + /** |
| 95 | + * When the stage is expected to end. Set only if the stage has not completed yet. |
| 96 | + * @return value or {@code null} for none |
| 97 | + */ |
| 98 | + public String getEstimatedEndTime() { |
| 99 | + return estimatedEndTime; |
| 100 | + } |
| 101 | + |
| 102 | + /** |
| 103 | + * When the stage is expected to end. Set only if the stage has not completed yet. |
| 104 | + * @param estimatedEndTime estimatedEndTime or {@code null} for none |
| 105 | + */ |
| 106 | + public StageSchedule setEstimatedEndTime(String estimatedEndTime) { |
| 107 | + this.estimatedEndTime = estimatedEndTime; |
| 108 | + return this; |
| 109 | + } |
| 110 | + |
| 111 | + /** |
| 112 | + * When the stage is expected to start. Set only if the stage has not started yet. |
| 113 | + * @return value or {@code null} for none |
| 114 | + */ |
| 115 | + public String getEstimatedStartTime() { |
| 116 | + return estimatedStartTime; |
| 117 | + } |
| 118 | + |
| 119 | + /** |
| 120 | + * When the stage is expected to start. Set only if the stage has not started yet. |
| 121 | + * @param estimatedStartTime estimatedStartTime or {@code null} for none |
| 122 | + */ |
| 123 | + public StageSchedule setEstimatedStartTime(String estimatedStartTime) { |
| 124 | + this.estimatedStartTime = estimatedStartTime; |
| 125 | + return this; |
| 126 | + } |
| 127 | + |
| 128 | + @Override |
| 129 | + public StageSchedule set(String fieldName, Object value) { |
| 130 | + return (StageSchedule) super.set(fieldName, value); |
| 131 | + } |
| 132 | + |
| 133 | + @Override |
| 134 | + public StageSchedule clone() { |
| 135 | + return (StageSchedule) super.clone(); |
| 136 | + } |
| 137 | + |
| 138 | +} |
0 commit comments