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
Fields
AUTHORITY_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER
Field Value
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
Field Value
PAYLOAD_NAME_FIELD_NUMBER
public static final int PAYLOAD_NAME_FIELD_NUMBER
Field Value
RESEND_INTERVAL_FIELD_NUMBER
public static final int RESEND_INTERVAL_FIELD_NUMBER
Field Value
RETRY_DURATION_SEC_FIELD_NUMBER
public static final int RETRY_DURATION_SEC_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAuthority()
public String getAuthority()
Returns
Type | Description |
String | The authority.
|
getAuthorityBytes()
public ByteString getAuthorityBytes()
Returns
getDefaultInstance()
public static NotificationEndpointGrpcSettings getDefaultInstance()
Returns
getDefaultInstanceForType()
public NotificationEndpointGrpcSettings getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
getParserForType()
public Parser<NotificationEndpointGrpcSettings> getParserForType()
Returns
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.
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.
optional .google.cloud.compute.v1.Duration resend_interval = 478288969;
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAuthority()
public boolean hasAuthority()
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.
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static NotificationEndpointGrpcSettings.Builder newBuilder()
Returns
newBuilder(NotificationEndpointGrpcSettings prototype)
public static NotificationEndpointGrpcSettings.Builder newBuilder(NotificationEndpointGrpcSettings prototype)
Parameter
Returns
newBuilderForType()
public NotificationEndpointGrpcSettings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NotificationEndpointGrpcSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NotificationEndpointGrpcSettings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NotificationEndpointGrpcSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NotificationEndpointGrpcSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NotificationEndpointGrpcSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NotificationEndpointGrpcSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NotificationEndpointGrpcSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NotificationEndpointGrpcSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NotificationEndpointGrpcSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NotificationEndpointGrpcSettings> parser()
Returns
toBuilder()
public NotificationEndpointGrpcSettings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions