Package com.google.cloud.compute.v1
Class NotificationEndpointGrpcSettings
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.NotificationEndpointGrpcSettings
-
- All Implemented Interfaces:
NotificationEndpointGrpcSettingsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class NotificationEndpointGrpcSettings extends com.google.protobuf.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 typegoogle.cloud.compute.v1.NotificationEndpointGrpcSettings
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotificationEndpointGrpcSettings.Builder
Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AUTHORITY_FIELD_NUMBER
static int
ENDPOINT_FIELD_NUMBER
static int
PAYLOAD_NAME_FIELD_NUMBER
static int
RESEND_INTERVAL_FIELD_NUMBER
static int
RETRY_DURATION_SEC_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAuthority()
Optional.com.google.protobuf.ByteString
getAuthorityBytes()
Optional.static NotificationEndpointGrpcSettings
getDefaultInstance()
NotificationEndpointGrpcSettings
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEndpoint()
Endpoint to which gRPC notifications are sent.com.google.protobuf.ByteString
getEndpointBytes()
Endpoint to which gRPC notifications are sent.com.google.protobuf.Parser<NotificationEndpointGrpcSettings>
getParserForType()
String
getPayloadName()
Optional.com.google.protobuf.ByteString
getPayloadNameBytes()
Optional.Duration
getResendInterval()
Optional.DurationOrBuilder
getResendIntervalOrBuilder()
Optional.int
getRetryDurationSec()
How much time (in seconds) is spent attempting notification retries until a successful response is received.int
getSerializedSize()
boolean
hasAuthority()
Optional.boolean
hasEndpoint()
Endpoint to which gRPC notifications are sent.int
hashCode()
boolean
hasPayloadName()
Optional.boolean
hasResendInterval()
Optional.boolean
hasRetryDurationSec()
How much time (in seconds) is spent attempting notification retries until a successful response is received.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static NotificationEndpointGrpcSettings.Builder
newBuilder()
static NotificationEndpointGrpcSettings.Builder
newBuilder(NotificationEndpointGrpcSettings prototype)
NotificationEndpointGrpcSettings.Builder
newBuilderForType()
protected NotificationEndpointGrpcSettings.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NotificationEndpointGrpcSettings
parseDelimitedFrom(InputStream input)
static NotificationEndpointGrpcSettings
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NotificationEndpointGrpcSettings
parseFrom(byte[] data)
static NotificationEndpointGrpcSettings
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NotificationEndpointGrpcSettings
parseFrom(com.google.protobuf.ByteString data)
static NotificationEndpointGrpcSettings
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NotificationEndpointGrpcSettings
parseFrom(com.google.protobuf.CodedInputStream input)
static NotificationEndpointGrpcSettings
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NotificationEndpointGrpcSettings
parseFrom(InputStream input)
static NotificationEndpointGrpcSettings
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NotificationEndpointGrpcSettings
parseFrom(ByteBuffer data)
static NotificationEndpointGrpcSettings
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NotificationEndpointGrpcSettings>
parser()
NotificationEndpointGrpcSettings.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
AUTHORITY_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_NAME_FIELD_NUMBER
public static final int PAYLOAD_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESEND_INTERVAL_FIELD_NUMBER
public static final int RESEND_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRY_DURATION_SEC_FIELD_NUMBER
public static final int RETRY_DURATION_SEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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;
- Specified by:
hasAuthority
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- Whether the authority field is set.
-
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;
- Specified by:
getAuthority
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- The authority.
-
getAuthorityBytes
public com.google.protobuf.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;
- Specified by:
getAuthorityBytes
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- The bytes for authority.
-
hasEndpoint
public boolean hasEndpoint()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;
- Specified by:
hasEndpoint
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- Whether the endpoint field is set.
-
getEndpoint
public String getEndpoint()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;
- Specified by:
getEndpoint
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;
- Specified by:
getEndpointBytes
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- The bytes for endpoint.
-
hasPayloadName
public boolean hasPayloadName()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;
- Specified by:
hasPayloadName
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- Whether the payloadName field is set.
-
getPayloadName
public String getPayloadName()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;
- Specified by:
getPayloadName
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- The payloadName.
-
getPayloadNameBytes
public com.google.protobuf.ByteString getPayloadNameBytes()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;
- Specified by:
getPayloadNameBytes
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- The bytes for payloadName.
-
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;
- Specified by:
hasResendInterval
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- Whether the resendInterval field is set.
-
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;
- Specified by:
getResendInterval
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- 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;
- Specified by:
getResendIntervalOrBuilder
in interfaceNotificationEndpointGrpcSettingsOrBuilder
-
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;
- Specified by:
hasRetryDurationSec
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- Whether the retryDurationSec field is set.
-
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;
- Specified by:
getRetryDurationSec
in interfaceNotificationEndpointGrpcSettingsOrBuilder
- Returns:
- The retryDurationSec.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NotificationEndpointGrpcSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NotificationEndpointGrpcSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NotificationEndpointGrpcSettings.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NotificationEndpointGrpcSettings.Builder newBuilder()
-
newBuilder
public static NotificationEndpointGrpcSettings.Builder newBuilder(NotificationEndpointGrpcSettings prototype)
-
toBuilder
public NotificationEndpointGrpcSettings.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NotificationEndpointGrpcSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NotificationEndpointGrpcSettings getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NotificationEndpointGrpcSettings> parser()
-
getParserForType
public com.google.protobuf.Parser<NotificationEndpointGrpcSettings> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NotificationEndpointGrpcSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-