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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NotificationEndpointGrpcSettings.Builder newBuilder()
newBuilder(NotificationEndpointGrpcSettings prototype)
public static NotificationEndpointGrpcSettings.Builder newBuilder(NotificationEndpointGrpcSettings prototype)
public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input)
public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NotificationEndpointGrpcSettings parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NotificationEndpointGrpcSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NotificationEndpointGrpcSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NotificationEndpointGrpcSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NotificationEndpointGrpcSettings parseFrom(CodedInputStream input)
public static NotificationEndpointGrpcSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NotificationEndpointGrpcSettings parseFrom(InputStream input)
public static NotificationEndpointGrpcSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NotificationEndpointGrpcSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAuthority()
public String getAuthority()
Returns |
---|
Type | Description |
String | The authority.
|
getAuthorityBytes()
public ByteString getAuthorityBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for authority.
|
getDefaultInstanceForType()
public NotificationEndpointGrpcSettings getDefaultInstanceForType()
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()
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;
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()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NotificationEndpointGrpcSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NotificationEndpointGrpcSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public NotificationEndpointGrpcSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides