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:
  • 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:
      internalGetFieldAccessorTable in class com.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:
      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.
    • 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.
    • 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:
      getEndpoint in interface NotificationEndpointGrpcSettingsOrBuilder
      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:
      getEndpointBytes in interface NotificationEndpointGrpcSettingsOrBuilder
      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:
      hasPayloadName in interface NotificationEndpointGrpcSettingsOrBuilder
      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:
      getPayloadName in interface NotificationEndpointGrpcSettingsOrBuilder
      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:
      getPayloadNameBytes in interface NotificationEndpointGrpcSettingsOrBuilder
      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:
      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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NotificationEndpointGrpcSettings.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NotificationEndpointGrpcSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static NotificationEndpointGrpcSettings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NotificationEndpointGrpcSettings> parser()
    • getParserForType

      public com.google.protobuf.Parser<NotificationEndpointGrpcSettings> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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