// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.gcp.apigateway.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ApiConfigGrpcServiceFileDescriptorSet {
    /**
     * @return Base64 encoded content of the file.
     * 
     */
    private String contents;
    /**
     * @return The file path (full or relative path). This is typically the path of the file when it is uploaded.
     * 
     */
    private String path;

    private ApiConfigGrpcServiceFileDescriptorSet() {}
    /**
     * @return Base64 encoded content of the file.
     * 
     */
    public String contents() {
        return this.contents;
    }
    /**
     * @return The file path (full or relative path). This is typically the path of the file when it is uploaded.
     * 
     */
    public String path() {
        return this.path;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ApiConfigGrpcServiceFileDescriptorSet defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String contents;
        private String path;
        public Builder() {}
        public Builder(ApiConfigGrpcServiceFileDescriptorSet defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.contents = defaults.contents;
    	      this.path = defaults.path;
        }

        @CustomType.Setter
        public Builder contents(String contents) {
            this.contents = Objects.requireNonNull(contents);
            return this;
        }
        @CustomType.Setter
        public Builder path(String path) {
            this.path = Objects.requireNonNull(path);
            return this;
        }
        public ApiConfigGrpcServiceFileDescriptorSet build() {
            final var o = new ApiConfigGrpcServiceFileDescriptorSet();
            o.contents = contents;
            o.path = path;
            return o;
        }
    }
}
