// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package type.property.valuetypes;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ServiceClientBuilder;
import com.azure.core.client.traits.ConfigurationTrait;
import com.azure.core.client.traits.EndpointTrait;
import com.azure.core.client.traits.HttpTrait;
import com.azure.core.http.HttpClient;
import com.azure.core.http.HttpHeaders;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
import com.azure.core.http.policy.AddHeadersPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
import com.azure.core.http.policy.RetryOptions;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
import com.azure.core.util.ClientOptions;
import com.azure.core.util.Configuration;
import com.azure.core.util.CoreUtils;
import com.azure.core.util.builder.ClientBuilderUtil;
import com.azure.core.util.logging.ClientLogger;
import com.azure.core.util.serializer.JacksonAdapter;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import type.property.valuetypes.implementation.ValueTypesClientImpl;

/**
 * A builder for creating a new instance of the ValueTypesClient type.
 */
@ServiceClientBuilder(
    serviceClients = {
        BooleanOperationClient.class,
        StringOperationClient.class,
        BytesClient.class,
        IntClient.class,
        FloatOperationClient.class,
        DecimalClient.class,
        Decimal128Client.class,
        DatetimeOperationClient.class,
        DurationOperationClient.class,
        EnumClient.class,
        ExtensibleEnumClient.class,
        ModelClient.class,
        CollectionsStringClient.class,
        CollectionsIntClient.class,
        CollectionsModelClient.class,
        DictionaryStringClient.class,
        NeverClient.class,
        UnknownStringClient.class,
        UnknownIntClient.class,
        UnknownDictClient.class,
        UnknownArrayClient.class,
        StringLiteralClient.class,
        IntLiteralClient.class,
        FloatLiteralClient.class,
        BooleanLiteralClient.class,
        UnionStringLiteralClient.class,
        UnionIntLiteralClient.class,
        UnionFloatLiteralClient.class,
        UnionEnumValueClient.class,
        BooleanOperationAsyncClient.class,
        StringOperationAsyncClient.class,
        BytesAsyncClient.class,
        IntAsyncClient.class,
        FloatOperationAsyncClient.class,
        DecimalAsyncClient.class,
        Decimal128AsyncClient.class,
        DatetimeOperationAsyncClient.class,
        DurationOperationAsyncClient.class,
        EnumAsyncClient.class,
        ExtensibleEnumAsyncClient.class,
        ModelAsyncClient.class,
        CollectionsStringAsyncClient.class,
        CollectionsIntAsyncClient.class,
        CollectionsModelAsyncClient.class,
        DictionaryStringAsyncClient.class,
        NeverAsyncClient.class,
        UnknownStringAsyncClient.class,
        UnknownIntAsyncClient.class,
        UnknownDictAsyncClient.class,
        UnknownArrayAsyncClient.class,
        StringLiteralAsyncClient.class,
        IntLiteralAsyncClient.class,
        FloatLiteralAsyncClient.class,
        BooleanLiteralAsyncClient.class,
        UnionStringLiteralAsyncClient.class,
        UnionIntLiteralAsyncClient.class,
        UnionFloatLiteralAsyncClient.class,
        UnionEnumValueAsyncClient.class })
