1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/dataproc/v1/jobs.proto 18 19 package com.google.cloud.dataproc.v1; 20 21 public interface JobMetadataOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.JobMetadata) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Output only. The job id. 31 * </pre> 32 * 33 * <code>string job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 34 * 35 * @return The jobId. 36 */ getJobId()37 java.lang.String getJobId(); 38 /** 39 * 40 * 41 * <pre> 42 * Output only. The job id. 43 * </pre> 44 * 45 * <code>string job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 46 * 47 * @return The bytes for jobId. 48 */ getJobIdBytes()49 com.google.protobuf.ByteString getJobIdBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Output only. Most recent job status. 56 * </pre> 57 * 58 * <code> 59 * .google.cloud.dataproc.v1.JobStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 60 * </code> 61 * 62 * @return Whether the status field is set. 63 */ hasStatus()64 boolean hasStatus(); 65 /** 66 * 67 * 68 * <pre> 69 * Output only. Most recent job status. 70 * </pre> 71 * 72 * <code> 73 * .google.cloud.dataproc.v1.JobStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 74 * </code> 75 * 76 * @return The status. 77 */ getStatus()78 com.google.cloud.dataproc.v1.JobStatus getStatus(); 79 /** 80 * 81 * 82 * <pre> 83 * Output only. Most recent job status. 84 * </pre> 85 * 86 * <code> 87 * .google.cloud.dataproc.v1.JobStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 88 * </code> 89 */ getStatusOrBuilder()90 com.google.cloud.dataproc.v1.JobStatusOrBuilder getStatusOrBuilder(); 91 92 /** 93 * 94 * 95 * <pre> 96 * Output only. Operation type. 97 * </pre> 98 * 99 * <code>string operation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 100 * 101 * @return The operationType. 102 */ getOperationType()103 java.lang.String getOperationType(); 104 /** 105 * 106 * 107 * <pre> 108 * Output only. Operation type. 109 * </pre> 110 * 111 * <code>string operation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 112 * 113 * @return The bytes for operationType. 114 */ getOperationTypeBytes()115 com.google.protobuf.ByteString getOperationTypeBytes(); 116 117 /** 118 * 119 * 120 * <pre> 121 * Output only. Job submission time. 122 * </pre> 123 * 124 * <code>.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 125 * </code> 126 * 127 * @return Whether the startTime field is set. 128 */ hasStartTime()129 boolean hasStartTime(); 130 /** 131 * 132 * 133 * <pre> 134 * Output only. Job submission time. 135 * </pre> 136 * 137 * <code>.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 138 * </code> 139 * 140 * @return The startTime. 141 */ getStartTime()142 com.google.protobuf.Timestamp getStartTime(); 143 /** 144 * 145 * 146 * <pre> 147 * Output only. Job submission time. 148 * </pre> 149 * 150 * <code>.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 151 * </code> 152 */ getStartTimeOrBuilder()153 com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); 154 } 155