java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OnDemandCds.Builder>
io.envoyproxy.envoy.extensions.filters.http.on_demand.v3.OnDemandCds.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, OnDemandCdsOrBuilder, Cloneable
Enclosing class:
OnDemandCds

public static final class OnDemandCds.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OnDemandCds.Builder> implements OnDemandCdsOrBuilder
 Configuration of on-demand CDS.
 
Protobuf type envoy.extensions.filters.http.on_demand.v3.OnDemandCds
  • 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<OnDemandCds.Builder>
    • clear

      public OnDemandCds.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<OnDemandCds.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<OnDemandCds.Builder>
    • getDefaultInstanceForType

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

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

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

      public OnDemandCds.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<OnDemandCds.Builder>
    • setField

      public OnDemandCds.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<OnDemandCds.Builder>
    • clearField

      public OnDemandCds.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<OnDemandCds.Builder>
    • clearOneof

      public OnDemandCds.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<OnDemandCds.Builder>
    • setRepeatedField

      public OnDemandCds.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<OnDemandCds.Builder>
    • addRepeatedField

      public OnDemandCds.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<OnDemandCds.Builder>
    • mergeFrom

      public OnDemandCds.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<OnDemandCds.Builder>
    • mergeFrom

      public OnDemandCds.Builder mergeFrom(OnDemandCds other)
    • isInitialized

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

      public OnDemandCds.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<OnDemandCds.Builder>
      Throws:
      IOException
    • hasSource

      public boolean hasSource()
       A configuration source for the service that will be used for
       on-demand cluster discovery.
       
      .envoy.config.core.v3.ConfigSource source = 1;
      Specified by:
      hasSource in interface OnDemandCdsOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public ConfigSource getSource()
       A configuration source for the service that will be used for
       on-demand cluster discovery.
       
      .envoy.config.core.v3.ConfigSource source = 1;
      Specified by:
      getSource in interface OnDemandCdsOrBuilder
      Returns:
      The source.
    • setSource

      public OnDemandCds.Builder setSource(ConfigSource value)
       A configuration source for the service that will be used for
       on-demand cluster discovery.
       
      .envoy.config.core.v3.ConfigSource source = 1;
    • setSource

      public OnDemandCds.Builder setSource(ConfigSource.Builder builderForValue)
       A configuration source for the service that will be used for
       on-demand cluster discovery.
       
      .envoy.config.core.v3.ConfigSource source = 1;
    • mergeSource

      public OnDemandCds.Builder mergeSource(ConfigSource value)
       A configuration source for the service that will be used for
       on-demand cluster discovery.
       
      .envoy.config.core.v3.ConfigSource source = 1;
    • clearSource

      public OnDemandCds.Builder clearSource()
       A configuration source for the service that will be used for
       on-demand cluster discovery.
       
      .envoy.config.core.v3.ConfigSource source = 1;
    • getSourceBuilder

      public ConfigSource.Builder getSourceBuilder()
       A configuration source for the service that will be used for
       on-demand cluster discovery.
       
      .envoy.config.core.v3.ConfigSource source = 1;
    • getSourceOrBuilder

      public ConfigSourceOrBuilder getSourceOrBuilder()
       A configuration source for the service that will be used for
       on-demand cluster discovery.
       
      .envoy.config.core.v3.ConfigSource source = 1;
      Specified by:
      getSourceOrBuilder in interface OnDemandCdsOrBuilder
    • getResourcesLocator

      public String getResourcesLocator()
       xdstp:// resource locator for on-demand cluster collection.
       
      string resources_locator = 2;
      Specified by:
      getResourcesLocator in interface OnDemandCdsOrBuilder
      Returns:
      The resourcesLocator.
    • getResourcesLocatorBytes

      public com.google.protobuf.ByteString getResourcesLocatorBytes()
       xdstp:// resource locator for on-demand cluster collection.
       
      string resources_locator = 2;
      Specified by:
      getResourcesLocatorBytes in interface OnDemandCdsOrBuilder
      Returns:
      The bytes for resourcesLocator.
    • setResourcesLocator

      public OnDemandCds.Builder setResourcesLocator(String value)
       xdstp:// resource locator for on-demand cluster collection.
       
      string resources_locator = 2;
      Parameters:
      value - The resourcesLocator to set.
      Returns:
      This builder for chaining.
    • clearResourcesLocator

      public OnDemandCds.Builder clearResourcesLocator()
       xdstp:// resource locator for on-demand cluster collection.
       
      string resources_locator = 2;
      Returns:
      This builder for chaining.
    • setResourcesLocatorBytes

      public OnDemandCds.Builder setResourcesLocatorBytes(com.google.protobuf.ByteString value)
       xdstp:// resource locator for on-demand cluster collection.
       
      string resources_locator = 2;
      Parameters:
      value - The bytes for resourcesLocator to set.
      Returns:
      This builder for chaining.
    • hasTimeout

      public boolean hasTimeout()
       The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
       
      .google.protobuf.Duration timeout = 3;
      Specified by:
      hasTimeout in interface OnDemandCdsOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

      public com.google.protobuf.Duration getTimeout()
       The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
       
      .google.protobuf.Duration timeout = 3;
      Specified by:
      getTimeout in interface OnDemandCdsOrBuilder
      Returns:
      The timeout.
    • setTimeout

      public OnDemandCds.Builder setTimeout(com.google.protobuf.Duration value)
       The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
       
      .google.protobuf.Duration timeout = 3;
    • setTimeout

      public OnDemandCds.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
       The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
       
      .google.protobuf.Duration timeout = 3;
    • mergeTimeout

      public OnDemandCds.Builder mergeTimeout(com.google.protobuf.Duration value)
       The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
       
      .google.protobuf.Duration timeout = 3;
    • clearTimeout

      public OnDemandCds.Builder clearTimeout()
       The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
       
      .google.protobuf.Duration timeout = 3;
    • getTimeoutBuilder

      public com.google.protobuf.Duration.Builder getTimeoutBuilder()
       The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
       
      .google.protobuf.Duration timeout = 3;
    • getTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
       The timeout for on demand cluster lookup. If not set, defaults to 5 seconds.
       
      .google.protobuf.Duration timeout = 3;
      Specified by:
      getTimeoutOrBuilder in interface OnDemandCdsOrBuilder
    • setUnknownFields

      public final OnDemandCds.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<OnDemandCds.Builder>
    • mergeUnknownFields

      public final OnDemandCds.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<OnDemandCds.Builder>