Class NotificationEndpointGrpcSettings.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>
      • getDefaultInstanceForType

        public NotificationEndpointGrpcSettings getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public NotificationEndpointGrpcSettings build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public NotificationEndpointGrpcSettings buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NotificationEndpointGrpcSettings.Builder>
      • 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 interface NotificationEndpointGrpcSettingsOrBuilder
        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 interface NotificationEndpointGrpcSettingsOrBuilder
        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 interface NotificationEndpointGrpcSettingsOrBuilder
        Returns:
        The bytes for authority.
      • setAuthority

        public 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;
        Parameters:
        value - The authority to set.
        Returns:
        This builder for chaining.
      • clearAuthority

        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;
        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:
        hasEndpoint in interface NotificationEndpointGrpcSettingsOrBuilder
        Returns:
        Whether the endpoint field is set.
      • 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 interface NotificationEndpointGrpcSettingsOrBuilder
        Returns:
        The bytes for endpoint.
      • setEndpoint

        public NotificationEndpointGrpcSettings.Builder setEndpoint​(String value)
         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

        public NotificationEndpointGrpcSettings.Builder 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:
        hasPayloadName in interface NotificationEndpointGrpcSettingsOrBuilder
        Returns:
        Whether the payloadName field is set.
      • 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 interface NotificationEndpointGrpcSettingsOrBuilder
        Returns:
        The bytes for payloadName.
      • setPayloadName

        public 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;
        Parameters:
        value - The payloadName to set.
        Returns:
        This builder for chaining.
      • clearPayloadName

        public NotificationEndpointGrpcSettings.Builder 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:
        hasResendInterval in interface NotificationEndpointGrpcSettingsOrBuilder
        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 interface NotificationEndpointGrpcSettingsOrBuilder
        Returns:
        The resendInterval.
      • setResendInterval

        public 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;
      • setResendInterval

        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;
      • mergeResendInterval

        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;
      • clearResendInterval

        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;
      • getResendIntervalBuilder

        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;
      • 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 interface NotificationEndpointGrpcSettingsOrBuilder
      • 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 interface NotificationEndpointGrpcSettingsOrBuilder
        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 interface NotificationEndpointGrpcSettingsOrBuilder
        Returns:
        The retryDurationSec.
      • setRetryDurationSec

        public 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;
        Parameters:
        value - The retryDurationSec to set.
        Returns:
        This builder for chaining.
      • clearRetryDurationSec

        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;
        Returns:
        This builder for chaining.