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/eventarc/v1/channel_connection.proto 18 19 package com.google.cloud.eventarc.v1; 20 21 public interface ChannelConnectionOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.eventarc.v1.ChannelConnection) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The name of the connection. 31 * </pre> 32 * 33 * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code> 34 * 35 * @return The name. 36 */ getName()37 java.lang.String getName(); 38 /** 39 * 40 * 41 * <pre> 42 * Required. The name of the connection. 43 * </pre> 44 * 45 * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code> 46 * 47 * @return The bytes for name. 48 */ getNameBytes()49 com.google.protobuf.ByteString getNameBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Output only. Server assigned ID of the resource. 56 * The server guarantees uniqueness and immutability until deleted. 57 * </pre> 58 * 59 * <code>string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 60 * 61 * @return The uid. 62 */ getUid()63 java.lang.String getUid(); 64 /** 65 * 66 * 67 * <pre> 68 * Output only. Server assigned ID of the resource. 69 * The server guarantees uniqueness and immutability until deleted. 70 * </pre> 71 * 72 * <code>string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 73 * 74 * @return The bytes for uid. 75 */ getUidBytes()76 com.google.protobuf.ByteString getUidBytes(); 77 78 /** 79 * 80 * 81 * <pre> 82 * Required. The name of the connected subscriber Channel. 83 * This is a weak reference to avoid cross project and cross accounts 84 * references. This must be in 85 * `projects/{project}/location/{location}/channels/{channel_id}` format. 86 * </pre> 87 * 88 * <code> 89 * string channel = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 90 * </code> 91 * 92 * @return The channel. 93 */ getChannel()94 java.lang.String getChannel(); 95 /** 96 * 97 * 98 * <pre> 99 * Required. The name of the connected subscriber Channel. 100 * This is a weak reference to avoid cross project and cross accounts 101 * references. This must be in 102 * `projects/{project}/location/{location}/channels/{channel_id}` format. 103 * </pre> 104 * 105 * <code> 106 * string channel = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 107 * </code> 108 * 109 * @return The bytes for channel. 110 */ getChannelBytes()111 com.google.protobuf.ByteString getChannelBytes(); 112 113 /** 114 * 115 * 116 * <pre> 117 * Output only. The creation time. 118 * </pre> 119 * 120 * <code>.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; 121 * </code> 122 * 123 * @return Whether the createTime field is set. 124 */ hasCreateTime()125 boolean hasCreateTime(); 126 /** 127 * 128 * 129 * <pre> 130 * Output only. The creation time. 131 * </pre> 132 * 133 * <code>.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; 134 * </code> 135 * 136 * @return The createTime. 137 */ getCreateTime()138 com.google.protobuf.Timestamp getCreateTime(); 139 /** 140 * 141 * 142 * <pre> 143 * Output only. The creation time. 144 * </pre> 145 * 146 * <code>.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; 147 * </code> 148 */ getCreateTimeOrBuilder()149 com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); 150 151 /** 152 * 153 * 154 * <pre> 155 * Output only. The last-modified time. 156 * </pre> 157 * 158 * <code>.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; 159 * </code> 160 * 161 * @return Whether the updateTime field is set. 162 */ hasUpdateTime()163 boolean hasUpdateTime(); 164 /** 165 * 166 * 167 * <pre> 168 * Output only. The last-modified time. 169 * </pre> 170 * 171 * <code>.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; 172 * </code> 173 * 174 * @return The updateTime. 175 */ getUpdateTime()176 com.google.protobuf.Timestamp getUpdateTime(); 177 /** 178 * 179 * 180 * <pre> 181 * Output only. The last-modified time. 182 * </pre> 183 * 184 * <code>.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; 185 * </code> 186 */ getUpdateTimeOrBuilder()187 com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); 188 189 /** 190 * 191 * 192 * <pre> 193 * Input only. Activation token for the channel. The token will be used 194 * during the creation of ChannelConnection to bind the channel with the 195 * provider project. This field will not be stored in the provider resource. 196 * </pre> 197 * 198 * <code>string activation_token = 8 [(.google.api.field_behavior) = INPUT_ONLY];</code> 199 * 200 * @return The activationToken. 201 */ getActivationToken()202 java.lang.String getActivationToken(); 203 /** 204 * 205 * 206 * <pre> 207 * Input only. Activation token for the channel. The token will be used 208 * during the creation of ChannelConnection to bind the channel with the 209 * provider project. This field will not be stored in the provider resource. 210 * </pre> 211 * 212 * <code>string activation_token = 8 [(.google.api.field_behavior) = INPUT_ONLY];</code> 213 * 214 * @return The bytes for activationToken. 215 */ getActivationTokenBytes()216 com.google.protobuf.ByteString getActivationTokenBytes(); 217 } 218