• 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 HttpFaultDelayOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.HttpFaultDelay)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Specifies the value of the fixed delay interval.
31    * </pre>
32    *
33    * <code>optional .google.cloud.compute.v1.Duration fixed_delay = 317037816;</code>
34    *
35    * @return Whether the fixedDelay field is set.
36    */
hasFixedDelay()37   boolean hasFixedDelay();
38   /**
39    *
40    *
41    * <pre>
42    * Specifies the value of the fixed delay interval.
43    * </pre>
44    *
45    * <code>optional .google.cloud.compute.v1.Duration fixed_delay = 317037816;</code>
46    *
47    * @return The fixedDelay.
48    */
getFixedDelay()49   com.google.cloud.compute.v1.Duration getFixedDelay();
50   /**
51    *
52    *
53    * <pre>
54    * Specifies the value of the fixed delay interval.
55    * </pre>
56    *
57    * <code>optional .google.cloud.compute.v1.Duration fixed_delay = 317037816;</code>
58    */
getFixedDelayOrBuilder()59   com.google.cloud.compute.v1.DurationOrBuilder getFixedDelayOrBuilder();
60 
61   /**
62    *
63    *
64    * <pre>
65    * The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
66    * </pre>
67    *
68    * <code>optional double percentage = 151909018;</code>
69    *
70    * @return Whether the percentage field is set.
71    */
hasPercentage()72   boolean hasPercentage();
73   /**
74    *
75    *
76    * <pre>
77    * The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
78    * </pre>
79    *
80    * <code>optional double percentage = 151909018;</code>
81    *
82    * @return The percentage.
83    */
getPercentage()84   double getPercentage();
85 }
86