Class TargetSslProxy.Builder

  • All Implemented Interfaces:
    TargetSslProxyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    TargetSslProxy

    public static final class TargetSslProxy.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
    implements TargetSslProxyOrBuilder
     Represents a Target SSL Proxy resource. A target SSL proxy is a component of a SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies.
     
    Protobuf type google.cloud.compute.v1.TargetSslProxy
    • Method Detail

      • 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<TargetSslProxy.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

        public TargetSslProxy.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<TargetSslProxy.Builder>
      • isInitialized

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

        public TargetSslProxy.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<TargetSslProxy.Builder>
        Throws:
        IOException
      • hasCertificateMap

        public boolean hasCertificateMap()
         URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.
         
        optional string certificate_map = 156463796;
        Specified by:
        hasCertificateMap in interface TargetSslProxyOrBuilder
        Returns:
        Whether the certificateMap field is set.
      • getCertificateMap

        public String getCertificateMap()
         URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.
         
        optional string certificate_map = 156463796;
        Specified by:
        getCertificateMap in interface TargetSslProxyOrBuilder
        Returns:
        The certificateMap.
      • getCertificateMapBytes

        public com.google.protobuf.ByteString getCertificateMapBytes()
         URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.
         
        optional string certificate_map = 156463796;
        Specified by:
        getCertificateMapBytes in interface TargetSslProxyOrBuilder
        Returns:
        The bytes for certificateMap.
      • setCertificateMap

        public TargetSslProxy.Builder setCertificateMap​(String value)
         URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.
         
        optional string certificate_map = 156463796;
        Parameters:
        value - The certificateMap to set.
        Returns:
        This builder for chaining.
      • clearCertificateMap

        public TargetSslProxy.Builder clearCertificateMap()
         URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.
         
        optional string certificate_map = 156463796;
        Returns:
        This builder for chaining.
      • setCertificateMapBytes

        public TargetSslProxy.Builder setCertificateMapBytes​(com.google.protobuf.ByteString value)
         URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.
         
        optional string certificate_map = 156463796;
        Parameters:
        value - The bytes for certificateMap to set.
        Returns:
        This builder for chaining.
      • hasCreationTimestamp

        public boolean hasCreationTimestamp()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Specified by:
        hasCreationTimestamp in interface TargetSslProxyOrBuilder
        Returns:
        Whether the creationTimestamp field is set.
      • getCreationTimestamp

        public String getCreationTimestamp()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Specified by:
        getCreationTimestamp in interface TargetSslProxyOrBuilder
        Returns:
        The creationTimestamp.
      • getCreationTimestampBytes

        public com.google.protobuf.ByteString getCreationTimestampBytes()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Specified by:
        getCreationTimestampBytes in interface TargetSslProxyOrBuilder
        Returns:
        The bytes for creationTimestamp.
      • setCreationTimestamp

        public TargetSslProxy.Builder setCreationTimestamp​(String value)
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Parameters:
        value - The creationTimestamp to set.
        Returns:
        This builder for chaining.
      • clearCreationTimestamp

        public TargetSslProxy.Builder clearCreationTimestamp()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Returns:
        This builder for chaining.
      • setCreationTimestampBytes

        public TargetSslProxy.Builder setCreationTimestampBytes​(com.google.protobuf.ByteString value)
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Parameters:
        value - The bytes for creationTimestamp to set.
        Returns:
        This builder for chaining.
      • hasDescription

        public boolean hasDescription()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Specified by:
        hasDescription in interface TargetSslProxyOrBuilder
        Returns:
        Whether the description field is set.
      • getDescription

        public String getDescription()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Specified by:
        getDescription in interface TargetSslProxyOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Specified by:
        getDescriptionBytes in interface TargetSslProxyOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public TargetSslProxy.Builder setDescription​(String value)
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public TargetSslProxy.Builder clearDescription()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public TargetSslProxy.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasId

        public boolean hasId()
         [Output Only] The unique identifier for the resource. This identifier is defined by the server.
         
        optional uint64 id = 3355;
        Specified by:
        hasId in interface TargetSslProxyOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public long getId()
         [Output Only] The unique identifier for the resource. This identifier is defined by the server.
         
        optional uint64 id = 3355;
        Specified by:
        getId in interface TargetSslProxyOrBuilder
        Returns:
        The id.
      • setId

        public TargetSslProxy.Builder setId​(long value)
         [Output Only] The unique identifier for the resource. This identifier is defined by the server.
         
        optional uint64 id = 3355;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public TargetSslProxy.Builder clearId()
         [Output Only] The unique identifier for the resource. This identifier is defined by the server.
         
        optional uint64 id = 3355;
        Returns:
        This builder for chaining.
      • hasKind

        public boolean hasKind()
         [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
         
        optional string kind = 3292052;
        Specified by:
        hasKind in interface TargetSslProxyOrBuilder
        Returns:
        Whether the kind field is set.
      • getKind

        public String getKind()
         [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
         
        optional string kind = 3292052;
        Specified by:
        getKind in interface TargetSslProxyOrBuilder
        Returns:
        The kind.
      • getKindBytes

        public com.google.protobuf.ByteString getKindBytes()
         [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
         
        optional string kind = 3292052;
        Specified by:
        getKindBytes in interface TargetSslProxyOrBuilder
        Returns:
        The bytes for kind.
      • setKind

        public TargetSslProxy.Builder setKind​(String value)
         [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
         
        optional string kind = 3292052;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public TargetSslProxy.Builder clearKind()
         [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
         
        optional string kind = 3292052;
        Returns:
        This builder for chaining.
      • setKindBytes

        public TargetSslProxy.Builder setKindBytes​(com.google.protobuf.ByteString value)
         [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
         
        optional string kind = 3292052;
        Parameters:
        value - The bytes for kind to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         
        optional string name = 3373707;
        Specified by:
        hasName in interface TargetSslProxyOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         
        optional string name = 3373707;
        Specified by:
        getName in interface TargetSslProxyOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         
        optional string name = 3373707;
        Specified by:
        getNameBytes in interface TargetSslProxyOrBuilder
        Returns:
        The bytes for name.
      • setName

        public TargetSslProxy.Builder setName​(String value)
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         
        optional string name = 3373707;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public TargetSslProxy.Builder clearName()
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         
        optional string name = 3373707;
        Returns:
        This builder for chaining.
      • setNameBytes

        public TargetSslProxy.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         
        optional string name = 3373707;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasProxyHeader

        public boolean hasProxyHeader()
         Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
         Check the ProxyHeader enum for the list of possible values.
         
        optional string proxy_header = 160374142;
        Specified by:
        hasProxyHeader in interface TargetSslProxyOrBuilder
        Returns:
        Whether the proxyHeader field is set.
      • getProxyHeader

        public String getProxyHeader()
         Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
         Check the ProxyHeader enum for the list of possible values.
         
        optional string proxy_header = 160374142;
        Specified by:
        getProxyHeader in interface TargetSslProxyOrBuilder
        Returns:
        The proxyHeader.
      • getProxyHeaderBytes

        public com.google.protobuf.ByteString getProxyHeaderBytes()
         Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
         Check the ProxyHeader enum for the list of possible values.
         
        optional string proxy_header = 160374142;
        Specified by:
        getProxyHeaderBytes in interface TargetSslProxyOrBuilder
        Returns:
        The bytes for proxyHeader.
      • setProxyHeader

        public TargetSslProxy.Builder setProxyHeader​(String value)
         Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
         Check the ProxyHeader enum for the list of possible values.
         
        optional string proxy_header = 160374142;
        Parameters:
        value - The proxyHeader to set.
        Returns:
        This builder for chaining.
      • clearProxyHeader

        public TargetSslProxy.Builder clearProxyHeader()
         Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
         Check the ProxyHeader enum for the list of possible values.
         
        optional string proxy_header = 160374142;
        Returns:
        This builder for chaining.
      • setProxyHeaderBytes

        public TargetSslProxy.Builder setProxyHeaderBytes​(com.google.protobuf.ByteString value)
         Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
         Check the ProxyHeader enum for the list of possible values.
         
        optional string proxy_header = 160374142;
        Parameters:
        value - The bytes for proxyHeader to set.
        Returns:
        This builder for chaining.
      • hasSelfLink

        public boolean hasSelfLink()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Specified by:
        hasSelfLink in interface TargetSslProxyOrBuilder
        Returns:
        Whether the selfLink field is set.
      • getSelfLink

        public String getSelfLink()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Specified by:
        getSelfLink in interface TargetSslProxyOrBuilder
        Returns:
        The selfLink.
      • getSelfLinkBytes

        public com.google.protobuf.ByteString getSelfLinkBytes()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Specified by:
        getSelfLinkBytes in interface TargetSslProxyOrBuilder
        Returns:
        The bytes for selfLink.
      • setSelfLink

        public TargetSslProxy.Builder setSelfLink​(String value)
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Parameters:
        value - The selfLink to set.
        Returns:
        This builder for chaining.
      • clearSelfLink

        public TargetSslProxy.Builder clearSelfLink()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Returns:
        This builder for chaining.
      • setSelfLinkBytes

        public TargetSslProxy.Builder setSelfLinkBytes​(com.google.protobuf.ByteString value)
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Parameters:
        value - The bytes for selfLink to set.
        Returns:
        This builder for chaining.
      • hasService

        public boolean hasService()
         URL to the BackendService resource.
         
        optional string service = 373540533;
        Specified by:
        hasService in interface TargetSslProxyOrBuilder
        Returns:
        Whether the service field is set.
      • getService

        public String getService()
         URL to the BackendService resource.
         
        optional string service = 373540533;
        Specified by:
        getService in interface TargetSslProxyOrBuilder
        Returns:
        The service.
      • getServiceBytes

        public com.google.protobuf.ByteString getServiceBytes()
         URL to the BackendService resource.
         
        optional string service = 373540533;
        Specified by:
        getServiceBytes in interface TargetSslProxyOrBuilder
        Returns:
        The bytes for service.
      • setService

        public TargetSslProxy.Builder setService​(String value)
         URL to the BackendService resource.
         
        optional string service = 373540533;
        Parameters:
        value - The service to set.
        Returns:
        This builder for chaining.
      • clearService

        public TargetSslProxy.Builder clearService()
         URL to the BackendService resource.
         
        optional string service = 373540533;
        Returns:
        This builder for chaining.
      • setServiceBytes

        public TargetSslProxy.Builder setServiceBytes​(com.google.protobuf.ByteString value)
         URL to the BackendService resource.
         
        optional string service = 373540533;
        Parameters:
        value - The bytes for service to set.
        Returns:
        This builder for chaining.
      • getSslCertificatesList

        public com.google.protobuf.ProtocolStringList getSslCertificatesList()
         URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
         
        repeated string ssl_certificates = 366006543;
        Specified by:
        getSslCertificatesList in interface TargetSslProxyOrBuilder
        Returns:
        A list containing the sslCertificates.
      • getSslCertificatesCount

        public int getSslCertificatesCount()
         URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
         
        repeated string ssl_certificates = 366006543;
        Specified by:
        getSslCertificatesCount in interface TargetSslProxyOrBuilder
        Returns:
        The count of sslCertificates.
      • getSslCertificates

        public String getSslCertificates​(int index)
         URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
         
        repeated string ssl_certificates = 366006543;
        Specified by:
        getSslCertificates in interface TargetSslProxyOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The sslCertificates at the given index.
      • getSslCertificatesBytes

        public com.google.protobuf.ByteString getSslCertificatesBytes​(int index)
         URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
         
        repeated string ssl_certificates = 366006543;
        Specified by:
        getSslCertificatesBytes in interface TargetSslProxyOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sslCertificates at the given index.
      • setSslCertificates

        public TargetSslProxy.Builder setSslCertificates​(int index,
                                                         String value)
         URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
         
        repeated string ssl_certificates = 366006543;
        Parameters:
        index - The index to set the value at.
        value - The sslCertificates to set.
        Returns:
        This builder for chaining.
      • addSslCertificates

        public TargetSslProxy.Builder addSslCertificates​(String value)
         URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
         
        repeated string ssl_certificates = 366006543;
        Parameters:
        value - The sslCertificates to add.
        Returns:
        This builder for chaining.
      • addAllSslCertificates

        public TargetSslProxy.Builder addAllSslCertificates​(Iterable<String> values)
         URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
         
        repeated string ssl_certificates = 366006543;
        Parameters:
        values - The sslCertificates to add.
        Returns:
        This builder for chaining.
      • clearSslCertificates

        public TargetSslProxy.Builder clearSslCertificates()
         URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
         
        repeated string ssl_certificates = 366006543;
        Returns:
        This builder for chaining.
      • addSslCertificatesBytes

        public TargetSslProxy.Builder addSslCertificatesBytes​(com.google.protobuf.ByteString value)
         URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
         
        repeated string ssl_certificates = 366006543;
        Parameters:
        value - The bytes of the sslCertificates to add.
        Returns:
        This builder for chaining.
      • hasSslPolicy

        public boolean hasSslPolicy()
         URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
         
        optional string ssl_policy = 295190213;
        Specified by:
        hasSslPolicy in interface TargetSslProxyOrBuilder
        Returns:
        Whether the sslPolicy field is set.
      • getSslPolicy

        public String getSslPolicy()
         URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
         
        optional string ssl_policy = 295190213;
        Specified by:
        getSslPolicy in interface TargetSslProxyOrBuilder
        Returns:
        The sslPolicy.
      • getSslPolicyBytes

        public com.google.protobuf.ByteString getSslPolicyBytes()
         URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
         
        optional string ssl_policy = 295190213;
        Specified by:
        getSslPolicyBytes in interface TargetSslProxyOrBuilder
        Returns:
        The bytes for sslPolicy.
      • setSslPolicy

        public TargetSslProxy.Builder setSslPolicy​(String value)
         URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
         
        optional string ssl_policy = 295190213;
        Parameters:
        value - The sslPolicy to set.
        Returns:
        This builder for chaining.
      • clearSslPolicy

        public TargetSslProxy.Builder clearSslPolicy()
         URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
         
        optional string ssl_policy = 295190213;
        Returns:
        This builder for chaining.
      • setSslPolicyBytes

        public TargetSslProxy.Builder setSslPolicyBytes​(com.google.protobuf.ByteString value)
         URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
         
        optional string ssl_policy = 295190213;
        Parameters:
        value - The bytes for sslPolicy to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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