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 BuiltImageOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.BuiltImage) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Name used to push the container image to Google Container Registry, as 31 * presented to `docker push`. 32 * </pre> 33 * 34 * <code>string name = 1;</code> 35 * 36 * @return The name. 37 */ getName()38 java.lang.String getName(); 39 /** 40 * 41 * 42 * <pre> 43 * Name used to push the container image to Google Container Registry, as 44 * presented to `docker push`. 45 * </pre> 46 * 47 * <code>string name = 1;</code> 48 * 49 * @return The bytes for name. 50 */ getNameBytes()51 com.google.protobuf.ByteString getNameBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * Docker Registry 2.0 digest. 58 * </pre> 59 * 60 * <code>string digest = 3;</code> 61 * 62 * @return The digest. 63 */ getDigest()64 java.lang.String getDigest(); 65 /** 66 * 67 * 68 * <pre> 69 * Docker Registry 2.0 digest. 70 * </pre> 71 * 72 * <code>string digest = 3;</code> 73 * 74 * @return The bytes for digest. 75 */ getDigestBytes()76 com.google.protobuf.ByteString getDigestBytes(); 77 78 /** 79 * 80 * 81 * <pre> 82 * Output only. Stores timing information for pushing the specified image. 83 * </pre> 84 * 85 * <code> 86 * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 87 * </code> 88 * 89 * @return Whether the pushTiming field is set. 90 */ hasPushTiming()91 boolean hasPushTiming(); 92 /** 93 * 94 * 95 * <pre> 96 * Output only. Stores timing information for pushing the specified image. 97 * </pre> 98 * 99 * <code> 100 * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 101 * </code> 102 * 103 * @return The pushTiming. 104 */ getPushTiming()105 com.google.cloudbuild.v1.TimeSpan getPushTiming(); 106 /** 107 * 108 * 109 * <pre> 110 * Output only. Stores timing information for pushing the specified image. 111 * </pre> 112 * 113 * <code> 114 * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; 115 * </code> 116 */ getPushTimingOrBuilder()117 com.google.cloudbuild.v1.TimeSpanOrBuilder getPushTimingOrBuilder(); 118 } 119