• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 HttpFaultInjectionOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.HttpFaultInjection)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The specification for how client requests are aborted as part of fault injection.
31    * </pre>
32    *
33    * <code>optional .google.cloud.compute.v1.HttpFaultAbort abort = 92611376;</code>
34    *
35    * @return Whether the abort field is set.
36    */
hasAbort()37   boolean hasAbort();
38   /**
39    *
40    *
41    * <pre>
42    * The specification for how client requests are aborted as part of fault injection.
43    * </pre>
44    *
45    * <code>optional .google.cloud.compute.v1.HttpFaultAbort abort = 92611376;</code>
46    *
47    * @return The abort.
48    */
getAbort()49   com.google.cloud.compute.v1.HttpFaultAbort getAbort();
50   /**
51    *
52    *
53    * <pre>
54    * The specification for how client requests are aborted as part of fault injection.
55    * </pre>
56    *
57    * <code>optional .google.cloud.compute.v1.HttpFaultAbort abort = 92611376;</code>
58    */
getAbortOrBuilder()59   com.google.cloud.compute.v1.HttpFaultAbortOrBuilder getAbortOrBuilder();
60 
61   /**
62    *
63    *
64    * <pre>
65    * The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
66    * </pre>
67    *
68    * <code>optional .google.cloud.compute.v1.HttpFaultDelay delay = 95467907;</code>
69    *
70    * @return Whether the delay field is set.
71    */
hasDelay()72   boolean hasDelay();
73   /**
74    *
75    *
76    * <pre>
77    * The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
78    * </pre>
79    *
80    * <code>optional .google.cloud.compute.v1.HttpFaultDelay delay = 95467907;</code>
81    *
82    * @return The delay.
83    */
getDelay()84   com.google.cloud.compute.v1.HttpFaultDelay getDelay();
85   /**
86    *
87    *
88    * <pre>
89    * The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
90    * </pre>
91    *
92    * <code>optional .google.cloud.compute.v1.HttpFaultDelay delay = 95467907;</code>
93    */
getDelayOrBuilder()94   com.google.cloud.compute.v1.HttpFaultDelayOrBuilder getDelayOrBuilder();
95 }
96