public static final class NotificationEndpointGrpcSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder> 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| Modifier and Type | Method and Description |
|---|---|
NotificationEndpointGrpcSettings.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NotificationEndpointGrpcSettings |
build() |
NotificationEndpointGrpcSettings |
buildPartial() |
NotificationEndpointGrpcSettings.Builder |
clear() |
NotificationEndpointGrpcSettings.Builder |
clearAuthority()
Optional.
|
NotificationEndpointGrpcSettings.Builder |
clearEndpoint()
Endpoint to which gRPC notifications are sent.
|
NotificationEndpointGrpcSettings.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NotificationEndpointGrpcSettings.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NotificationEndpointGrpcSettings.Builder |
clearPayloadName()
Optional.
|
NotificationEndpointGrpcSettings.Builder |
clearResendInterval()
Optional.
|
NotificationEndpointGrpcSettings.Builder |
clearRetryDurationSec()
How much time (in seconds) is spent attempting notification retries until a successful response is received.
|
NotificationEndpointGrpcSettings.Builder |
clone() |
String |
getAuthority()
Optional.
|
com.google.protobuf.ByteString |
getAuthorityBytes()
Optional.
|
NotificationEndpointGrpcSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEndpoint()
Endpoint to which gRPC notifications are sent.
|
com.google.protobuf.ByteString |
getEndpointBytes()
Endpoint to which gRPC notifications are sent.
|
String |
getPayloadName()
Optional.
|
com.google.protobuf.ByteString |
getPayloadNameBytes()
Optional.
|
Duration |
getResendInterval()
Optional.
|
Duration.Builder |
getResendIntervalBuilder()
Optional.
|
DurationOrBuilder |
getResendIntervalOrBuilder()
Optional.
|
int |
getRetryDurationSec()
How much time (in seconds) is spent attempting notification retries until a successful response is received.
|
boolean |
hasAuthority()
Optional.
|
boolean |
hasEndpoint()
Endpoint to which gRPC notifications are sent.
|
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() |
NotificationEndpointGrpcSettings.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NotificationEndpointGrpcSettings.Builder |
mergeFrom(com.google.protobuf.Message other) |
NotificationEndpointGrpcSettings.Builder |
mergeFrom(NotificationEndpointGrpcSettings other) |
NotificationEndpointGrpcSettings.Builder |
mergeResendInterval(Duration value)
Optional.
|
NotificationEndpointGrpcSettings.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NotificationEndpointGrpcSettings.Builder |
setAuthority(String value)
Optional.
|
NotificationEndpointGrpcSettings.Builder |
setAuthorityBytes(com.google.protobuf.ByteString value)
Optional.
|
NotificationEndpointGrpcSettings.Builder |
setEndpoint(String value)
Endpoint to which gRPC notifications are sent.
|
NotificationEndpointGrpcSettings.Builder |
setEndpointBytes(com.google.protobuf.ByteString value)
Endpoint to which gRPC notifications are sent.
|
NotificationEndpointGrpcSettings.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NotificationEndpointGrpcSettings.Builder |
setPayloadName(String value)
Optional.
|
NotificationEndpointGrpcSettings.Builder |
setPayloadNameBytes(com.google.protobuf.ByteString value)
Optional.
|
NotificationEndpointGrpcSettings.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NotificationEndpointGrpcSettings.Builder |
setResendInterval(Duration.Builder builderForValue)
Optional.
|
NotificationEndpointGrpcSettings.Builder |
setResendInterval(Duration value)
Optional.
|
NotificationEndpointGrpcSettings.Builder |
setRetryDurationSec(int value)
How much time (in seconds) is spent attempting notification retries until a successful response is received.
|
NotificationEndpointGrpcSettings.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NotificationEndpointGrpcSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NotificationEndpointGrpcSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NotificationEndpointGrpcSettings.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings.Builder mergeFrom(NotificationEndpointGrpcSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public NotificationEndpointGrpcSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NotificationEndpointGrpcSettings.Builder>IOExceptionpublic 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;hasAuthority in interface NotificationEndpointGrpcSettingsOrBuilderpublic 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;getAuthority in interface NotificationEndpointGrpcSettingsOrBuilderpublic 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;getAuthorityBytes in interface NotificationEndpointGrpcSettingsOrBuilderpublic NotificationEndpointGrpcSettings.Builder setAuthority(String value)
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;value - The authority to set.public NotificationEndpointGrpcSettings.Builder clearAuthority()
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;public NotificationEndpointGrpcSettings.Builder setAuthorityBytes(com.google.protobuf.ByteString value)
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;value - The bytes for authority to set.public boolean hasEndpoint()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;hasEndpoint in interface NotificationEndpointGrpcSettingsOrBuilderpublic String getEndpoint()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;getEndpoint in interface NotificationEndpointGrpcSettingsOrBuilderpublic com.google.protobuf.ByteString getEndpointBytes()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;getEndpointBytes in interface NotificationEndpointGrpcSettingsOrBuilderpublic NotificationEndpointGrpcSettings.Builder setEndpoint(String value)
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;value - The endpoint to set.public NotificationEndpointGrpcSettings.Builder clearEndpoint()
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;public NotificationEndpointGrpcSettings.Builder setEndpointBytes(com.google.protobuf.ByteString value)
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;value - The bytes for endpoint to set.public boolean hasPayloadName()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;hasPayloadName in interface NotificationEndpointGrpcSettingsOrBuilderpublic String getPayloadName()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;getPayloadName in interface NotificationEndpointGrpcSettingsOrBuilderpublic 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;getPayloadNameBytes in interface NotificationEndpointGrpcSettingsOrBuilderpublic NotificationEndpointGrpcSettings.Builder setPayloadName(String value)
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;value - The payloadName to set.public NotificationEndpointGrpcSettings.Builder clearPayloadName()
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;public NotificationEndpointGrpcSettings.Builder setPayloadNameBytes(com.google.protobuf.ByteString value)
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;value - The bytes for payloadName to set.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;hasResendInterval in interface NotificationEndpointGrpcSettingsOrBuilderpublic 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;getResendInterval in interface NotificationEndpointGrpcSettingsOrBuilderpublic NotificationEndpointGrpcSettings.Builder setResendInterval(Duration value)
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;public NotificationEndpointGrpcSettings.Builder setResendInterval(Duration.Builder builderForValue)
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;public NotificationEndpointGrpcSettings.Builder mergeResendInterval(Duration value)
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;public NotificationEndpointGrpcSettings.Builder clearResendInterval()
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;public Duration.Builder getResendIntervalBuilder()
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;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;getResendIntervalOrBuilder in interface NotificationEndpointGrpcSettingsOrBuilderpublic 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;hasRetryDurationSec in interface NotificationEndpointGrpcSettingsOrBuilderpublic 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;getRetryDurationSec in interface NotificationEndpointGrpcSettingsOrBuilderpublic NotificationEndpointGrpcSettings.Builder setRetryDurationSec(int value)
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;value - The retryDurationSec to set.public NotificationEndpointGrpcSettings.Builder clearRetryDurationSec()
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;public final NotificationEndpointGrpcSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>public final NotificationEndpointGrpcSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>Copyright © 2023 Google LLC. All rights reserved.