Class FluentdAccessLogConfig.RetryOptions.Builder

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

public static final class FluentdAccessLogConfig.RetryOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder> implements FluentdAccessLogConfig.RetryOptionsOrBuilder
Protobuf type envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig.RetryOptions
  • Method Details

    • 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<FluentdAccessLogConfig.RetryOptions.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.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<FluentdAccessLogConfig.RetryOptions.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
    • setField

      public FluentdAccessLogConfig.RetryOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
    • clearField

      public FluentdAccessLogConfig.RetryOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
    • clearOneof

      public FluentdAccessLogConfig.RetryOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
    • setRepeatedField

      public FluentdAccessLogConfig.RetryOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
    • addRepeatedField

      public FluentdAccessLogConfig.RetryOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
    • mergeFrom

      public FluentdAccessLogConfig.RetryOptions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
    • mergeFrom

      public FluentdAccessLogConfig.RetryOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
      Throws:
      IOException
    • 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.
    • setMaxConnectAttempts

      public FluentdAccessLogConfig.RetryOptions.Builder setMaxConnectAttempts(com.google.protobuf.UInt32Value value)
       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;
    • setMaxConnectAttempts

      public FluentdAccessLogConfig.RetryOptions.Builder setMaxConnectAttempts(com.google.protobuf.UInt32Value.Builder builderForValue)
       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;
    • mergeMaxConnectAttempts

      public FluentdAccessLogConfig.RetryOptions.Builder mergeMaxConnectAttempts(com.google.protobuf.UInt32Value value)
       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;
    • clearMaxConnectAttempts

      public FluentdAccessLogConfig.RetryOptions.Builder clearMaxConnectAttempts()
       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;
    • getMaxConnectAttemptsBuilder

      public com.google.protobuf.UInt32Value.Builder getMaxConnectAttemptsBuilder()
       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;
    • 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.
    • setBackoffOptions

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

      public FluentdAccessLogConfig.RetryOptions.Builder setBackoffOptions(BackoffStrategy.Builder builderForValue)
       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;
    • mergeBackoffOptions

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

      public FluentdAccessLogConfig.RetryOptions.Builder clearBackoffOptions()
       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;
    • getBackoffOptionsBuilder

      public BackoffStrategy.Builder getBackoffOptionsBuilder()
       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;
    • 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
    • setUnknownFields

      public final FluentdAccessLogConfig.RetryOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder>
    • mergeUnknownFields

      public final FluentdAccessLogConfig.RetryOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FluentdAccessLogConfig.RetryOptions.Builder>