target.apidocs.com.google.api.services.compute.model.NotificationEndpointGrpcSettings.html Maven / Gradle / Ivy
NotificationEndpointGrpcSettings (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute.model
Class NotificationEndpointGrpcSettings
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.NotificationEndpointGrpcSettings
-
public final class NotificationEndpointGrpcSettings
extends com.google.api.client.json.GenericJson
Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration
attempting to send notification to this endpoint.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
NotificationEndpointGrpcSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
NotificationEndpointGrpcSettings
clone()
String
getAuthority()
Optional.
String
getEndpoint()
Endpoint to which gRPC notifications are sent.
String
getPayloadName()
Optional.
Duration
getResendInterval()
Optional.
Long
getRetryDurationSec()
How much time (in seconds) is spent attempting notification retries until a successful response
is received.
NotificationEndpointGrpcSettings
set(String fieldName,
Object value)
NotificationEndpointGrpcSettings
setAuthority(String authority)
Optional.
NotificationEndpointGrpcSettings
setEndpoint(String endpoint)
Endpoint to which gRPC notifications are sent.
NotificationEndpointGrpcSettings
setPayloadName(String payloadName)
Optional.
NotificationEndpointGrpcSettings
setResendInterval(Duration resendInterval)
Optional.
NotificationEndpointGrpcSettings
setRetryDurationSec(Long retryDurationSec)
How much time (in seconds) is spent attempting notification retries until a successful response
is received.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAuthority
public String getAuthority()
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
- Returns:
- value or
null for none
-
setAuthority
public NotificationEndpointGrpcSettings setAuthority(String authority)
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
- Parameters:
authority - authority or null for none
-
getEndpoint
public String getEndpoint()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
- Returns:
- value or
null for none
-
setEndpoint
public NotificationEndpointGrpcSettings setEndpoint(String endpoint)
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
- Parameters:
endpoint - endpoint or null for none
-
getPayloadName
public String getPayloadName()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
- Returns:
- value or
null for none
-
setPayloadName
public NotificationEndpointGrpcSettings setPayloadName(String payloadName)
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
- Parameters:
payloadName - payloadName or null for none
-
getResendInterval
public Duration getResendInterval()
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.
- Returns:
- value or
null for none
-
setResendInterval
public NotificationEndpointGrpcSettings setResendInterval(Duration resendInterval)
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.
- Parameters:
resendInterval - resendInterval or null for none
-
getRetryDurationSec
public Long getRetryDurationSec()
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.
- Returns:
- value or
null for none
-
setRetryDurationSec
public NotificationEndpointGrpcSettings setRetryDurationSec(Long retryDurationSec)
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.
- Parameters:
retryDurationSec - retryDurationSec or null for none
-
set
public NotificationEndpointGrpcSettings set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public NotificationEndpointGrpcSettings clone()
- Overrides:
clone in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy