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/devtools/cloudbuild/v1/cloudbuild.proto 18 19 package com.google.cloudbuild.v1; 20 21 public interface VolumeOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.Volume) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Name of the volume to mount. 31 * Volume names must be unique per build step and must be valid names for 32 * Docker volumes. Each named volume must be used by at least two build steps. 33 * </pre> 34 * 35 * <code>string name = 1;</code> 36 * 37 * @return The name. 38 */ getName()39 java.lang.String getName(); 40 /** 41 * 42 * 43 * <pre> 44 * Name of the volume to mount. 45 * Volume names must be unique per build step and must be valid names for 46 * Docker volumes. Each named volume must be used by at least two build steps. 47 * </pre> 48 * 49 * <code>string name = 1;</code> 50 * 51 * @return The bytes for name. 52 */ getNameBytes()53 com.google.protobuf.ByteString getNameBytes(); 54 55 /** 56 * 57 * 58 * <pre> 59 * Path at which to mount the volume. 60 * Paths must be absolute and cannot conflict with other volume paths on the 61 * same build step or with certain reserved volume paths. 62 * </pre> 63 * 64 * <code>string path = 2;</code> 65 * 66 * @return The path. 67 */ getPath()68 java.lang.String getPath(); 69 /** 70 * 71 * 72 * <pre> 73 * Path at which to mount the volume. 74 * Paths must be absolute and cannot conflict with other volume paths on the 75 * same build step or with certain reserved volume paths. 76 * </pre> 77 * 78 * <code>string path = 2;</code> 79 * 80 * @return The bytes for path. 81 */ getPathBytes()82 com.google.protobuf.ByteString getPathBytes(); 83 } 84