Class Cluster.EdsClusterConfig.Builder

    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • 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<Cluster.EdsClusterConfig.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • 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<Cluster.EdsClusterConfig.Builder>
      • getDefaultInstanceForType

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

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

        public Cluster.EdsClusterConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public Cluster.EdsClusterConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.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<Cluster.EdsClusterConfig.Builder>
        Throws:
        java.io.IOException
      • hasEdsConfig

        public boolean hasEdsConfig()
         Configuration for the source of EDS updates for this Cluster.
         
        .envoy.config.core.v3.ConfigSource eds_config = 1;
        Specified by:
        hasEdsConfig in interface Cluster.EdsClusterConfigOrBuilder
        Returns:
        Whether the edsConfig field is set.
      • clearEdsConfig

        public Cluster.EdsClusterConfig.Builder clearEdsConfig()
         Configuration for the source of EDS updates for this Cluster.
         
        .envoy.config.core.v3.ConfigSource eds_config = 1;
      • getEdsConfigBuilder

        public ConfigSource.Builder getEdsConfigBuilder()
         Configuration for the source of EDS updates for this Cluster.
         
        .envoy.config.core.v3.ConfigSource eds_config = 1;
      • getEdsConfigFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<ConfigSource,​ConfigSource.Builder,​ConfigSourceOrBuilder> getEdsConfigFieldBuilder()
         Configuration for the source of EDS updates for this Cluster.
         
        .envoy.config.core.v3.ConfigSource eds_config = 1;
      • getServiceName

        public java.lang.String getServiceName()
         Optional alternative to cluster name to present to EDS. This does not
         have the same restrictions as cluster name, i.e. it may be arbitrary
         length. This may be a xdstp:// URL.
         
        string service_name = 2;
        Specified by:
        getServiceName in interface Cluster.EdsClusterConfigOrBuilder
        Returns:
        The serviceName.
      • getServiceNameBytes

        public com.google.protobuf.ByteString getServiceNameBytes()
         Optional alternative to cluster name to present to EDS. This does not
         have the same restrictions as cluster name, i.e. it may be arbitrary
         length. This may be a xdstp:// URL.
         
        string service_name = 2;
        Specified by:
        getServiceNameBytes in interface Cluster.EdsClusterConfigOrBuilder
        Returns:
        The bytes for serviceName.
      • setServiceName

        public Cluster.EdsClusterConfig.Builder setServiceName​(java.lang.String value)
         Optional alternative to cluster name to present to EDS. This does not
         have the same restrictions as cluster name, i.e. it may be arbitrary
         length. This may be a xdstp:// URL.
         
        string service_name = 2;
        Parameters:
        value - The serviceName to set.
        Returns:
        This builder for chaining.
      • clearServiceName

        public Cluster.EdsClusterConfig.Builder clearServiceName()
         Optional alternative to cluster name to present to EDS. This does not
         have the same restrictions as cluster name, i.e. it may be arbitrary
         length. This may be a xdstp:// URL.
         
        string service_name = 2;
        Returns:
        This builder for chaining.
      • setServiceNameBytes

        public Cluster.EdsClusterConfig.Builder setServiceNameBytes​(com.google.protobuf.ByteString value)
         Optional alternative to cluster name to present to EDS. This does not
         have the same restrictions as cluster name, i.e. it may be arbitrary
         length. This may be a xdstp:// URL.
         
        string service_name = 2;
        Parameters:
        value - The bytes for serviceName to set.
        Returns:
        This builder for chaining.