Class NotificationEndpointGrpcSettings (1.64.0)

public final class NotificationEndpointGrpcSettings extends GeneratedMessageV3 implements NotificationEndpointGrpcSettingsOrBuilder

Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.

Protobuf type google.cloud.compute.v1.NotificationEndpointGrpcSettings

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NotificationEndpointGrpcSettings

Static Fields

AUTHORITY_FIELD_NUMBER

public static final int AUTHORITY_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

PAYLOAD_NAME_FIELD_NUMBER

public static final int PAYLOAD_NAME_FIELD_NUMBER
Field Value
Type Description
int

RESEND_INTERVAL_FIELD_NUMBER

public static final int RESEND_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

RETRY_DURATION_SEC_FIELD_NUMBER

public static final int RETRY_DURATION_SEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NotificationEndpointGrpcSettings getDefaultInstance()
Returns
Type Description
NotificationEndpointGrpcSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NotificationEndpointGrpcSettings.Builder newBuilder()
Returns
Type Description
NotificationEndpointGrpcSettings.Builder

newBuilder(NotificationEndpointGrpcSettings prototype)

public static NotificationEndpointGrpcSettings.Builder newBuilder(NotificationEndpointGrpcSettings prototype)
Parameter
Name Description
prototype NotificationEndpointGrpcSettings
Returns
Type Description
NotificationEndpointGrpcSettings.Builder

parseDelimitedFrom(InputStream input)

public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NotificationEndpointGrpcSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NotificationEndpointGrpcSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NotificationEndpointGrpcSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NotificationEndpointGrpcSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotificationEndpointGrpcSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NotificationEndpointGrpcSettings> parser()
Returns
Type Description
Parser<NotificationEndpointGrpcSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

optional string authority = 401868611;

Returns
Type Description
String

The authority.

getAuthorityBytes()

public ByteString getAuthorityBytes()

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

optional string authority = 401868611;

Returns
Type Description
ByteString

The bytes for authority.

getDefaultInstanceForType()

public NotificationEndpointGrpcSettings getDefaultInstanceForType()
Returns
Type Description
NotificationEndpointGrpcSettings

getEndpoint()

public String getEndpoint()

Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

optional string endpoint = 130489749;

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

optional string endpoint = 130489749;

Returns
Type Description
ByteString

The bytes for endpoint.

getParserForType()

public Parser<NotificationEndpointGrpcSettings> getParserForType()
Returns
Type Description
Parser<NotificationEndpointGrpcSettings>
Overrides

getPayloadName()

public String getPayloadName()

Optional. If specified, this field is used to populate the "name" field in gRPC requests.

optional string payload_name = 300358300;

Returns
Type Description
String

The payloadName.

getPayloadNameBytes()

public ByteString getPayloadNameBytes()

Optional. If specified, this field is used to populate the "name" field in gRPC requests.

optional string payload_name = 300358300;

Returns
Type Description
ByteString

The bytes for payloadName.

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.

optional .google.cloud.compute.v1.Duration resend_interval = 478288969;

Returns
Type Description
Duration

The resendInterval.

getResendIntervalOrBuilder()

public DurationOrBuilder getResendIntervalOrBuilder()

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.

optional .google.cloud.compute.v1.Duration resend_interval = 478288969;

Returns
Type Description
DurationOrBuilder

getRetryDurationSec()

public int 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.

optional uint32 retry_duration_sec = 115681117;

Returns
Type Description
int

The retryDurationSec.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAuthority()

public boolean hasAuthority()

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

optional string authority = 401868611;

Returns
Type Description
boolean

Whether the authority field is set.

hasEndpoint()

public boolean hasEndpoint()

Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

optional string endpoint = 130489749;

Returns
Type Description
boolean

Whether the endpoint field is set.

hasPayloadName()

public boolean hasPayloadName()

Optional. If specified, this field is used to populate the "name" field in gRPC requests.

optional string payload_name = 300358300;

Returns
Type Description
boolean

Whether the payloadName field is set.

hasResendInterval()

public boolean hasResendInterval()

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.

optional .google.cloud.compute.v1.Duration resend_interval = 478288969;

Returns
Type Description
boolean

Whether the resendInterval field is set.

hasRetryDurationSec()

public boolean hasRetryDurationSec()

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.

optional uint32 retry_duration_sec = 115681117;

Returns
Type Description
boolean

Whether the retryDurationSec field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NotificationEndpointGrpcSettings.Builder newBuilderForType()
Returns
Type Description
NotificationEndpointGrpcSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NotificationEndpointGrpcSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NotificationEndpointGrpcSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NotificationEndpointGrpcSettings.Builder toBuilder()
Returns
Type Description
NotificationEndpointGrpcSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException