Class ClientConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ClientConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<ClientConfig.Builder>
io.envoyproxy.envoy.service.status.v3.ClientConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ClientConfigOrBuilder, Cloneable
Enclosing class:
ClientConfig

public static final class ClientConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientConfig.Builder> implements ClientConfigOrBuilder
 All xds configs for a particular client.
 
Protobuf type envoy.service.status.v3.ClientConfig
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • 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.Builder<ClientConfig.Builder>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • clear

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

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

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

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

      private void buildPartialRepeatedFields(ClientConfig result)
    • buildPartial0

      private void buildPartial0(ClientConfig result)
    • mergeFrom

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

      public ClientConfig.Builder mergeFrom(ClientConfig other)
    • isInitialized

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

      public ClientConfig.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<ClientConfig.Builder>
      Throws:
      IOException
    • hasNode

      public boolean hasNode()
       Node for a particular client.
       
      .envoy.config.core.v3.Node node = 1;
      Specified by:
      hasNode in interface ClientConfigOrBuilder
      Returns:
      Whether the node field is set.
    • getNode

      public Node getNode()
       Node for a particular client.
       
      .envoy.config.core.v3.Node node = 1;
      Specified by:
      getNode in interface ClientConfigOrBuilder
      Returns:
      The node.
    • setNode

      public ClientConfig.Builder setNode(Node value)
       Node for a particular client.
       
      .envoy.config.core.v3.Node node = 1;
    • setNode

      public ClientConfig.Builder setNode(Node.Builder builderForValue)
       Node for a particular client.
       
      .envoy.config.core.v3.Node node = 1;
    • mergeNode

      public ClientConfig.Builder mergeNode(Node value)
       Node for a particular client.
       
      .envoy.config.core.v3.Node node = 1;
    • clearNode

      public ClientConfig.Builder clearNode()
       Node for a particular client.
       
      .envoy.config.core.v3.Node node = 1;
    • getNodeBuilder

      public Node.Builder getNodeBuilder()
       Node for a particular client.
       
      .envoy.config.core.v3.Node node = 1;
    • getNodeOrBuilder

      public NodeOrBuilder getNodeOrBuilder()
       Node for a particular client.
       
      .envoy.config.core.v3.Node node = 1;
      Specified by:
      getNodeOrBuilder in interface ClientConfigOrBuilder
    • getNodeFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<Node,Node.Builder,NodeOrBuilder> getNodeFieldBuilder()
       Node for a particular client.
       
      .envoy.config.core.v3.Node node = 1;
    • ensureXdsConfigIsMutable

      private void ensureXdsConfigIsMutable()
    • getXdsConfigList

      @Deprecated public List<PerXdsConfig> getXdsConfigList()
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getXdsConfigList in interface ClientConfigOrBuilder
    • getXdsConfigCount

      @Deprecated public int getXdsConfigCount()
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getXdsConfigCount in interface ClientConfigOrBuilder
    • getXdsConfig

      @Deprecated public PerXdsConfig getXdsConfig(int index)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getXdsConfig in interface ClientConfigOrBuilder
    • setXdsConfig

      @Deprecated public ClientConfig.Builder setXdsConfig(int index, PerXdsConfig value)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • setXdsConfig

      @Deprecated public ClientConfig.Builder setXdsConfig(int index, PerXdsConfig.Builder builderForValue)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • addXdsConfig

      @Deprecated public ClientConfig.Builder addXdsConfig(PerXdsConfig value)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • addXdsConfig

      @Deprecated public ClientConfig.Builder addXdsConfig(int index, PerXdsConfig value)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • addXdsConfig

      @Deprecated public ClientConfig.Builder addXdsConfig(PerXdsConfig.Builder builderForValue)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • addXdsConfig

      @Deprecated public ClientConfig.Builder addXdsConfig(int index, PerXdsConfig.Builder builderForValue)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • addAllXdsConfig

      @Deprecated public ClientConfig.Builder addAllXdsConfig(Iterable<? extends PerXdsConfig> values)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • clearXdsConfig

      @Deprecated public ClientConfig.Builder clearXdsConfig()
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • removeXdsConfig

      @Deprecated public ClientConfig.Builder removeXdsConfig(int index)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • getXdsConfigBuilder

      @Deprecated public PerXdsConfig.Builder getXdsConfigBuilder(int index)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • getXdsConfigOrBuilder

      @Deprecated public PerXdsConfigOrBuilder getXdsConfigOrBuilder(int index)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getXdsConfigOrBuilder in interface ClientConfigOrBuilder
    • getXdsConfigOrBuilderList

      @Deprecated public List<? extends PerXdsConfigOrBuilder> getXdsConfigOrBuilderList()
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getXdsConfigOrBuilderList in interface ClientConfigOrBuilder
    • addXdsConfigBuilder

      @Deprecated public PerXdsConfig.Builder addXdsConfigBuilder()
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • addXdsConfigBuilder

      @Deprecated public PerXdsConfig.Builder addXdsConfigBuilder(int index)
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • getXdsConfigBuilderList

      @Deprecated public List<PerXdsConfig.Builder> getXdsConfigBuilderList()
      Deprecated.
       This field is deprecated in favor of generic_xds_configs which is
       much simpler and uniform in structure.
       
      repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • getXdsConfigFieldBuilder

      private com.google.protobuf.RepeatedFieldBuilder<PerXdsConfig,PerXdsConfig.Builder,PerXdsConfigOrBuilder> getXdsConfigFieldBuilder()
    • ensureGenericXdsConfigsIsMutable

      private void ensureGenericXdsConfigsIsMutable()
    • getGenericXdsConfigsList

      public List<ClientConfig.GenericXdsConfig> getGenericXdsConfigsList()
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
      Specified by:
      getGenericXdsConfigsList in interface ClientConfigOrBuilder
    • getGenericXdsConfigsCount

      public int getGenericXdsConfigsCount()
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
      Specified by:
      getGenericXdsConfigsCount in interface ClientConfigOrBuilder
    • getGenericXdsConfigs

      public ClientConfig.GenericXdsConfig getGenericXdsConfigs(int index)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
      Specified by:
      getGenericXdsConfigs in interface ClientConfigOrBuilder
    • setGenericXdsConfigs

      public ClientConfig.Builder setGenericXdsConfigs(int index, ClientConfig.GenericXdsConfig value)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • setGenericXdsConfigs

      public ClientConfig.Builder setGenericXdsConfigs(int index, ClientConfig.GenericXdsConfig.Builder builderForValue)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • addGenericXdsConfigs

      public ClientConfig.Builder addGenericXdsConfigs(ClientConfig.GenericXdsConfig value)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • addGenericXdsConfigs

      public ClientConfig.Builder addGenericXdsConfigs(int index, ClientConfig.GenericXdsConfig value)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • addGenericXdsConfigs

      public ClientConfig.Builder addGenericXdsConfigs(ClientConfig.GenericXdsConfig.Builder builderForValue)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • addGenericXdsConfigs

      public ClientConfig.Builder addGenericXdsConfigs(int index, ClientConfig.GenericXdsConfig.Builder builderForValue)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • addAllGenericXdsConfigs

      public ClientConfig.Builder addAllGenericXdsConfigs(Iterable<? extends ClientConfig.GenericXdsConfig> values)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • clearGenericXdsConfigs

      public ClientConfig.Builder clearGenericXdsConfigs()
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • removeGenericXdsConfigs

      public ClientConfig.Builder removeGenericXdsConfigs(int index)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • getGenericXdsConfigsBuilder

      public ClientConfig.GenericXdsConfig.Builder getGenericXdsConfigsBuilder(int index)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • getGenericXdsConfigsOrBuilder

      public ClientConfig.GenericXdsConfigOrBuilder getGenericXdsConfigsOrBuilder(int index)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
      Specified by:
      getGenericXdsConfigsOrBuilder in interface ClientConfigOrBuilder
    • getGenericXdsConfigsOrBuilderList

      public List<? extends ClientConfig.GenericXdsConfigOrBuilder> getGenericXdsConfigsOrBuilderList()
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
      Specified by:
      getGenericXdsConfigsOrBuilderList in interface ClientConfigOrBuilder
    • addGenericXdsConfigsBuilder

      public ClientConfig.GenericXdsConfig.Builder addGenericXdsConfigsBuilder()
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • addGenericXdsConfigsBuilder

      public ClientConfig.GenericXdsConfig.Builder addGenericXdsConfigsBuilder(int index)
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • getGenericXdsConfigsBuilderList

      public List<ClientConfig.GenericXdsConfig.Builder> getGenericXdsConfigsBuilderList()
       Represents generic xDS config and the exact config structure depends on
       the type URL (like Cluster if it is CDS)
       
      repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;
    • getGenericXdsConfigsFieldBuilder

      private com.google.protobuf.RepeatedFieldBuilder<ClientConfig.GenericXdsConfig,ClientConfig.GenericXdsConfig.Builder,ClientConfig.GenericXdsConfigOrBuilder> getGenericXdsConfigsFieldBuilder()
    • getClientScope

      public String getClientScope()
       For xDS clients, the scope in which the data is used.
       For example, gRPC indicates the data plane target or that the data is
       associated with gRPC server(s).
       
      string client_scope = 4;
      Specified by:
      getClientScope in interface ClientConfigOrBuilder
      Returns:
      The clientScope.
    • getClientScopeBytes

      public com.google.protobuf.ByteString getClientScopeBytes()
       For xDS clients, the scope in which the data is used.
       For example, gRPC indicates the data plane target or that the data is
       associated with gRPC server(s).
       
      string client_scope = 4;
      Specified by:
      getClientScopeBytes in interface ClientConfigOrBuilder
      Returns:
      The bytes for clientScope.
    • setClientScope

      public ClientConfig.Builder setClientScope(String value)
       For xDS clients, the scope in which the data is used.
       For example, gRPC indicates the data plane target or that the data is
       associated with gRPC server(s).
       
      string client_scope = 4;
      Parameters:
      value - The clientScope to set.
      Returns:
      This builder for chaining.
    • clearClientScope

      public ClientConfig.Builder clearClientScope()
       For xDS clients, the scope in which the data is used.
       For example, gRPC indicates the data plane target or that the data is
       associated with gRPC server(s).
       
      string client_scope = 4;
      Returns:
      This builder for chaining.
    • setClientScopeBytes

      public ClientConfig.Builder setClientScopeBytes(com.google.protobuf.ByteString value)
       For xDS clients, the scope in which the data is used.
       For example, gRPC indicates the data plane target or that the data is
       associated with gRPC server(s).
       
      string client_scope = 4;
      Parameters:
      value - The bytes for clientScope to set.
      Returns:
      This builder for chaining.