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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface ReferenceOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Reference) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Output Only] Type of the resource. Always compute#reference for references. 31 * </pre> 32 * 33 * <code>optional string kind = 3292052;</code> 34 * 35 * @return Whether the kind field is set. 36 */ hasKind()37 boolean hasKind(); 38 /** 39 * 40 * 41 * <pre> 42 * [Output Only] Type of the resource. Always compute#reference for references. 43 * </pre> 44 * 45 * <code>optional string kind = 3292052;</code> 46 * 47 * @return The kind. 48 */ getKind()49 java.lang.String getKind(); 50 /** 51 * 52 * 53 * <pre> 54 * [Output Only] Type of the resource. Always compute#reference for references. 55 * </pre> 56 * 57 * <code>optional string kind = 3292052;</code> 58 * 59 * @return The bytes for kind. 60 */ getKindBytes()61 com.google.protobuf.ByteString getKindBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF 68 * </pre> 69 * 70 * <code>optional string reference_type = 247521198;</code> 71 * 72 * @return Whether the referenceType field is set. 73 */ hasReferenceType()74 boolean hasReferenceType(); 75 /** 76 * 77 * 78 * <pre> 79 * A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF 80 * </pre> 81 * 82 * <code>optional string reference_type = 247521198;</code> 83 * 84 * @return The referenceType. 85 */ getReferenceType()86 java.lang.String getReferenceType(); 87 /** 88 * 89 * 90 * <pre> 91 * A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF 92 * </pre> 93 * 94 * <code>optional string reference_type = 247521198;</code> 95 * 96 * @return The bytes for referenceType. 97 */ getReferenceTypeBytes()98 com.google.protobuf.ByteString getReferenceTypeBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * URL of the resource which refers to the target. 105 * </pre> 106 * 107 * <code>optional string referrer = 351173663;</code> 108 * 109 * @return Whether the referrer field is set. 110 */ hasReferrer()111 boolean hasReferrer(); 112 /** 113 * 114 * 115 * <pre> 116 * URL of the resource which refers to the target. 117 * </pre> 118 * 119 * <code>optional string referrer = 351173663;</code> 120 * 121 * @return The referrer. 122 */ getReferrer()123 java.lang.String getReferrer(); 124 /** 125 * 126 * 127 * <pre> 128 * URL of the resource which refers to the target. 129 * </pre> 130 * 131 * <code>optional string referrer = 351173663;</code> 132 * 133 * @return The bytes for referrer. 134 */ getReferrerBytes()135 com.google.protobuf.ByteString getReferrerBytes(); 136 137 /** 138 * 139 * 140 * <pre> 141 * URL of the resource to which this reference points. 142 * </pre> 143 * 144 * <code>optional string target = 192835985;</code> 145 * 146 * @return Whether the target field is set. 147 */ hasTarget()148 boolean hasTarget(); 149 /** 150 * 151 * 152 * <pre> 153 * URL of the resource to which this reference points. 154 * </pre> 155 * 156 * <code>optional string target = 192835985;</code> 157 * 158 * @return The target. 159 */ getTarget()160 java.lang.String getTarget(); 161 /** 162 * 163 * 164 * <pre> 165 * URL of the resource to which this reference points. 166 * </pre> 167 * 168 * <code>optional string target = 192835985;</code> 169 * 170 * @return The bytes for target. 171 */ getTargetBytes()172 com.google.protobuf.ByteString getTargetBytes(); 173 } 174