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/clusters.proto 18 19 package com.google.cloud.dataproc.v1; 20 21 public interface NodeInitializationActionOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.NodeInitializationAction) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. Cloud Storage URI of executable file. 31 * </pre> 32 * 33 * <code>string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];</code> 34 * 35 * @return The executableFile. 36 */ getExecutableFile()37 java.lang.String getExecutableFile(); 38 /** 39 * 40 * 41 * <pre> 42 * Required. Cloud Storage URI of executable file. 43 * </pre> 44 * 45 * <code>string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];</code> 46 * 47 * @return The bytes for executableFile. 48 */ getExecutableFileBytes()49 com.google.protobuf.ByteString getExecutableFileBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Optional. Amount of time executable has to complete. Default is 56 * 10 minutes (see JSON representation of 57 * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). 58 * Cluster creation fails with an explanatory error message (the 59 * name of the executable that caused the error and the exceeded timeout 60 * period) if the executable is not completed at end of the timeout period. 61 * </pre> 62 * 63 * <code> 64 * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; 65 * </code> 66 * 67 * @return Whether the executionTimeout field is set. 68 */ hasExecutionTimeout()69 boolean hasExecutionTimeout(); 70 /** 71 * 72 * 73 * <pre> 74 * Optional. Amount of time executable has to complete. Default is 75 * 10 minutes (see JSON representation of 76 * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). 77 * Cluster creation fails with an explanatory error message (the 78 * name of the executable that caused the error and the exceeded timeout 79 * period) if the executable is not completed at end of the timeout period. 80 * </pre> 81 * 82 * <code> 83 * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; 84 * </code> 85 * 86 * @return The executionTimeout. 87 */ getExecutionTimeout()88 com.google.protobuf.Duration getExecutionTimeout(); 89 /** 90 * 91 * 92 * <pre> 93 * Optional. Amount of time executable has to complete. Default is 94 * 10 minutes (see JSON representation of 95 * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). 96 * Cluster creation fails with an explanatory error message (the 97 * name of the executable that caused the error and the exceeded timeout 98 * period) if the executable is not completed at end of the timeout period. 99 * </pre> 100 * 101 * <code> 102 * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; 103 * </code> 104 */ getExecutionTimeoutOrBuilder()105 com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder(); 106 } 107