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 NotificationEndpointGrpcSettingsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NotificationEndpointGrpcSettings) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3 31 * </pre> 32 * 33 * <code>optional string authority = 401868611;</code> 34 * 35 * @return Whether the authority field is set. 36 */ hasAuthority()37 boolean hasAuthority(); 38 /** 39 * 40 * 41 * <pre> 42 * Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3 43 * </pre> 44 * 45 * <code>optional string authority = 401868611;</code> 46 * 47 * @return The authority. 48 */ getAuthority()49 java.lang.String getAuthority(); 50 /** 51 * 52 * 53 * <pre> 54 * Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3 55 * </pre> 56 * 57 * <code>optional string authority = 401868611;</code> 58 * 59 * @return The bytes for authority. 60 */ getAuthorityBytes()61 com.google.protobuf.ByteString getAuthorityBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name. 68 * </pre> 69 * 70 * <code>optional string endpoint = 130489749;</code> 71 * 72 * @return Whether the endpoint field is set. 73 */ hasEndpoint()74 boolean hasEndpoint(); 75 /** 76 * 77 * 78 * <pre> 79 * Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name. 80 * </pre> 81 * 82 * <code>optional string endpoint = 130489749;</code> 83 * 84 * @return The endpoint. 85 */ getEndpoint()86 java.lang.String getEndpoint(); 87 /** 88 * 89 * 90 * <pre> 91 * Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name. 92 * </pre> 93 * 94 * <code>optional string endpoint = 130489749;</code> 95 * 96 * @return The bytes for endpoint. 97 */ getEndpointBytes()98 com.google.protobuf.ByteString getEndpointBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * Optional. If specified, this field is used to populate the "name" field in gRPC requests. 105 * </pre> 106 * 107 * <code>optional string payload_name = 300358300;</code> 108 * 109 * @return Whether the payloadName field is set. 110 */ hasPayloadName()111 boolean hasPayloadName(); 112 /** 113 * 114 * 115 * <pre> 116 * Optional. If specified, this field is used to populate the "name" field in gRPC requests. 117 * </pre> 118 * 119 * <code>optional string payload_name = 300358300;</code> 120 * 121 * @return The payloadName. 122 */ getPayloadName()123 java.lang.String getPayloadName(); 124 /** 125 * 126 * 127 * <pre> 128 * Optional. If specified, this field is used to populate the "name" field in gRPC requests. 129 * </pre> 130 * 131 * <code>optional string payload_name = 300358300;</code> 132 * 133 * @return The bytes for payloadName. 134 */ getPayloadNameBytes()135 com.google.protobuf.ByteString getPayloadNameBytes(); 136 137 /** 138 * 139 * 140 * <pre> 141 * Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints. 142 * </pre> 143 * 144 * <code>optional .google.cloud.compute.v1.Duration resend_interval = 478288969;</code> 145 * 146 * @return Whether the resendInterval field is set. 147 */ hasResendInterval()148 boolean hasResendInterval(); 149 /** 150 * 151 * 152 * <pre> 153 * Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints. 154 * </pre> 155 * 156 * <code>optional .google.cloud.compute.v1.Duration resend_interval = 478288969;</code> 157 * 158 * @return The resendInterval. 159 */ getResendInterval()160 com.google.cloud.compute.v1.Duration getResendInterval(); 161 /** 162 * 163 * 164 * <pre> 165 * Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints. 166 * </pre> 167 * 168 * <code>optional .google.cloud.compute.v1.Duration resend_interval = 478288969;</code> 169 */ getResendIntervalOrBuilder()170 com.google.cloud.compute.v1.DurationOrBuilder getResendIntervalOrBuilder(); 171 172 /** 173 * 174 * 175 * <pre> 176 * How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number. 177 * </pre> 178 * 179 * <code>optional uint32 retry_duration_sec = 115681117;</code> 180 * 181 * @return Whether the retryDurationSec field is set. 182 */ hasRetryDurationSec()183 boolean hasRetryDurationSec(); 184 /** 185 * 186 * 187 * <pre> 188 * How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number. 189 * </pre> 190 * 191 * <code>optional uint32 retry_duration_sec = 115681117;</code> 192 * 193 * @return The retryDurationSec. 194 */ getRetryDurationSec()195 int getRetryDurationSec(); 196 } 197