Package com.google.cloud.compute.v1
Class NotificationEndpointGrpcSettings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class NotificationEndpointGrpcSettings
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents 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.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorEndpoint to which gRPC notifications are sent.com.google.protobuf.ByteStringEndpoint to which gRPC notifications are sent.com.google.protobuf.Parser<NotificationEndpointGrpcSettings>Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.intHow much time (in seconds) is spent attempting notification retries until a successful response is received.intbooleanOptional.booleanEndpoint to which gRPC notifications are sent.inthashCode()booleanOptional.booleanOptional.booleanHow much time (in seconds) is spent attempting notification retries until a successful response is received.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(NotificationEndpointGrpcSettings prototype) protected NotificationEndpointGrpcSettings.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NotificationEndpointGrpcSettings>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AUTHORITY_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER- See Also:
-
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER- See Also:
-
PAYLOAD_NAME_FIELD_NUMBER
public static final int PAYLOAD_NAME_FIELD_NUMBER- See Also:
-
RESEND_INTERVAL_FIELD_NUMBER
public static final int RESEND_INTERVAL_FIELD_NUMBER- See Also:
-
RETRY_DURATION_SEC_FIELD_NUMBER
public static final int RETRY_DURATION_SEC_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static NotificationEndpointGrpcSettings.Builder newBuilder(NotificationEndpointGrpcSettings prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NotificationEndpointGrpcSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-