001package hapi.services.tiller; 002 003import static io.grpc.MethodDescriptor.generateFullMethodName; 004import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; 005import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; 006import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; 007import static io.grpc.stub.ClientCalls.asyncUnaryCall; 008import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; 009import static io.grpc.stub.ClientCalls.blockingUnaryCall; 010import static io.grpc.stub.ClientCalls.futureUnaryCall; 011import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall; 012import static io.grpc.stub.ServerCalls.asyncClientStreamingCall; 013import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; 014import static io.grpc.stub.ServerCalls.asyncUnaryCall; 015import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall; 016import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; 017 018/** 019 * <pre> 020 * ReleaseService is the service that a helm application uses to mutate, 021 * query, and manage releases. 022 * Release: A named installation composed of a chart and 023 * config. At any given time a release has one 024 * chart and one config. 025 * Config: A config is a YAML file that supplies values 026 * to the parametrizable templates of a chart. 027 * Chart: A chart is a helm package that contains 028 * metadata, a default config, zero or more 029 * optionally parameterizable templates, and 030 * zero or more charts (dependencies). 031 * </pre> 032 */ 033@javax.annotation.Generated( 034 value = "by gRPC proto compiler (version 1.10.0)", 035 comments = "Source: hapi/services/tiller.proto") 036public final class ReleaseServiceGrpc { 037 038 private ReleaseServiceGrpc() {} 039 040 public static final String SERVICE_NAME = "hapi.services.tiller.ReleaseService"; 041 042 // Static method descriptors that strictly reflect the proto. 043 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 044 @java.lang.Deprecated // Use {@link #getListReleasesMethod()} instead. 045 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.ListReleasesRequest, 046 hapi.services.tiller.Tiller.ListReleasesResponse> METHOD_LIST_RELEASES = getListReleasesMethodHelper(); 047 048 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.ListReleasesRequest, 049 hapi.services.tiller.Tiller.ListReleasesResponse> getListReleasesMethod; 050 051 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 052 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.ListReleasesRequest, 053 hapi.services.tiller.Tiller.ListReleasesResponse> getListReleasesMethod() { 054 return getListReleasesMethodHelper(); 055 } 056 057 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.ListReleasesRequest, 058 hapi.services.tiller.Tiller.ListReleasesResponse> getListReleasesMethodHelper() { 059 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.ListReleasesRequest, hapi.services.tiller.Tiller.ListReleasesResponse> getListReleasesMethod; 060 if ((getListReleasesMethod = ReleaseServiceGrpc.getListReleasesMethod) == null) { 061 synchronized (ReleaseServiceGrpc.class) { 062 if ((getListReleasesMethod = ReleaseServiceGrpc.getListReleasesMethod) == null) { 063 ReleaseServiceGrpc.getListReleasesMethod = getListReleasesMethod = 064 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.ListReleasesRequest, hapi.services.tiller.Tiller.ListReleasesResponse>newBuilder() 065 .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) 066 .setFullMethodName(generateFullMethodName( 067 "hapi.services.tiller.ReleaseService", "ListReleases")) 068 .setSampledToLocalTracing(true) 069 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 070 hapi.services.tiller.Tiller.ListReleasesRequest.getDefaultInstance())) 071 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 072 hapi.services.tiller.Tiller.ListReleasesResponse.getDefaultInstance())) 073 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("ListReleases")) 074 .build(); 075 } 076 } 077 } 078 return getListReleasesMethod; 079 } 080 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 081 @java.lang.Deprecated // Use {@link #getGetReleaseStatusMethod()} instead. 082 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseStatusRequest, 083 hapi.services.tiller.Tiller.GetReleaseStatusResponse> METHOD_GET_RELEASE_STATUS = getGetReleaseStatusMethodHelper(); 084 085 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseStatusRequest, 086 hapi.services.tiller.Tiller.GetReleaseStatusResponse> getGetReleaseStatusMethod; 087 088 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 089 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseStatusRequest, 090 hapi.services.tiller.Tiller.GetReleaseStatusResponse> getGetReleaseStatusMethod() { 091 return getGetReleaseStatusMethodHelper(); 092 } 093 094 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseStatusRequest, 095 hapi.services.tiller.Tiller.GetReleaseStatusResponse> getGetReleaseStatusMethodHelper() { 096 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseStatusRequest, hapi.services.tiller.Tiller.GetReleaseStatusResponse> getGetReleaseStatusMethod; 097 if ((getGetReleaseStatusMethod = ReleaseServiceGrpc.getGetReleaseStatusMethod) == null) { 098 synchronized (ReleaseServiceGrpc.class) { 099 if ((getGetReleaseStatusMethod = ReleaseServiceGrpc.getGetReleaseStatusMethod) == null) { 100 ReleaseServiceGrpc.getGetReleaseStatusMethod = getGetReleaseStatusMethod = 101 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.GetReleaseStatusRequest, hapi.services.tiller.Tiller.GetReleaseStatusResponse>newBuilder() 102 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 103 .setFullMethodName(generateFullMethodName( 104 "hapi.services.tiller.ReleaseService", "GetReleaseStatus")) 105 .setSampledToLocalTracing(true) 106 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 107 hapi.services.tiller.Tiller.GetReleaseStatusRequest.getDefaultInstance())) 108 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 109 hapi.services.tiller.Tiller.GetReleaseStatusResponse.getDefaultInstance())) 110 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("GetReleaseStatus")) 111 .build(); 112 } 113 } 114 } 115 return getGetReleaseStatusMethod; 116 } 117 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 118 @java.lang.Deprecated // Use {@link #getGetReleaseContentMethod()} instead. 119 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseContentRequest, 120 hapi.services.tiller.Tiller.GetReleaseContentResponse> METHOD_GET_RELEASE_CONTENT = getGetReleaseContentMethodHelper(); 121 122 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseContentRequest, 123 hapi.services.tiller.Tiller.GetReleaseContentResponse> getGetReleaseContentMethod; 124 125 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 126 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseContentRequest, 127 hapi.services.tiller.Tiller.GetReleaseContentResponse> getGetReleaseContentMethod() { 128 return getGetReleaseContentMethodHelper(); 129 } 130 131 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseContentRequest, 132 hapi.services.tiller.Tiller.GetReleaseContentResponse> getGetReleaseContentMethodHelper() { 133 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetReleaseContentRequest, hapi.services.tiller.Tiller.GetReleaseContentResponse> getGetReleaseContentMethod; 134 if ((getGetReleaseContentMethod = ReleaseServiceGrpc.getGetReleaseContentMethod) == null) { 135 synchronized (ReleaseServiceGrpc.class) { 136 if ((getGetReleaseContentMethod = ReleaseServiceGrpc.getGetReleaseContentMethod) == null) { 137 ReleaseServiceGrpc.getGetReleaseContentMethod = getGetReleaseContentMethod = 138 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.GetReleaseContentRequest, hapi.services.tiller.Tiller.GetReleaseContentResponse>newBuilder() 139 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 140 .setFullMethodName(generateFullMethodName( 141 "hapi.services.tiller.ReleaseService", "GetReleaseContent")) 142 .setSampledToLocalTracing(true) 143 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 144 hapi.services.tiller.Tiller.GetReleaseContentRequest.getDefaultInstance())) 145 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 146 hapi.services.tiller.Tiller.GetReleaseContentResponse.getDefaultInstance())) 147 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("GetReleaseContent")) 148 .build(); 149 } 150 } 151 } 152 return getGetReleaseContentMethod; 153 } 154 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 155 @java.lang.Deprecated // Use {@link #getUpdateReleaseMethod()} instead. 156 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UpdateReleaseRequest, 157 hapi.services.tiller.Tiller.UpdateReleaseResponse> METHOD_UPDATE_RELEASE = getUpdateReleaseMethodHelper(); 158 159 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UpdateReleaseRequest, 160 hapi.services.tiller.Tiller.UpdateReleaseResponse> getUpdateReleaseMethod; 161 162 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 163 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UpdateReleaseRequest, 164 hapi.services.tiller.Tiller.UpdateReleaseResponse> getUpdateReleaseMethod() { 165 return getUpdateReleaseMethodHelper(); 166 } 167 168 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UpdateReleaseRequest, 169 hapi.services.tiller.Tiller.UpdateReleaseResponse> getUpdateReleaseMethodHelper() { 170 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UpdateReleaseRequest, hapi.services.tiller.Tiller.UpdateReleaseResponse> getUpdateReleaseMethod; 171 if ((getUpdateReleaseMethod = ReleaseServiceGrpc.getUpdateReleaseMethod) == null) { 172 synchronized (ReleaseServiceGrpc.class) { 173 if ((getUpdateReleaseMethod = ReleaseServiceGrpc.getUpdateReleaseMethod) == null) { 174 ReleaseServiceGrpc.getUpdateReleaseMethod = getUpdateReleaseMethod = 175 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.UpdateReleaseRequest, hapi.services.tiller.Tiller.UpdateReleaseResponse>newBuilder() 176 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 177 .setFullMethodName(generateFullMethodName( 178 "hapi.services.tiller.ReleaseService", "UpdateRelease")) 179 .setSampledToLocalTracing(true) 180 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 181 hapi.services.tiller.Tiller.UpdateReleaseRequest.getDefaultInstance())) 182 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 183 hapi.services.tiller.Tiller.UpdateReleaseResponse.getDefaultInstance())) 184 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("UpdateRelease")) 185 .build(); 186 } 187 } 188 } 189 return getUpdateReleaseMethod; 190 } 191 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 192 @java.lang.Deprecated // Use {@link #getInstallReleaseMethod()} instead. 193 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.InstallReleaseRequest, 194 hapi.services.tiller.Tiller.InstallReleaseResponse> METHOD_INSTALL_RELEASE = getInstallReleaseMethodHelper(); 195 196 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.InstallReleaseRequest, 197 hapi.services.tiller.Tiller.InstallReleaseResponse> getInstallReleaseMethod; 198 199 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 200 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.InstallReleaseRequest, 201 hapi.services.tiller.Tiller.InstallReleaseResponse> getInstallReleaseMethod() { 202 return getInstallReleaseMethodHelper(); 203 } 204 205 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.InstallReleaseRequest, 206 hapi.services.tiller.Tiller.InstallReleaseResponse> getInstallReleaseMethodHelper() { 207 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.InstallReleaseRequest, hapi.services.tiller.Tiller.InstallReleaseResponse> getInstallReleaseMethod; 208 if ((getInstallReleaseMethod = ReleaseServiceGrpc.getInstallReleaseMethod) == null) { 209 synchronized (ReleaseServiceGrpc.class) { 210 if ((getInstallReleaseMethod = ReleaseServiceGrpc.getInstallReleaseMethod) == null) { 211 ReleaseServiceGrpc.getInstallReleaseMethod = getInstallReleaseMethod = 212 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.InstallReleaseRequest, hapi.services.tiller.Tiller.InstallReleaseResponse>newBuilder() 213 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 214 .setFullMethodName(generateFullMethodName( 215 "hapi.services.tiller.ReleaseService", "InstallRelease")) 216 .setSampledToLocalTracing(true) 217 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 218 hapi.services.tiller.Tiller.InstallReleaseRequest.getDefaultInstance())) 219 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 220 hapi.services.tiller.Tiller.InstallReleaseResponse.getDefaultInstance())) 221 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("InstallRelease")) 222 .build(); 223 } 224 } 225 } 226 return getInstallReleaseMethod; 227 } 228 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 229 @java.lang.Deprecated // Use {@link #getUninstallReleaseMethod()} instead. 230 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UninstallReleaseRequest, 231 hapi.services.tiller.Tiller.UninstallReleaseResponse> METHOD_UNINSTALL_RELEASE = getUninstallReleaseMethodHelper(); 232 233 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UninstallReleaseRequest, 234 hapi.services.tiller.Tiller.UninstallReleaseResponse> getUninstallReleaseMethod; 235 236 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 237 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UninstallReleaseRequest, 238 hapi.services.tiller.Tiller.UninstallReleaseResponse> getUninstallReleaseMethod() { 239 return getUninstallReleaseMethodHelper(); 240 } 241 242 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UninstallReleaseRequest, 243 hapi.services.tiller.Tiller.UninstallReleaseResponse> getUninstallReleaseMethodHelper() { 244 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.UninstallReleaseRequest, hapi.services.tiller.Tiller.UninstallReleaseResponse> getUninstallReleaseMethod; 245 if ((getUninstallReleaseMethod = ReleaseServiceGrpc.getUninstallReleaseMethod) == null) { 246 synchronized (ReleaseServiceGrpc.class) { 247 if ((getUninstallReleaseMethod = ReleaseServiceGrpc.getUninstallReleaseMethod) == null) { 248 ReleaseServiceGrpc.getUninstallReleaseMethod = getUninstallReleaseMethod = 249 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.UninstallReleaseRequest, hapi.services.tiller.Tiller.UninstallReleaseResponse>newBuilder() 250 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 251 .setFullMethodName(generateFullMethodName( 252 "hapi.services.tiller.ReleaseService", "UninstallRelease")) 253 .setSampledToLocalTracing(true) 254 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 255 hapi.services.tiller.Tiller.UninstallReleaseRequest.getDefaultInstance())) 256 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 257 hapi.services.tiller.Tiller.UninstallReleaseResponse.getDefaultInstance())) 258 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("UninstallRelease")) 259 .build(); 260 } 261 } 262 } 263 return getUninstallReleaseMethod; 264 } 265 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 266 @java.lang.Deprecated // Use {@link #getGetVersionMethod()} instead. 267 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetVersionRequest, 268 hapi.services.tiller.Tiller.GetVersionResponse> METHOD_GET_VERSION = getGetVersionMethodHelper(); 269 270 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetVersionRequest, 271 hapi.services.tiller.Tiller.GetVersionResponse> getGetVersionMethod; 272 273 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 274 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetVersionRequest, 275 hapi.services.tiller.Tiller.GetVersionResponse> getGetVersionMethod() { 276 return getGetVersionMethodHelper(); 277 } 278 279 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetVersionRequest, 280 hapi.services.tiller.Tiller.GetVersionResponse> getGetVersionMethodHelper() { 281 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetVersionRequest, hapi.services.tiller.Tiller.GetVersionResponse> getGetVersionMethod; 282 if ((getGetVersionMethod = ReleaseServiceGrpc.getGetVersionMethod) == null) { 283 synchronized (ReleaseServiceGrpc.class) { 284 if ((getGetVersionMethod = ReleaseServiceGrpc.getGetVersionMethod) == null) { 285 ReleaseServiceGrpc.getGetVersionMethod = getGetVersionMethod = 286 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.GetVersionRequest, hapi.services.tiller.Tiller.GetVersionResponse>newBuilder() 287 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 288 .setFullMethodName(generateFullMethodName( 289 "hapi.services.tiller.ReleaseService", "GetVersion")) 290 .setSampledToLocalTracing(true) 291 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 292 hapi.services.tiller.Tiller.GetVersionRequest.getDefaultInstance())) 293 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 294 hapi.services.tiller.Tiller.GetVersionResponse.getDefaultInstance())) 295 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("GetVersion")) 296 .build(); 297 } 298 } 299 } 300 return getGetVersionMethod; 301 } 302 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 303 @java.lang.Deprecated // Use {@link #getRollbackReleaseMethod()} instead. 304 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.RollbackReleaseRequest, 305 hapi.services.tiller.Tiller.RollbackReleaseResponse> METHOD_ROLLBACK_RELEASE = getRollbackReleaseMethodHelper(); 306 307 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.RollbackReleaseRequest, 308 hapi.services.tiller.Tiller.RollbackReleaseResponse> getRollbackReleaseMethod; 309 310 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 311 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.RollbackReleaseRequest, 312 hapi.services.tiller.Tiller.RollbackReleaseResponse> getRollbackReleaseMethod() { 313 return getRollbackReleaseMethodHelper(); 314 } 315 316 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.RollbackReleaseRequest, 317 hapi.services.tiller.Tiller.RollbackReleaseResponse> getRollbackReleaseMethodHelper() { 318 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.RollbackReleaseRequest, hapi.services.tiller.Tiller.RollbackReleaseResponse> getRollbackReleaseMethod; 319 if ((getRollbackReleaseMethod = ReleaseServiceGrpc.getRollbackReleaseMethod) == null) { 320 synchronized (ReleaseServiceGrpc.class) { 321 if ((getRollbackReleaseMethod = ReleaseServiceGrpc.getRollbackReleaseMethod) == null) { 322 ReleaseServiceGrpc.getRollbackReleaseMethod = getRollbackReleaseMethod = 323 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.RollbackReleaseRequest, hapi.services.tiller.Tiller.RollbackReleaseResponse>newBuilder() 324 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 325 .setFullMethodName(generateFullMethodName( 326 "hapi.services.tiller.ReleaseService", "RollbackRelease")) 327 .setSampledToLocalTracing(true) 328 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 329 hapi.services.tiller.Tiller.RollbackReleaseRequest.getDefaultInstance())) 330 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 331 hapi.services.tiller.Tiller.RollbackReleaseResponse.getDefaultInstance())) 332 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("RollbackRelease")) 333 .build(); 334 } 335 } 336 } 337 return getRollbackReleaseMethod; 338 } 339 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 340 @java.lang.Deprecated // Use {@link #getGetHistoryMethod()} instead. 341 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetHistoryRequest, 342 hapi.services.tiller.Tiller.GetHistoryResponse> METHOD_GET_HISTORY = getGetHistoryMethodHelper(); 343 344 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetHistoryRequest, 345 hapi.services.tiller.Tiller.GetHistoryResponse> getGetHistoryMethod; 346 347 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 348 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetHistoryRequest, 349 hapi.services.tiller.Tiller.GetHistoryResponse> getGetHistoryMethod() { 350 return getGetHistoryMethodHelper(); 351 } 352 353 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetHistoryRequest, 354 hapi.services.tiller.Tiller.GetHistoryResponse> getGetHistoryMethodHelper() { 355 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.GetHistoryRequest, hapi.services.tiller.Tiller.GetHistoryResponse> getGetHistoryMethod; 356 if ((getGetHistoryMethod = ReleaseServiceGrpc.getGetHistoryMethod) == null) { 357 synchronized (ReleaseServiceGrpc.class) { 358 if ((getGetHistoryMethod = ReleaseServiceGrpc.getGetHistoryMethod) == null) { 359 ReleaseServiceGrpc.getGetHistoryMethod = getGetHistoryMethod = 360 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.GetHistoryRequest, hapi.services.tiller.Tiller.GetHistoryResponse>newBuilder() 361 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 362 .setFullMethodName(generateFullMethodName( 363 "hapi.services.tiller.ReleaseService", "GetHistory")) 364 .setSampledToLocalTracing(true) 365 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 366 hapi.services.tiller.Tiller.GetHistoryRequest.getDefaultInstance())) 367 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 368 hapi.services.tiller.Tiller.GetHistoryResponse.getDefaultInstance())) 369 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("GetHistory")) 370 .build(); 371 } 372 } 373 } 374 return getGetHistoryMethod; 375 } 376 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 377 @java.lang.Deprecated // Use {@link #getRunReleaseTestMethod()} instead. 378 public static final io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.TestReleaseRequest, 379 hapi.services.tiller.Tiller.TestReleaseResponse> METHOD_RUN_RELEASE_TEST = getRunReleaseTestMethodHelper(); 380 381 private static volatile io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.TestReleaseRequest, 382 hapi.services.tiller.Tiller.TestReleaseResponse> getRunReleaseTestMethod; 383 384 @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") 385 public static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.TestReleaseRequest, 386 hapi.services.tiller.Tiller.TestReleaseResponse> getRunReleaseTestMethod() { 387 return getRunReleaseTestMethodHelper(); 388 } 389 390 private static io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.TestReleaseRequest, 391 hapi.services.tiller.Tiller.TestReleaseResponse> getRunReleaseTestMethodHelper() { 392 io.grpc.MethodDescriptor<hapi.services.tiller.Tiller.TestReleaseRequest, hapi.services.tiller.Tiller.TestReleaseResponse> getRunReleaseTestMethod; 393 if ((getRunReleaseTestMethod = ReleaseServiceGrpc.getRunReleaseTestMethod) == null) { 394 synchronized (ReleaseServiceGrpc.class) { 395 if ((getRunReleaseTestMethod = ReleaseServiceGrpc.getRunReleaseTestMethod) == null) { 396 ReleaseServiceGrpc.getRunReleaseTestMethod = getRunReleaseTestMethod = 397 io.grpc.MethodDescriptor.<hapi.services.tiller.Tiller.TestReleaseRequest, hapi.services.tiller.Tiller.TestReleaseResponse>newBuilder() 398 .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) 399 .setFullMethodName(generateFullMethodName( 400 "hapi.services.tiller.ReleaseService", "RunReleaseTest")) 401 .setSampledToLocalTracing(true) 402 .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 403 hapi.services.tiller.Tiller.TestReleaseRequest.getDefaultInstance())) 404 .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( 405 hapi.services.tiller.Tiller.TestReleaseResponse.getDefaultInstance())) 406 .setSchemaDescriptor(new ReleaseServiceMethodDescriptorSupplier("RunReleaseTest")) 407 .build(); 408 } 409 } 410 } 411 return getRunReleaseTestMethod; 412 } 413 414 /** 415 * Creates a new async stub that supports all call types for the service 416 */ 417 public static ReleaseServiceStub newStub(io.grpc.Channel channel) { 418 return new ReleaseServiceStub(channel); 419 } 420 421 /** 422 * Creates a new blocking-style stub that supports unary and streaming output calls on the service 423 */ 424 public static ReleaseServiceBlockingStub newBlockingStub( 425 io.grpc.Channel channel) { 426 return new ReleaseServiceBlockingStub(channel); 427 } 428 429 /** 430 * Creates a new ListenableFuture-style stub that supports unary calls on the service 431 */ 432 public static ReleaseServiceFutureStub newFutureStub( 433 io.grpc.Channel channel) { 434 return new ReleaseServiceFutureStub(channel); 435 } 436 437 /** 438 * <pre> 439 * ReleaseService is the service that a helm application uses to mutate, 440 * query, and manage releases. 441 * Release: A named installation composed of a chart and 442 * config. At any given time a release has one 443 * chart and one config. 444 * Config: A config is a YAML file that supplies values 445 * to the parametrizable templates of a chart. 446 * Chart: A chart is a helm package that contains 447 * metadata, a default config, zero or more 448 * optionally parameterizable templates, and 449 * zero or more charts (dependencies). 450 * </pre> 451 */ 452 public static abstract class ReleaseServiceImplBase implements io.grpc.BindableService { 453 454 /** 455 * <pre> 456 * ListReleases retrieves release history. 457 * TODO: Allow filtering the set of releases by 458 * release status. By default, ListAllReleases returns the releases who 459 * current status is "Active". 460 * </pre> 461 */ 462 public void listReleases(hapi.services.tiller.Tiller.ListReleasesRequest request, 463 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.ListReleasesResponse> responseObserver) { 464 asyncUnimplementedUnaryCall(getListReleasesMethodHelper(), responseObserver); 465 } 466 467 /** 468 * <pre> 469 * GetReleasesStatus retrieves status information for the specified release. 470 * </pre> 471 */ 472 public void getReleaseStatus(hapi.services.tiller.Tiller.GetReleaseStatusRequest request, 473 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetReleaseStatusResponse> responseObserver) { 474 asyncUnimplementedUnaryCall(getGetReleaseStatusMethodHelper(), responseObserver); 475 } 476 477 /** 478 * <pre> 479 * GetReleaseContent retrieves the release content (chart + value) for the specified release. 480 * </pre> 481 */ 482 public void getReleaseContent(hapi.services.tiller.Tiller.GetReleaseContentRequest request, 483 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetReleaseContentResponse> responseObserver) { 484 asyncUnimplementedUnaryCall(getGetReleaseContentMethodHelper(), responseObserver); 485 } 486 487 /** 488 * <pre> 489 * UpdateRelease updates release content. 490 * </pre> 491 */ 492 public void updateRelease(hapi.services.tiller.Tiller.UpdateReleaseRequest request, 493 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.UpdateReleaseResponse> responseObserver) { 494 asyncUnimplementedUnaryCall(getUpdateReleaseMethodHelper(), responseObserver); 495 } 496 497 /** 498 * <pre> 499 * InstallRelease requests installation of a chart as a new release. 500 * </pre> 501 */ 502 public void installRelease(hapi.services.tiller.Tiller.InstallReleaseRequest request, 503 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.InstallReleaseResponse> responseObserver) { 504 asyncUnimplementedUnaryCall(getInstallReleaseMethodHelper(), responseObserver); 505 } 506 507 /** 508 * <pre> 509 * UninstallRelease requests deletion of a named release. 510 * </pre> 511 */ 512 public void uninstallRelease(hapi.services.tiller.Tiller.UninstallReleaseRequest request, 513 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.UninstallReleaseResponse> responseObserver) { 514 asyncUnimplementedUnaryCall(getUninstallReleaseMethodHelper(), responseObserver); 515 } 516 517 /** 518 * <pre> 519 * GetVersion returns the current version of the server. 520 * </pre> 521 */ 522 public void getVersion(hapi.services.tiller.Tiller.GetVersionRequest request, 523 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetVersionResponse> responseObserver) { 524 asyncUnimplementedUnaryCall(getGetVersionMethodHelper(), responseObserver); 525 } 526 527 /** 528 * <pre> 529 * RollbackRelease rolls back a release to a previous version. 530 * </pre> 531 */ 532 public void rollbackRelease(hapi.services.tiller.Tiller.RollbackReleaseRequest request, 533 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.RollbackReleaseResponse> responseObserver) { 534 asyncUnimplementedUnaryCall(getRollbackReleaseMethodHelper(), responseObserver); 535 } 536 537 /** 538 * <pre> 539 * ReleaseHistory retrieves a releasse's history. 540 * </pre> 541 */ 542 public void getHistory(hapi.services.tiller.Tiller.GetHistoryRequest request, 543 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetHistoryResponse> responseObserver) { 544 asyncUnimplementedUnaryCall(getGetHistoryMethodHelper(), responseObserver); 545 } 546 547 /** 548 * <pre> 549 * RunReleaseTest executes the tests defined of a named release 550 * </pre> 551 */ 552 public void runReleaseTest(hapi.services.tiller.Tiller.TestReleaseRequest request, 553 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.TestReleaseResponse> responseObserver) { 554 asyncUnimplementedUnaryCall(getRunReleaseTestMethodHelper(), responseObserver); 555 } 556 557 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { 558 return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) 559 .addMethod( 560 getListReleasesMethodHelper(), 561 asyncServerStreamingCall( 562 new MethodHandlers< 563 hapi.services.tiller.Tiller.ListReleasesRequest, 564 hapi.services.tiller.Tiller.ListReleasesResponse>( 565 this, METHODID_LIST_RELEASES))) 566 .addMethod( 567 getGetReleaseStatusMethodHelper(), 568 asyncUnaryCall( 569 new MethodHandlers< 570 hapi.services.tiller.Tiller.GetReleaseStatusRequest, 571 hapi.services.tiller.Tiller.GetReleaseStatusResponse>( 572 this, METHODID_GET_RELEASE_STATUS))) 573 .addMethod( 574 getGetReleaseContentMethodHelper(), 575 asyncUnaryCall( 576 new MethodHandlers< 577 hapi.services.tiller.Tiller.GetReleaseContentRequest, 578 hapi.services.tiller.Tiller.GetReleaseContentResponse>( 579 this, METHODID_GET_RELEASE_CONTENT))) 580 .addMethod( 581 getUpdateReleaseMethodHelper(), 582 asyncUnaryCall( 583 new MethodHandlers< 584 hapi.services.tiller.Tiller.UpdateReleaseRequest, 585 hapi.services.tiller.Tiller.UpdateReleaseResponse>( 586 this, METHODID_UPDATE_RELEASE))) 587 .addMethod( 588 getInstallReleaseMethodHelper(), 589 asyncUnaryCall( 590 new MethodHandlers< 591 hapi.services.tiller.Tiller.InstallReleaseRequest, 592 hapi.services.tiller.Tiller.InstallReleaseResponse>( 593 this, METHODID_INSTALL_RELEASE))) 594 .addMethod( 595 getUninstallReleaseMethodHelper(), 596 asyncUnaryCall( 597 new MethodHandlers< 598 hapi.services.tiller.Tiller.UninstallReleaseRequest, 599 hapi.services.tiller.Tiller.UninstallReleaseResponse>( 600 this, METHODID_UNINSTALL_RELEASE))) 601 .addMethod( 602 getGetVersionMethodHelper(), 603 asyncUnaryCall( 604 new MethodHandlers< 605 hapi.services.tiller.Tiller.GetVersionRequest, 606 hapi.services.tiller.Tiller.GetVersionResponse>( 607 this, METHODID_GET_VERSION))) 608 .addMethod( 609 getRollbackReleaseMethodHelper(), 610 asyncUnaryCall( 611 new MethodHandlers< 612 hapi.services.tiller.Tiller.RollbackReleaseRequest, 613 hapi.services.tiller.Tiller.RollbackReleaseResponse>( 614 this, METHODID_ROLLBACK_RELEASE))) 615 .addMethod( 616 getGetHistoryMethodHelper(), 617 asyncUnaryCall( 618 new MethodHandlers< 619 hapi.services.tiller.Tiller.GetHistoryRequest, 620 hapi.services.tiller.Tiller.GetHistoryResponse>( 621 this, METHODID_GET_HISTORY))) 622 .addMethod( 623 getRunReleaseTestMethodHelper(), 624 asyncServerStreamingCall( 625 new MethodHandlers< 626 hapi.services.tiller.Tiller.TestReleaseRequest, 627 hapi.services.tiller.Tiller.TestReleaseResponse>( 628 this, METHODID_RUN_RELEASE_TEST))) 629 .build(); 630 } 631 } 632 633 /** 634 * <pre> 635 * ReleaseService is the service that a helm application uses to mutate, 636 * query, and manage releases. 637 * Release: A named installation composed of a chart and 638 * config. At any given time a release has one 639 * chart and one config. 640 * Config: A config is a YAML file that supplies values 641 * to the parametrizable templates of a chart. 642 * Chart: A chart is a helm package that contains 643 * metadata, a default config, zero or more 644 * optionally parameterizable templates, and 645 * zero or more charts (dependencies). 646 * </pre> 647 */ 648 public static final class ReleaseServiceStub extends io.grpc.stub.AbstractStub<ReleaseServiceStub> { 649 private ReleaseServiceStub(io.grpc.Channel channel) { 650 super(channel); 651 } 652 653 private ReleaseServiceStub(io.grpc.Channel channel, 654 io.grpc.CallOptions callOptions) { 655 super(channel, callOptions); 656 } 657 658 @java.lang.Override 659 protected ReleaseServiceStub build(io.grpc.Channel channel, 660 io.grpc.CallOptions callOptions) { 661 return new ReleaseServiceStub(channel, callOptions); 662 } 663 664 /** 665 * <pre> 666 * ListReleases retrieves release history. 667 * TODO: Allow filtering the set of releases by 668 * release status. By default, ListAllReleases returns the releases who 669 * current status is "Active". 670 * </pre> 671 */ 672 public void listReleases(hapi.services.tiller.Tiller.ListReleasesRequest request, 673 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.ListReleasesResponse> responseObserver) { 674 asyncServerStreamingCall( 675 getChannel().newCall(getListReleasesMethodHelper(), getCallOptions()), request, responseObserver); 676 } 677 678 /** 679 * <pre> 680 * GetReleasesStatus retrieves status information for the specified release. 681 * </pre> 682 */ 683 public void getReleaseStatus(hapi.services.tiller.Tiller.GetReleaseStatusRequest request, 684 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetReleaseStatusResponse> responseObserver) { 685 asyncUnaryCall( 686 getChannel().newCall(getGetReleaseStatusMethodHelper(), getCallOptions()), request, responseObserver); 687 } 688 689 /** 690 * <pre> 691 * GetReleaseContent retrieves the release content (chart + value) for the specified release. 692 * </pre> 693 */ 694 public void getReleaseContent(hapi.services.tiller.Tiller.GetReleaseContentRequest request, 695 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetReleaseContentResponse> responseObserver) { 696 asyncUnaryCall( 697 getChannel().newCall(getGetReleaseContentMethodHelper(), getCallOptions()), request, responseObserver); 698 } 699 700 /** 701 * <pre> 702 * UpdateRelease updates release content. 703 * </pre> 704 */ 705 public void updateRelease(hapi.services.tiller.Tiller.UpdateReleaseRequest request, 706 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.UpdateReleaseResponse> responseObserver) { 707 asyncUnaryCall( 708 getChannel().newCall(getUpdateReleaseMethodHelper(), getCallOptions()), request, responseObserver); 709 } 710 711 /** 712 * <pre> 713 * InstallRelease requests installation of a chart as a new release. 714 * </pre> 715 */ 716 public void installRelease(hapi.services.tiller.Tiller.InstallReleaseRequest request, 717 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.InstallReleaseResponse> responseObserver) { 718 asyncUnaryCall( 719 getChannel().newCall(getInstallReleaseMethodHelper(), getCallOptions()), request, responseObserver); 720 } 721 722 /** 723 * <pre> 724 * UninstallRelease requests deletion of a named release. 725 * </pre> 726 */ 727 public void uninstallRelease(hapi.services.tiller.Tiller.UninstallReleaseRequest request, 728 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.UninstallReleaseResponse> responseObserver) { 729 asyncUnaryCall( 730 getChannel().newCall(getUninstallReleaseMethodHelper(), getCallOptions()), request, responseObserver); 731 } 732 733 /** 734 * <pre> 735 * GetVersion returns the current version of the server. 736 * </pre> 737 */ 738 public void getVersion(hapi.services.tiller.Tiller.GetVersionRequest request, 739 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetVersionResponse> responseObserver) { 740 asyncUnaryCall( 741 getChannel().newCall(getGetVersionMethodHelper(), getCallOptions()), request, responseObserver); 742 } 743 744 /** 745 * <pre> 746 * RollbackRelease rolls back a release to a previous version. 747 * </pre> 748 */ 749 public void rollbackRelease(hapi.services.tiller.Tiller.RollbackReleaseRequest request, 750 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.RollbackReleaseResponse> responseObserver) { 751 asyncUnaryCall( 752 getChannel().newCall(getRollbackReleaseMethodHelper(), getCallOptions()), request, responseObserver); 753 } 754 755 /** 756 * <pre> 757 * ReleaseHistory retrieves a releasse's history. 758 * </pre> 759 */ 760 public void getHistory(hapi.services.tiller.Tiller.GetHistoryRequest request, 761 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetHistoryResponse> responseObserver) { 762 asyncUnaryCall( 763 getChannel().newCall(getGetHistoryMethodHelper(), getCallOptions()), request, responseObserver); 764 } 765 766 /** 767 * <pre> 768 * RunReleaseTest executes the tests defined of a named release 769 * </pre> 770 */ 771 public void runReleaseTest(hapi.services.tiller.Tiller.TestReleaseRequest request, 772 io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.TestReleaseResponse> responseObserver) { 773 asyncServerStreamingCall( 774 getChannel().newCall(getRunReleaseTestMethodHelper(), getCallOptions()), request, responseObserver); 775 } 776 } 777 778 /** 779 * <pre> 780 * ReleaseService is the service that a helm application uses to mutate, 781 * query, and manage releases. 782 * Release: A named installation composed of a chart and 783 * config. At any given time a release has one 784 * chart and one config. 785 * Config: A config is a YAML file that supplies values 786 * to the parametrizable templates of a chart. 787 * Chart: A chart is a helm package that contains 788 * metadata, a default config, zero or more 789 * optionally parameterizable templates, and 790 * zero or more charts (dependencies). 791 * </pre> 792 */ 793 public static final class ReleaseServiceBlockingStub extends io.grpc.stub.AbstractStub<ReleaseServiceBlockingStub> { 794 private ReleaseServiceBlockingStub(io.grpc.Channel channel) { 795 super(channel); 796 } 797 798 private ReleaseServiceBlockingStub(io.grpc.Channel channel, 799 io.grpc.CallOptions callOptions) { 800 super(channel, callOptions); 801 } 802 803 @java.lang.Override 804 protected ReleaseServiceBlockingStub build(io.grpc.Channel channel, 805 io.grpc.CallOptions callOptions) { 806 return new ReleaseServiceBlockingStub(channel, callOptions); 807 } 808 809 /** 810 * <pre> 811 * ListReleases retrieves release history. 812 * TODO: Allow filtering the set of releases by 813 * release status. By default, ListAllReleases returns the releases who 814 * current status is "Active". 815 * </pre> 816 */ 817 public java.util.Iterator<hapi.services.tiller.Tiller.ListReleasesResponse> listReleases( 818 hapi.services.tiller.Tiller.ListReleasesRequest request) { 819 return blockingServerStreamingCall( 820 getChannel(), getListReleasesMethodHelper(), getCallOptions(), request); 821 } 822 823 /** 824 * <pre> 825 * GetReleasesStatus retrieves status information for the specified release. 826 * </pre> 827 */ 828 public hapi.services.tiller.Tiller.GetReleaseStatusResponse getReleaseStatus(hapi.services.tiller.Tiller.GetReleaseStatusRequest request) { 829 return blockingUnaryCall( 830 getChannel(), getGetReleaseStatusMethodHelper(), getCallOptions(), request); 831 } 832 833 /** 834 * <pre> 835 * GetReleaseContent retrieves the release content (chart + value) for the specified release. 836 * </pre> 837 */ 838 public hapi.services.tiller.Tiller.GetReleaseContentResponse getReleaseContent(hapi.services.tiller.Tiller.GetReleaseContentRequest request) { 839 return blockingUnaryCall( 840 getChannel(), getGetReleaseContentMethodHelper(), getCallOptions(), request); 841 } 842 843 /** 844 * <pre> 845 * UpdateRelease updates release content. 846 * </pre> 847 */ 848 public hapi.services.tiller.Tiller.UpdateReleaseResponse updateRelease(hapi.services.tiller.Tiller.UpdateReleaseRequest request) { 849 return blockingUnaryCall( 850 getChannel(), getUpdateReleaseMethodHelper(), getCallOptions(), request); 851 } 852 853 /** 854 * <pre> 855 * InstallRelease requests installation of a chart as a new release. 856 * </pre> 857 */ 858 public hapi.services.tiller.Tiller.InstallReleaseResponse installRelease(hapi.services.tiller.Tiller.InstallReleaseRequest request) { 859 return blockingUnaryCall( 860 getChannel(), getInstallReleaseMethodHelper(), getCallOptions(), request); 861 } 862 863 /** 864 * <pre> 865 * UninstallRelease requests deletion of a named release. 866 * </pre> 867 */ 868 public hapi.services.tiller.Tiller.UninstallReleaseResponse uninstallRelease(hapi.services.tiller.Tiller.UninstallReleaseRequest request) { 869 return blockingUnaryCall( 870 getChannel(), getUninstallReleaseMethodHelper(), getCallOptions(), request); 871 } 872 873 /** 874 * <pre> 875 * GetVersion returns the current version of the server. 876 * </pre> 877 */ 878 public hapi.services.tiller.Tiller.GetVersionResponse getVersion(hapi.services.tiller.Tiller.GetVersionRequest request) { 879 return blockingUnaryCall( 880 getChannel(), getGetVersionMethodHelper(), getCallOptions(), request); 881 } 882 883 /** 884 * <pre> 885 * RollbackRelease rolls back a release to a previous version. 886 * </pre> 887 */ 888 public hapi.services.tiller.Tiller.RollbackReleaseResponse rollbackRelease(hapi.services.tiller.Tiller.RollbackReleaseRequest request) { 889 return blockingUnaryCall( 890 getChannel(), getRollbackReleaseMethodHelper(), getCallOptions(), request); 891 } 892 893 /** 894 * <pre> 895 * ReleaseHistory retrieves a releasse's history. 896 * </pre> 897 */ 898 public hapi.services.tiller.Tiller.GetHistoryResponse getHistory(hapi.services.tiller.Tiller.GetHistoryRequest request) { 899 return blockingUnaryCall( 900 getChannel(), getGetHistoryMethodHelper(), getCallOptions(), request); 901 } 902 903 /** 904 * <pre> 905 * RunReleaseTest executes the tests defined of a named release 906 * </pre> 907 */ 908 public java.util.Iterator<hapi.services.tiller.Tiller.TestReleaseResponse> runReleaseTest( 909 hapi.services.tiller.Tiller.TestReleaseRequest request) { 910 return blockingServerStreamingCall( 911 getChannel(), getRunReleaseTestMethodHelper(), getCallOptions(), request); 912 } 913 } 914 915 /** 916 * <pre> 917 * ReleaseService is the service that a helm application uses to mutate, 918 * query, and manage releases. 919 * Release: A named installation composed of a chart and 920 * config. At any given time a release has one 921 * chart and one config. 922 * Config: A config is a YAML file that supplies values 923 * to the parametrizable templates of a chart. 924 * Chart: A chart is a helm package that contains 925 * metadata, a default config, zero or more 926 * optionally parameterizable templates, and 927 * zero or more charts (dependencies). 928 * </pre> 929 */ 930 public static final class ReleaseServiceFutureStub extends io.grpc.stub.AbstractStub<ReleaseServiceFutureStub> { 931 private ReleaseServiceFutureStub(io.grpc.Channel channel) { 932 super(channel); 933 } 934 935 private ReleaseServiceFutureStub(io.grpc.Channel channel, 936 io.grpc.CallOptions callOptions) { 937 super(channel, callOptions); 938 } 939 940 @java.lang.Override 941 protected ReleaseServiceFutureStub build(io.grpc.Channel channel, 942 io.grpc.CallOptions callOptions) { 943 return new ReleaseServiceFutureStub(channel, callOptions); 944 } 945 946 /** 947 * <pre> 948 * GetReleasesStatus retrieves status information for the specified release. 949 * </pre> 950 */ 951 public com.google.common.util.concurrent.ListenableFuture<hapi.services.tiller.Tiller.GetReleaseStatusResponse> getReleaseStatus( 952 hapi.services.tiller.Tiller.GetReleaseStatusRequest request) { 953 return futureUnaryCall( 954 getChannel().newCall(getGetReleaseStatusMethodHelper(), getCallOptions()), request); 955 } 956 957 /** 958 * <pre> 959 * GetReleaseContent retrieves the release content (chart + value) for the specified release. 960 * </pre> 961 */ 962 public com.google.common.util.concurrent.ListenableFuture<hapi.services.tiller.Tiller.GetReleaseContentResponse> getReleaseContent( 963 hapi.services.tiller.Tiller.GetReleaseContentRequest request) { 964 return futureUnaryCall( 965 getChannel().newCall(getGetReleaseContentMethodHelper(), getCallOptions()), request); 966 } 967 968 /** 969 * <pre> 970 * UpdateRelease updates release content. 971 * </pre> 972 */ 973 public com.google.common.util.concurrent.ListenableFuture<hapi.services.tiller.Tiller.UpdateReleaseResponse> updateRelease( 974 hapi.services.tiller.Tiller.UpdateReleaseRequest request) { 975 return futureUnaryCall( 976 getChannel().newCall(getUpdateReleaseMethodHelper(), getCallOptions()), request); 977 } 978 979 /** 980 * <pre> 981 * InstallRelease requests installation of a chart as a new release. 982 * </pre> 983 */ 984 public com.google.common.util.concurrent.ListenableFuture<hapi.services.tiller.Tiller.InstallReleaseResponse> installRelease( 985 hapi.services.tiller.Tiller.InstallReleaseRequest request) { 986 return futureUnaryCall( 987 getChannel().newCall(getInstallReleaseMethodHelper(), getCallOptions()), request); 988 } 989 990 /** 991 * <pre> 992 * UninstallRelease requests deletion of a named release. 993 * </pre> 994 */ 995 public com.google.common.util.concurrent.ListenableFuture<hapi.services.tiller.Tiller.UninstallReleaseResponse> uninstallRelease( 996 hapi.services.tiller.Tiller.UninstallReleaseRequest request) { 997 return futureUnaryCall( 998 getChannel().newCall(getUninstallReleaseMethodHelper(), getCallOptions()), request); 999 } 1000 1001 /** 1002 * <pre> 1003 * GetVersion returns the current version of the server. 1004 * </pre> 1005 */ 1006 public com.google.common.util.concurrent.ListenableFuture<hapi.services.tiller.Tiller.GetVersionResponse> getVersion( 1007 hapi.services.tiller.Tiller.GetVersionRequest request) { 1008 return futureUnaryCall( 1009 getChannel().newCall(getGetVersionMethodHelper(), getCallOptions()), request); 1010 } 1011 1012 /** 1013 * <pre> 1014 * RollbackRelease rolls back a release to a previous version. 1015 * </pre> 1016 */ 1017 public com.google.common.util.concurrent.ListenableFuture<hapi.services.tiller.Tiller.RollbackReleaseResponse> rollbackRelease( 1018 hapi.services.tiller.Tiller.RollbackReleaseRequest request) { 1019 return futureUnaryCall( 1020 getChannel().newCall(getRollbackReleaseMethodHelper(), getCallOptions()), request); 1021 } 1022 1023 /** 1024 * <pre> 1025 * ReleaseHistory retrieves a releasse's history. 1026 * </pre> 1027 */ 1028 public com.google.common.util.concurrent.ListenableFuture<hapi.services.tiller.Tiller.GetHistoryResponse> getHistory( 1029 hapi.services.tiller.Tiller.GetHistoryRequest request) { 1030 return futureUnaryCall( 1031 getChannel().newCall(getGetHistoryMethodHelper(), getCallOptions()), request); 1032 } 1033 } 1034 1035 private static final int METHODID_LIST_RELEASES = 0; 1036 private static final int METHODID_GET_RELEASE_STATUS = 1; 1037 private static final int METHODID_GET_RELEASE_CONTENT = 2; 1038 private static final int METHODID_UPDATE_RELEASE = 3; 1039 private static final int METHODID_INSTALL_RELEASE = 4; 1040 private static final int METHODID_UNINSTALL_RELEASE = 5; 1041 private static final int METHODID_GET_VERSION = 6; 1042 private static final int METHODID_ROLLBACK_RELEASE = 7; 1043 private static final int METHODID_GET_HISTORY = 8; 1044 private static final int METHODID_RUN_RELEASE_TEST = 9; 1045 1046 private static final class MethodHandlers<Req, Resp> implements 1047 io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>, 1048 io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>, 1049 io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>, 1050 io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> { 1051 private final ReleaseServiceImplBase serviceImpl; 1052 private final int methodId; 1053 1054 MethodHandlers(ReleaseServiceImplBase serviceImpl, int methodId) { 1055 this.serviceImpl = serviceImpl; 1056 this.methodId = methodId; 1057 } 1058 1059 @java.lang.Override 1060 @java.lang.SuppressWarnings("unchecked") 1061 public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) { 1062 switch (methodId) { 1063 case METHODID_LIST_RELEASES: 1064 serviceImpl.listReleases((hapi.services.tiller.Tiller.ListReleasesRequest) request, 1065 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.ListReleasesResponse>) responseObserver); 1066 break; 1067 case METHODID_GET_RELEASE_STATUS: 1068 serviceImpl.getReleaseStatus((hapi.services.tiller.Tiller.GetReleaseStatusRequest) request, 1069 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetReleaseStatusResponse>) responseObserver); 1070 break; 1071 case METHODID_GET_RELEASE_CONTENT: 1072 serviceImpl.getReleaseContent((hapi.services.tiller.Tiller.GetReleaseContentRequest) request, 1073 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetReleaseContentResponse>) responseObserver); 1074 break; 1075 case METHODID_UPDATE_RELEASE: 1076 serviceImpl.updateRelease((hapi.services.tiller.Tiller.UpdateReleaseRequest) request, 1077 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.UpdateReleaseResponse>) responseObserver); 1078 break; 1079 case METHODID_INSTALL_RELEASE: 1080 serviceImpl.installRelease((hapi.services.tiller.Tiller.InstallReleaseRequest) request, 1081 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.InstallReleaseResponse>) responseObserver); 1082 break; 1083 case METHODID_UNINSTALL_RELEASE: 1084 serviceImpl.uninstallRelease((hapi.services.tiller.Tiller.UninstallReleaseRequest) request, 1085 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.UninstallReleaseResponse>) responseObserver); 1086 break; 1087 case METHODID_GET_VERSION: 1088 serviceImpl.getVersion((hapi.services.tiller.Tiller.GetVersionRequest) request, 1089 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetVersionResponse>) responseObserver); 1090 break; 1091 case METHODID_ROLLBACK_RELEASE: 1092 serviceImpl.rollbackRelease((hapi.services.tiller.Tiller.RollbackReleaseRequest) request, 1093 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.RollbackReleaseResponse>) responseObserver); 1094 break; 1095 case METHODID_GET_HISTORY: 1096 serviceImpl.getHistory((hapi.services.tiller.Tiller.GetHistoryRequest) request, 1097 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.GetHistoryResponse>) responseObserver); 1098 break; 1099 case METHODID_RUN_RELEASE_TEST: 1100 serviceImpl.runReleaseTest((hapi.services.tiller.Tiller.TestReleaseRequest) request, 1101 (io.grpc.stub.StreamObserver<hapi.services.tiller.Tiller.TestReleaseResponse>) responseObserver); 1102 break; 1103 default: 1104 throw new AssertionError(); 1105 } 1106 } 1107 1108 @java.lang.Override 1109 @java.lang.SuppressWarnings("unchecked") 1110 public io.grpc.stub.StreamObserver<Req> invoke( 1111 io.grpc.stub.StreamObserver<Resp> responseObserver) { 1112 switch (methodId) { 1113 default: 1114 throw new AssertionError(); 1115 } 1116 } 1117 } 1118 1119 private static abstract class ReleaseServiceBaseDescriptorSupplier 1120 implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { 1121 ReleaseServiceBaseDescriptorSupplier() {} 1122 1123 @java.lang.Override 1124 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { 1125 return hapi.services.tiller.Tiller.getDescriptor(); 1126 } 1127 1128 @java.lang.Override 1129 public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { 1130 return getFileDescriptor().findServiceByName("ReleaseService"); 1131 } 1132 } 1133 1134 private static final class ReleaseServiceFileDescriptorSupplier 1135 extends ReleaseServiceBaseDescriptorSupplier { 1136 ReleaseServiceFileDescriptorSupplier() {} 1137 } 1138 1139 private static final class ReleaseServiceMethodDescriptorSupplier 1140 extends ReleaseServiceBaseDescriptorSupplier 1141 implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { 1142 private final String methodName; 1143 1144 ReleaseServiceMethodDescriptorSupplier(String methodName) { 1145 this.methodName = methodName; 1146 } 1147 1148 @java.lang.Override 1149 public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { 1150 return getServiceDescriptor().findMethodByName(methodName); 1151 } 1152 } 1153 1154 private static volatile io.grpc.ServiceDescriptor serviceDescriptor; 1155 1156 public static io.grpc.ServiceDescriptor getServiceDescriptor() { 1157 io.grpc.ServiceDescriptor result = serviceDescriptor; 1158 if (result == null) { 1159 synchronized (ReleaseServiceGrpc.class) { 1160 result = serviceDescriptor; 1161 if (result == null) { 1162 serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) 1163 .setSchemaDescriptor(new ReleaseServiceFileDescriptorSupplier()) 1164 .addMethod(getListReleasesMethodHelper()) 1165 .addMethod(getGetReleaseStatusMethodHelper()) 1166 .addMethod(getGetReleaseContentMethodHelper()) 1167 .addMethod(getUpdateReleaseMethodHelper()) 1168 .addMethod(getInstallReleaseMethodHelper()) 1169 .addMethod(getUninstallReleaseMethodHelper()) 1170 .addMethod(getGetVersionMethodHelper()) 1171 .addMethod(getRollbackReleaseMethodHelper()) 1172 .addMethod(getGetHistoryMethodHelper()) 1173 .addMethod(getRunReleaseTestMethodHelper()) 1174 .build(); 1175 } 1176 } 1177 } 1178 return result; 1179 } 1180}