public final class ValueTypesClientBuilder implements HttpTrait<ValueTypesClientBuilder>,
    ConfigurationTrait<ValueTypesClientBuilder>, EndpointTrait<ValueTypesClientBuilder> {
    @Generated
    private static final String SDK_NAME = "name";

    @Generated
    private static final String SDK_VERSION = "version";

    @Generated
    private static final Map<String, String> PROPERTIES
        = CoreUtils.getProperties("type-property-valuetypes.properties");

    @Generated
    private final List<HttpPipelinePolicy> pipelinePolicies;

    /**
     * Create an instance of the ValueTypesClientBuilder.
     */
    @Generated
    public ValueTypesClientBuilder() {
        this.pipelinePolicies = new ArrayList<>();
    }

    /*
     * The HTTP client used to send the request.
     */
    @Generated
    private HttpClient httpClient;

    /**
     * {@inheritDoc}.
     */
    @Generated
    @Override
    public ValueTypesClientBuilder httpClient(HttpClient httpClient) {
        this.httpClient = httpClient;
        return this;
    }

    /*
     * The HTTP pipeline to send requests through.
     */
    @Generated
    private HttpPipeline pipeline;

    /**
     * {@inheritDoc}.
     */
    @Generated
    @Override
    public ValueTypesClientBuilder pipeline(HttpPipeline pipeline) {
        if (this.pipeline != null && pipeline == null) {
            LOGGER.atInfo().log("HttpPipeline is being set to 'null' when it was previously configured.");
        }
        this.pipeline = pipeline;
        return this;
    }

    /*
     * The logging configuration for HTTP requests and responses.
     */
    @Generated
    private HttpLogOptions httpLogOptions;

    /**
     * {@inheritDoc}.
     */
    @Generated
    @Override
    public ValueTypesClientBuilder httpLogOptions(HttpLogOptions httpLogOptions) {
        this.httpLogOptions = httpLogOptions;
        return this;
    }

    /*
     * The client options such as application ID and custom headers to set on a request.
     */
    @Generated
    private ClientOptions clientOptions;

    /**
     * {@inheritDoc}.
     */
    @Generated
    @Override
    public ValueTypesClientBuilder clientOptions(ClientOptions clientOptions) {
        this.clientOptions = clientOptions;
        return this;
    }

    /*
     * The retry options to configure retry policy for failed requests.
     */
    @Generated
    private RetryOptions retryOptions;

    /**
     * {@inheritDoc}.
     */
    @Generated
    @Override
    public ValueTypesClientBuilder retryOptions(RetryOptions retryOptions) {
        this.retryOptions = retryOptions;
        return this;
    }

    /**
     * {@inheritDoc}.
     */
    @Generated
    @Override
    public ValueTypesClientBuilder addPolicy(HttpPipelinePolicy customPolicy) {
        Objects.requireNonNull(customPolicy, "'customPolicy' cannot be null.");
        pipelinePolicies.add(customPolicy);
        return this;
    }

    /*
     * The configuration store that is used during construction of the service client.
     */
    @Generated
    private Configuration configuration;

    /**
     * {@inheritDoc}.
     */
    @Generated
    @Override
    public ValueTypesClientBuilder configuration(Configuration configuration) {
        this.configuration = configuration;
        return this;
    }

    /*
     * The service endpoint
     */
    @Generated
    private String endpoint;

    /**
     * {@inheritDoc}.
     */
    @Generated
    @Override
    public ValueTypesClientBuilder endpoint(String endpoint) {
        this.endpoint = endpoint;
        return this;
    }

    /*
     * The retry policy that will attempt to retry failed requests, if applicable.
     */
    @Generated
    private RetryPolicy retryPolicy;

    /**
     * Sets The retry policy that will attempt to retry failed requests, if applicable.
     * 
     * @param retryPolicy the retryPolicy value.
     * @return the ValueTypesClientBuilder.
     */
    @Generated
    public ValueTypesClientBuilder retryPolicy(RetryPolicy retryPolicy) {
        this.retryPolicy = retryPolicy;
        return this;
    }

    /**
     * Builds an instance of ValueTypesClientImpl with the provided parameters.
     * 
     * @return an instance of ValueTypesClientImpl.
     */
    @Generated
    private ValueTypesClientImpl buildInnerClient() {
        this.validateClient();
        HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline();
        String localEndpoint = (endpoint != null) ? endpoint : "http://localhost:3000";
        ValueTypesClientImpl client
            = new ValueTypesClientImpl(localPipeline, JacksonAdapter.createDefaultSerializerAdapter(), localEndpoint);
        return client;
    }

    @Generated
    private void validateClient() {
        // This method is invoked from 'buildInnerClient'/'buildClient' method.
        // Developer can customize this method, to validate that the necessary conditions are met for the new client.
    }

    @Generated
    private HttpPipeline createHttpPipeline() {
        Configuration buildConfiguration
            = (configuration == null) ? Configuration.getGlobalConfiguration() : configuration;
        HttpLogOptions localHttpLogOptions = this.httpLogOptions == null ? new HttpLogOptions() : this.httpLogOptions;
        ClientOptions localClientOptions = this.clientOptions == null ? new ClientOptions() : this.clientOptions;
        List<HttpPipelinePolicy> policies = new ArrayList<>();
        String clientName = PROPERTIES.getOrDefault(SDK_NAME, "UnknownName");
        String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion");
        String applicationId = CoreUtils.getApplicationId(localClientOptions, localHttpLogOptions);
        policies.add(new UserAgentPolicy(applicationId, clientName, clientVersion, buildConfiguration));
        policies.add(new RequestIdPolicy());
        policies.add(new AddHeadersFromContextPolicy());
        HttpHeaders headers = CoreUtils.createHttpHeadersFromClientOptions(localClientOptions);
        if (headers != null) {
            policies.add(new AddHeadersPolicy(headers));
        }
        this.pipelinePolicies.stream()
            .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
            .forEach(p -> policies.add(p));
        HttpPolicyProviders.addBeforeRetryPolicies(policies);
        policies.add(ClientBuilderUtil.validateAndGetRetryPolicy(retryPolicy, retryOptions, new RetryPolicy()));
        policies.add(new AddDatePolicy());
        this.pipelinePolicies.stream()
            .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
            .forEach(p -> policies.add(p));
        HttpPolicyProviders.addAfterRetryPolicies(policies);
        policies.add(new HttpLoggingPolicy(localHttpLogOptions));
        HttpPipeline httpPipeline = new HttpPipelineBuilder().policies(policies.toArray(new HttpPipelinePolicy[0]))
            .httpClient(httpClient)
            .clientOptions(localClientOptions)
            .build();
        return httpPipeline;
    }

    /**
     * Builds an instance of BooleanOperationAsyncClient class.
     * 
     * @return an instance of BooleanOperationAsyncClient.
     */
    @Generated
    public BooleanOperationAsyncClient buildBooleanOperationAsyncClient() {
        return new BooleanOperationAsyncClient(buildInnerClient().getBooleanOperations());
    }

    /**
     * Builds an instance of StringOperationAsyncClient class.
     * 
     * @return an instance of StringOperationAsyncClient.
     */
    @Generated
    public StringOperationAsyncClient buildStringOperationAsyncClient() {
        return new StringOperationAsyncClient(buildInnerClient().getStringOperations());
    }

    /**
     * Builds an instance of BytesAsyncClient class.
     * 
     * @return an instance of BytesAsyncClient.
     */
    @Generated
    public BytesAsyncClient buildBytesAsyncClient() {
        return new BytesAsyncClient(buildInnerClient().getBytes());
    }

    /**
     * Builds an instance of IntAsyncClient class.
     * 
     * @return an instance of IntAsyncClient.
     */
    @Generated
    public IntAsyncClient buildIntAsyncClient() {
        return new IntAsyncClient(buildInnerClient().getInts());
    }

    /**
     * Builds an instance of FloatOperationAsyncClient class.
     * 
     * @return an instance of FloatOperationAsyncClient.
     */
    @Generated
    public FloatOperationAsyncClient buildFloatOperationAsyncClient() {
        return new FloatOperationAsyncClient(buildInnerClient().getFloatOperations());
    }

    /**
     * Builds an instance of DecimalAsyncClient class.
     * 
     * @return an instance of DecimalAsyncClient.
     */
    @Generated
    public DecimalAsyncClient buildDecimalAsyncClient() {
        return new DecimalAsyncClient(buildInnerClient().getDecimals());
    }

    /**
     * Builds an instance of Decimal128AsyncClient class.
     * 
     * @return an instance of Decimal128AsyncClient.
     */
    @Generated
    public Decimal128AsyncClient buildDecimal128AsyncClient() {
        return new Decimal128AsyncClient(buildInnerClient().getDecimal128s());
    }

    /**
     * Builds an instance of DatetimeOperationAsyncClient class.
     * 
     * @return an instance of DatetimeOperationAsyncClient.
     */
    @Generated
    public DatetimeOperationAsyncClient buildDatetimeOperationAsyncClient() {
        return new DatetimeOperationAsyncClient(buildInnerClient().getDatetimeOperations());
    }

    /**
     * Builds an instance of DurationOperationAsyncClient class.
     * 
     * @return an instance of DurationOperationAsyncClient.
     */
    @Generated
    public DurationOperationAsyncClient buildDurationOperationAsyncClient() {
        return new DurationOperationAsyncClient(buildInnerClient().getDurationOperations());
    }

    /**
     * Builds an instance of EnumAsyncClient class.
     * 
     * @return an instance of EnumAsyncClient.
     */
    @Generated
    public EnumAsyncClient buildEnumAsyncClient() {
        return new EnumAsyncClient(buildInnerClient().getEnums());
    }

    /**
     * Builds an instance of ExtensibleEnumAsyncClient class.
     * 
     * @return an instance of ExtensibleEnumAsyncClient.
     */
    @Generated
    public ExtensibleEnumAsyncClient buildExtensibleEnumAsyncClient() {
        return new ExtensibleEnumAsyncClient(buildInnerClient().getExtensibleEnums());
    }

    /**
     * Builds an instance of ModelAsyncClient class.
     * 
     * @return an instance of ModelAsyncClient.
     */
    @Generated
    public ModelAsyncClient buildModelAsyncClient() {
        return new ModelAsyncClient(buildInnerClient().getModels());
    }

    /**
     * Builds an instance of CollectionsStringAsyncClient class.
     * 
     * @return an instance of CollectionsStringAsyncClient.
     */
    @Generated
    public CollectionsStringAsyncClient buildCollectionsStringAsyncClient() {
        return new CollectionsStringAsyncClient(buildInnerClient().getCollectionsStrings());
    }

    /**
     * Builds an instance of CollectionsIntAsyncClient class.
     * 
     * @return an instance of CollectionsIntAsyncClient.
     */
    @Generated
    public CollectionsIntAsyncClient buildCollectionsIntAsyncClient() {
        return new CollectionsIntAsyncClient(buildInnerClient().getCollectionsInts());
    }

    /**
     * Builds an instance of CollectionsModelAsyncClient class.
     * 
     * @return an instance of CollectionsModelAsyncClient.
     */
    @Generated
    public CollectionsModelAsyncClient buildCollectionsModelAsyncClient() {
        return new CollectionsModelAsyncClient(buildInnerClient().getCollectionsModels());
    }

    /**
     * Builds an instance of DictionaryStringAsyncClient class.
     * 
     * @return an instance of DictionaryStringAsyncClient.
     */
    @Generated
    public DictionaryStringAsyncClient buildDictionaryStringAsyncClient() {
        return new DictionaryStringAsyncClient(buildInnerClient().getDictionaryStrings());
    }

    /**
     * Builds an instance of NeverAsyncClient class.
     * 
     * @return an instance of NeverAsyncClient.
     */
    @Generated
    public NeverAsyncClient buildNeverAsyncClient() {
        return new NeverAsyncClient(buildInnerClient().getNevers());
    }

    /**
     * Builds an instance of UnknownStringAsyncClient class.
     * 
     * @return an instance of UnknownStringAsyncClient.
     */
    @Generated
    public UnknownStringAsyncClient buildUnknownStringAsyncClient() {
        return new UnknownStringAsyncClient(buildInnerClient().getUnknownStrings());
    }

    /**
     * Builds an instance of UnknownIntAsyncClient class.
     * 
     * @return an instance of UnknownIntAsyncClient.
     */
    @Generated
    public UnknownIntAsyncClient buildUnknownIntAsyncClient() {
        return new UnknownIntAsyncClient(buildInnerClient().getUnknownInts());
    }

    /**
     * Builds an instance of UnknownDictAsyncClient class.
     * 
     * @return an instance of UnknownDictAsyncClient.
     */
    @Generated
    public UnknownDictAsyncClient buildUnknownDictAsyncClient() {
        return new UnknownDictAsyncClient(buildInnerClient().getUnknownDicts());
    }

    /**
     * Builds an instance of UnknownArrayAsyncClient class.
     * 
     * @return an instance of UnknownArrayAsyncClient.
     */
    @Generated
    public UnknownArrayAsyncClient buildUnknownArrayAsyncClient() {
        return new UnknownArrayAsyncClient(buildInnerClient().getUnknownArrays());
    }

    /**
     * Builds an instance of StringLiteralAsyncClient class.
     * 
     * @return an instance of StringLiteralAsyncClient.
     */
    @Generated
    public StringLiteralAsyncClient buildStringLiteralAsyncClient() {
        return new StringLiteralAsyncClient(buildInnerClient().getStringLiterals());
    }

    /**
     * Builds an instance of IntLiteralAsyncClient class.
     * 
     * @return an instance of IntLiteralAsyncClient.
     */
    @Generated
    public IntLiteralAsyncClient buildIntLiteralAsyncClient() {
        return new IntLiteralAsyncClient(buildInnerClient().getIntLiterals());
    }

    /**
     * Builds an instance of FloatLiteralAsyncClient class.
     * 
     * @return an instance of FloatLiteralAsyncClient.
     */
    @Generated
    public FloatLiteralAsyncClient buildFloatLiteralAsyncClient() {
        return new FloatLiteralAsyncClient(buildInnerClient().getFloatLiterals());
    }

    /**
     * Builds an instance of BooleanLiteralAsyncClient class.
     * 
     * @return an instance of BooleanLiteralAsyncClient.
     */
    @Generated
    public BooleanLiteralAsyncClient buildBooleanLiteralAsyncClient() {
        return new BooleanLiteralAsyncClient(buildInnerClient().getBooleanLiterals());
    }

    /**
     * Builds an instance of UnionStringLiteralAsyncClient class.
     * 
     * @return an instance of UnionStringLiteralAsyncClient.
     */
    @Generated
    public UnionStringLiteralAsyncClient buildUnionStringLiteralAsyncClient() {
        return new UnionStringLiteralAsyncClient(buildInnerClient().getUnionStringLiterals());
    }

    /**
     * Builds an instance of UnionIntLiteralAsyncClient class.
     * 
     * @return an instance of UnionIntLiteralAsyncClient.
     */
    @Generated
    public UnionIntLiteralAsyncClient buildUnionIntLiteralAsyncClient() {
        return new UnionIntLiteralAsyncClient(buildInnerClient().getUnionIntLiterals());
    }

    /**
     * Builds an instance of UnionFloatLiteralAsyncClient class.
     * 
     * @return an instance of UnionFloatLiteralAsyncClient.
     */
    @Generated
    public UnionFloatLiteralAsyncClient buildUnionFloatLiteralAsyncClient() {
        return new UnionFloatLiteralAsyncClient(buildInnerClient().getUnionFloatLiterals());
    }

    /**
     * Builds an instance of UnionEnumValueAsyncClient class.
     * 
     * @return an instance of UnionEnumValueAsyncClient.
     */
    @Generated
    public UnionEnumValueAsyncClient buildUnionEnumValueAsyncClient() {
        return new UnionEnumValueAsyncClient(buildInnerClient().getUnionEnumValues());
    }

    /**
     * Builds an instance of BooleanOperationClient class.
     * 
     * @return an instance of BooleanOperationClient.
     */
    @Generated
    public BooleanOperationClient buildBooleanOperationClient() {
        return new BooleanOperationClient(buildInnerClient().getBooleanOperations());
    }

    /**
     * Builds an instance of StringOperationClient class.
     * 
     * @return an instance of StringOperationClient.
     */
    @Generated
    public StringOperationClient buildStringOperationClient() {
        return new StringOperationClient(buildInnerClient().getStringOperations());
    }

    /**
     * Builds an instance of BytesClient class.
     * 
     * @return an instance of BytesClient.
     */
    @Generated
    public BytesClient buildBytesClient() {
        return new BytesClient(buildInnerClient().getBytes());
    }

    /**
     * Builds an instance of IntClient class.
     * 
     * @return an instance of IntClient.
     */
    @Generated
    public IntClient buildIntClient() {
        return new IntClient(buildInnerClient().getInts());
    }

    /**
     * Builds an instance of FloatOperationClient class.
     * 
     * @return an instance of FloatOperationClient.
     */
    @Generated
    public FloatOperationClient buildFloatOperationClient() {
        return new FloatOperationClient(buildInnerClient().getFloatOperations());
    }

    /**
     * Builds an instance of DecimalClient class.
     * 
     * @return an instance of DecimalClient.
     */
    @Generated
    public DecimalClient buildDecimalClient() {
        return new DecimalClient(buildInnerClient().getDecimals());
    }

    /**
     * Builds an instance of Decimal128Client class.
     * 
     * @return an instance of Decimal128Client.
     */
    @Generated
    public Decimal128Client buildDecimal128Client() {
        return new Decimal128Client(buildInnerClient().getDecimal128s());
    }

    /**
     * Builds an instance of DatetimeOperationClient class.
     * 
     * @return an instance of DatetimeOperationClient.
     */
    @Generated
    public DatetimeOperationClient buildDatetimeOperationClient() {
        return new DatetimeOperationClient(buildInnerClient().getDatetimeOperations());
    }

    /**
     * Builds an instance of DurationOperationClient class.
     * 
     * @return an instance of DurationOperationClient.
     */
    @Generated
    public DurationOperationClient buildDurationOperationClient() {
        return new DurationOperationClient(buildInnerClient().getDurationOperations());
    }

    /**
     * Builds an instance of EnumClient class.
     * 
     * @return an instance of EnumClient.
     */
    @Generated
    public EnumClient buildEnumClient() {
        return new EnumClient(buildInnerClient().getEnums());
    }

    /**
     * Builds an instance of ExtensibleEnumClient class.
     * 
     * @return an instance of ExtensibleEnumClient.
     */
    @Generated
    public ExtensibleEnumClient buildExtensibleEnumClient() {
        return new ExtensibleEnumClient(buildInnerClient().getExtensibleEnums());
    }

    /**
     * Builds an instance of ModelClient class.
     * 
     * @return an instance of ModelClient.
     */
    @Generated
    public ModelClient buildModelClient() {
        return new ModelClient(buildInnerClient().getModels());
    }

    /**
     * Builds an instance of CollectionsStringClient class.
     * 
     * @return an instance of CollectionsStringClient.
     */
    @Generated
    public CollectionsStringClient buildCollectionsStringClient() {
        return new CollectionsStringClient(buildInnerClient().getCollectionsStrings());
    }

    /**
     * Builds an instance of CollectionsIntClient class.
     * 
     * @return an instance of CollectionsIntClient.
     */
    @Generated
    public CollectionsIntClient buildCollectionsIntClient() {
        return new CollectionsIntClient(buildInnerClient().getCollectionsInts());
    }

    /**
     * Builds an instance of CollectionsModelClient class.
     * 
     * @return an instance of CollectionsModelClient.
     */
    @Generated
    public CollectionsModelClient buildCollectionsModelClient() {
        return new CollectionsModelClient(buildInnerClient().getCollectionsModels());
    }

    /**
     * Builds an instance of DictionaryStringClient class.
     * 
     * @return an instance of DictionaryStringClient.
     */
    @Generated
    public DictionaryStringClient buildDictionaryStringClient() {
        return new DictionaryStringClient(buildInnerClient().getDictionaryStrings());
    }

    /**
     * Builds an instance of NeverClient class.
     * 
     * @return an instance of NeverClient.
     */
    @Generated
    public NeverClient buildNeverClient() {
        return new NeverClient(buildInnerClient().getNevers());
    }

    /**
     * Builds an instance of UnknownStringClient class.
     * 
     * @return an instance of UnknownStringClient.
     */
    @Generated
    public UnknownStringClient buildUnknownStringClient() {
        return new UnknownStringClient(buildInnerClient().getUnknownStrings());
    }

    /**
     * Builds an instance of UnknownIntClient class.
     * 
     * @return an instance of UnknownIntClient.
     */
    @Generated
    public UnknownIntClient buildUnknownIntClient() {
        return new UnknownIntClient(buildInnerClient().getUnknownInts());
    }

    /**
     * Builds an instance of UnknownDictClient class.
     * 
     * @return an instance of UnknownDictClient.
     */
    @Generated
    public UnknownDictClient buildUnknownDictClient() {
        return new UnknownDictClient(buildInnerClient().getUnknownDicts());
    }

    /**
     * Builds an instance of UnknownArrayClient class.
     * 
     * @return an instance of UnknownArrayClient.
     */
    @Generated
    public UnknownArrayClient buildUnknownArrayClient() {
        return new UnknownArrayClient(buildInnerClient().getUnknownArrays());
    }

    /**
     * Builds an instance of StringLiteralClient class.
     * 
     * @return an instance of StringLiteralClient.
     */
    @Generated
    public StringLiteralClient buildStringLiteralClient() {
        return new StringLiteralClient(buildInnerClient().getStringLiterals());
    }

    /**
     * Builds an instance of IntLiteralClient class.
     * 
     * @return an instance of IntLiteralClient.
     */
    @Generated
    public IntLiteralClient buildIntLiteralClient() {
        return new IntLiteralClient(buildInnerClient().getIntLiterals());
    }

    /**
     * Builds an instance of FloatLiteralClient class.
     * 
     * @return an instance of FloatLiteralClient.
     */
    @Generated
    public FloatLiteralClient buildFloatLiteralClient() {
        return new FloatLiteralClient(buildInnerClient().getFloatLiterals());
    }

    /**
     * Builds an instance of BooleanLiteralClient class.
     * 
     * @return an instance of BooleanLiteralClient.
     */
    @Generated
    public BooleanLiteralClient buildBooleanLiteralClient() {
        return new BooleanLiteralClient(buildInnerClient().getBooleanLiterals());
    }

    /**
     * Builds an instance of UnionStringLiteralClient class.
     * 
     * @return an instance of UnionStringLiteralClient.
     */
    @Generated
    public UnionStringLiteralClient buildUnionStringLiteralClient() {
        return new UnionStringLiteralClient(buildInnerClient().getUnionStringLiterals());
    }

    /**
     * Builds an instance of UnionIntLiteralClient class.
     * 
     * @return an instance of UnionIntLiteralClient.
     */
    @Generated
    public UnionIntLiteralClient buildUnionIntLiteralClient() {
        return new UnionIntLiteralClient(buildInnerClient().getUnionIntLiterals());
    }

    /**
     * Builds an instance of UnionFloatLiteralClient class.
     * 
     * @return an instance of UnionFloatLiteralClient.
     */
    @Generated
    public UnionFloatLiteralClient buildUnionFloatLiteralClient() {
        return new UnionFloatLiteralClient(buildInnerClient().getUnionFloatLiterals());
    }

    /**
     * Builds an instance of UnionEnumValueClient class.
     * 
     * @return an instance of UnionEnumValueClient.
     */
    @Generated
    public UnionEnumValueClient buildUnionEnumValueClient() {
        return new UnionEnumValueClient(buildInnerClient().getUnionEnumValues());
    }

    private static final ClientLogger LOGGER = new ClientLogger(ValueTypesClientBuilder.class);
}
