Class FluentdAccessLogConfig.RetryOptions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FluentdAccessLogConfig.RetryOptionsOrBuilder, Serializable
Enclosing class:
FluentdAccessLogConfig

public static final class FluentdAccessLogConfig.RetryOptions extends com.google.protobuf.GeneratedMessageV3 implements FluentdAccessLogConfig.RetryOptionsOrBuilder
Protobuf type envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions
See Also:
  • Field Details

    • MAX_CONNECT_ATTEMPTS_FIELD_NUMBER

      public static final int MAX_CONNECT_ATTEMPTS_FIELD_NUMBER
      See Also:
    • BACKOFF_OPTIONS_FIELD_NUMBER

      public static final int BACKOFF_OPTIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasMaxConnectAttempts

      public boolean hasMaxConnectAttempts()
       The number of times the logger will attempt to connect to the upstream during reconnects.
       By default, there is no limit. The logger will attempt to reconnect to the upstream each time
       connecting to the upstream failed or the upstream connection had been closed for any reason.
       
      .google.protobuf.UInt32Value max_connect_attempts = 1;
      Specified by:
      hasMaxConnectAttempts in interface FluentdAccessLogConfig.RetryOptionsOrBuilder
      Returns:
      Whether the maxConnectAttempts field is set.
    • getMaxConnectAttempts

      public com.google.protobuf.UInt32Value getMaxConnectAttempts()
       The number of times the logger will attempt to connect to the upstream during reconnects.
       By default, there is no limit. The logger will attempt to reconnect to the upstream each time
       connecting to the upstream failed or the upstream connection had been closed for any reason.
       
      .google.protobuf.UInt32Value max_connect_attempts = 1;
      Specified by:
      getMaxConnectAttempts in interface FluentdAccessLogConfig.RetryOptionsOrBuilder
      Returns:
      The maxConnectAttempts.
    • getMaxConnectAttemptsOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getMaxConnectAttemptsOrBuilder()
       The number of times the logger will attempt to connect to the upstream during reconnects.
       By default, there is no limit. The logger will attempt to reconnect to the upstream each time
       connecting to the upstream failed or the upstream connection had been closed for any reason.
       
      .google.protobuf.UInt32Value max_connect_attempts = 1;
      Specified by:
      getMaxConnectAttemptsOrBuilder in interface FluentdAccessLogConfig.RetryOptionsOrBuilder
    • hasBackoffOptions

      public boolean hasBackoffOptions()
       Sets the backoff strategy. If this value is not set, the default base backoff interval is 500
       milliseconds and the default max backoff interval is 5 seconds (10 times the base interval).
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 2;
      Specified by:
      hasBackoffOptions in interface FluentdAccessLogConfig.RetryOptionsOrBuilder
      Returns:
      Whether the backoffOptions field is set.
    • getBackoffOptions

      public BackoffStrategy getBackoffOptions()
       Sets the backoff strategy. If this value is not set, the default base backoff interval is 500
       milliseconds and the default max backoff interval is 5 seconds (10 times the base interval).
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 2;
      Specified by:
      getBackoffOptions in interface FluentdAccessLogConfig.RetryOptionsOrBuilder
      Returns:
      The backoffOptions.
    • getBackoffOptionsOrBuilder

      public BackoffStrategyOrBuilder getBackoffOptionsOrBuilder()
       Sets the backoff strategy. If this value is not set, the default base backoff interval is 500
       milliseconds and the default max backoff interval is 5 seconds (10 times the base interval).
       
      .envoy.config.core.v3.BackoffStrategy backoff_options = 2;
      Specified by:
      getBackoffOptionsOrBuilder in interface FluentdAccessLogConfig.RetryOptionsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 FluentdAccessLogConfig.RetryOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FluentdAccessLogConfig.RetryOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FluentdAccessLogConfig.RetryOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FluentdAccessLogConfig.RetryOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FluentdAccessLogConfig.RetryOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FluentdAccessLogConfig.RetryOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FluentdAccessLogConfig.RetryOptions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FluentdAccessLogConfig.RetryOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FluentdAccessLogConfig.RetryOptions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FluentdAccessLogConfig.RetryOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FluentdAccessLogConfig.RetryOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FluentdAccessLogConfig.RetryOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public FluentdAccessLogConfig.RetryOptions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FluentdAccessLogConfig.RetryOptions.Builder newBuilder()
    • newBuilder

    • toBuilder

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

      protected FluentdAccessLogConfig.RetryOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static FluentdAccessLogConfig.RetryOptions getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<FluentdAccessLogConfig.RetryOptions> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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