Class NotificationEndpointGrpcSettings (1.32.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
TypeDescription
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

PAYLOAD_NAME_FIELD_NUMBER

public static final int PAYLOAD_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESEND_INTERVAL_FIELD_NUMBER

public static final int RESEND_INTERVAL_FIELD_NUMBER
Field Value
TypeDescription
int

RETRY_DURATION_SEC_FIELD_NUMBER

public static final int RETRY_DURATION_SEC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NotificationEndpointGrpcSettings getDefaultInstance()
Returns
TypeDescription
NotificationEndpointGrpcSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NotificationEndpointGrpcSettings.Builder newBuilder()
Returns
TypeDescription
NotificationEndpointGrpcSettings.Builder

newBuilder(NotificationEndpointGrpcSettings prototype)

public static NotificationEndpointGrpcSettings.Builder newBuilder(NotificationEndpointGrpcSettings prototype)
Parameter
NameDescription
prototypeNotificationEndpointGrpcSettings
Returns
TypeDescription
NotificationEndpointGrpcSettings.Builder

parseDelimitedFrom(InputStream input)

public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NotificationEndpointGrpcSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NotificationEndpointGrpcSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NotificationEndpointGrpcSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NotificationEndpointGrpcSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationEndpointGrpcSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NotificationEndpointGrpcSettings> parser()
Returns
TypeDescription
Parser<NotificationEndpointGrpcSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for authority.

getDefaultInstanceForType()

public NotificationEndpointGrpcSettings getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for endpoint.

getParserForType()

public Parser<NotificationEndpointGrpcSettings> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The retryDurationSec.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the retryDurationSec field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NotificationEndpointGrpcSettings.Builder newBuilderForType()
Returns
TypeDescription
NotificationEndpointGrpcSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NotificationEndpointGrpcSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NotificationEndpointGrpcSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NotificationEndpointGrpcSettings.Builder toBuilder()
Returns
TypeDescription
NotificationEndpointGrpcSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException