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 classNotificationEndpointGrpcSettings.BuilderRepresents 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 intAUTHORITY_FIELD_NUMBERstatic intENDPOINT_FIELD_NUMBERstatic intPAYLOAD_NAME_FIELD_NUMBERstatic intRESEND_INTERVAL_FIELD_NUMBERstatic intRETRY_DURATION_SEC_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAuthority()Optional.com.google.protobuf.ByteStringgetAuthorityBytes()Optional.static NotificationEndpointGrpcSettingsgetDefaultInstance()NotificationEndpointGrpcSettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEndpoint()Endpoint to which gRPC notifications are sent.com.google.protobuf.ByteStringgetEndpointBytes()Endpoint to which gRPC notifications are sent.com.google.protobuf.Parser<NotificationEndpointGrpcSettings>getParserForType()StringgetPayloadName()Optional.com.google.protobuf.ByteStringgetPayloadNameBytes()Optional.DurationgetResendInterval()Optional.DurationOrBuildergetResendIntervalOrBuilder()Optional.intgetRetryDurationSec()How much time (in seconds) is spent attempting notification retries until a successful response is received.intgetSerializedSize()booleanhasAuthority()Optional.booleanhasEndpoint()Endpoint to which gRPC notifications are sent.inthashCode()booleanhasPayloadName()Optional.booleanhasResendInterval()Optional.booleanhasRetryDurationSec()How much time (in seconds) is spent attempting notification retries until a successful response is received.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NotificationEndpointGrpcSettings.BuildernewBuilder()static NotificationEndpointGrpcSettings.BuildernewBuilder(NotificationEndpointGrpcSettings prototype)NotificationEndpointGrpcSettings.BuildernewBuilderForType()protected NotificationEndpointGrpcSettings.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NotificationEndpointGrpcSettingsparseDelimitedFrom(InputStream input)static NotificationEndpointGrpcSettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationEndpointGrpcSettingsparseFrom(byte[] data)static NotificationEndpointGrpcSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationEndpointGrpcSettingsparseFrom(com.google.protobuf.ByteString data)static NotificationEndpointGrpcSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationEndpointGrpcSettingsparseFrom(com.google.protobuf.CodedInputStream input)static NotificationEndpointGrpcSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationEndpointGrpcSettingsparseFrom(InputStream input)static NotificationEndpointGrpcSettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NotificationEndpointGrpcSettingsparseFrom(ByteBuffer data)static NotificationEndpointGrpcSettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NotificationEndpointGrpcSettings>parser()NotificationEndpointGrpcSettings.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
hasAuthorityin 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:
getAuthorityin 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:
getAuthorityBytesin 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:
hasEndpointin 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:
getEndpointin 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:
getEndpointBytesin 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:
hasPayloadNamein 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:
getPayloadNamein 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:
getPayloadNameBytesin 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:
hasResendIntervalin 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:
getResendIntervalin 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:
getResendIntervalOrBuilderin 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:
hasRetryDurationSecin 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:
getRetryDurationSecin interfaceNotificationEndpointGrpcSettingsOrBuilder- Returns:
- The retryDurationSec.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NotificationEndpointGrpcSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NotificationEndpointGrpcSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-