Package com.google.cloud.compute.v1
Class NotificationEndpointGrpcSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NotificationEndpointGrpcSettings.Builder>
com.google.cloud.compute.v1.NotificationEndpointGrpcSettings.Builder
- All Implemented Interfaces:
NotificationEndpointGrpcSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NotificationEndpointGrpcSettings
public static final class NotificationEndpointGrpcSettings.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Endpoint to which gRPC notifications are sent.Optional.Optional.How much time (in seconds) is spent attempting notification retries until a successful response is received.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEndpoint to which gRPC notifications are sent.com.google.protobuf.ByteStringEndpoint to which gRPC notifications are sent.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.intHow much time (in seconds) is spent attempting notification retries until a successful response is received.booleanOptional.booleanEndpoint to which gRPC notifications are sent.booleanOptional.booleanOptional.booleanHow much time (in seconds) is spent attempting notification retries until a successful response is received.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeResendInterval(Duration value) Optional.setAuthority(String value) Optional.setAuthorityBytes(com.google.protobuf.ByteString value) Optional.setEndpoint(String value) Endpoint to which gRPC notifications are sent.setEndpointBytes(com.google.protobuf.ByteString value) Endpoint to which gRPC notifications are sent.setPayloadName(String value) Optional.setPayloadNameBytes(com.google.protobuf.ByteString value) Optional.setResendInterval(Duration value) Optional.setResendInterval(Duration.Builder builderForValue) Optional.setRetryDurationSec(int value) How much time (in seconds) is spent attempting notification retries until a successful response is received.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<NotificationEndpointGrpcSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NotificationEndpointGrpcSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NotificationEndpointGrpcSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NotificationEndpointGrpcSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NotificationEndpointGrpcSettings.Builder>
-
mergeFrom
public NotificationEndpointGrpcSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NotificationEndpointGrpcSettings.Builder>- Throws:
IOException
-
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.
-
setAuthority
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;- Parameters:
value- The authority to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setAuthorityBytes
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;- Parameters:
value- The bytes for authority to set.- Returns:
- This builder for chaining.
-
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.
-
setEndpoint
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
optional string endpoint = 130489749;- Returns:
- This builder for chaining.
-
setEndpointBytes
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;- Parameters:
value- The bytes for endpoint to set.- Returns:
- This builder for chaining.
-
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.
-
setPayloadName
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;- Parameters:
value- The payloadName to set.- Returns:
- This builder for chaining.
-
clearPayloadName
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
optional string payload_name = 300358300;- Returns:
- This builder for chaining.
-
setPayloadNameBytes
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;- Parameters:
value- The bytes for payloadName to set.- Returns:
- This builder for chaining.
-
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.
-
setResendInterval
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; -
setResendInterval
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; -
mergeResendInterval
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; -
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; -
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; -
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.
-
setRetryDurationSec
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;- Parameters:
value- The retryDurationSec to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-