Class TargetHttpsProxy.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TargetHttpsProxy.Builder>
com.google.cloud.compute.v1.TargetHttpsProxy.Builder
All Implemented Interfaces:
TargetHttpsProxyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TargetHttpsProxy

public static final class TargetHttpsProxy.Builder extends com.google.protobuf.GeneratedMessage.Builder<TargetHttpsProxy.Builder> implements TargetHttpsProxyOrBuilder
 Represents a Target HTTPS Proxy resource.

 Google Compute Engine has two Target HTTPS Proxy resources:

 * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies)
 * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies)

 A target HTTPS proxy is a component of Google Cloud HTTPS load balancers.

 * targetHttpsProxies are used by global external Application Load Balancers,
 classic Application Load Balancers, cross-region internal Application Load
 Balancers, and Traffic Director.
 * regionTargetHttpsProxies are used by regional internal Application Load
 Balancers and regional external Application Load Balancers.

 Forwarding rules reference a target HTTPS proxy, and the target proxy
 then references a URL map. For more information, readUsing Target Proxies
 and
 Forwarding rule concepts.
 
Protobuf type google.cloud.compute.v1.TargetHttpsProxy
  • 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<TargetHttpsProxy.Builder>
    • clear

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

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

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

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

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

      public TargetHttpsProxy.Builder mergeFrom(TargetHttpsProxy other)
    • isInitialized

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

      public TargetHttpsProxy.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<TargetHttpsProxy.Builder>
      Throws:
      IOException
    • hasAuthorizationPolicy

      public boolean hasAuthorizationPolicy()
       Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
       that describes how the proxy should authorize inbound traffic. If left
       blank, access will not be restricted by an authorization policy.
      
       Refer to the AuthorizationPolicy resource for additional
       details.
      
       authorizationPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED.
      
       Note: This field currently has no impact.
       
      optional string authorization_policy = 33945528;
      Specified by:
      hasAuthorizationPolicy in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the authorizationPolicy field is set.
    • getAuthorizationPolicy

      public String getAuthorizationPolicy()
       Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
       that describes how the proxy should authorize inbound traffic. If left
       blank, access will not be restricted by an authorization policy.
      
       Refer to the AuthorizationPolicy resource for additional
       details.
      
       authorizationPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED.
      
       Note: This field currently has no impact.
       
      optional string authorization_policy = 33945528;
      Specified by:
      getAuthorizationPolicy in interface TargetHttpsProxyOrBuilder
      Returns:
      The authorizationPolicy.
    • getAuthorizationPolicyBytes

      public com.google.protobuf.ByteString getAuthorizationPolicyBytes()
       Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
       that describes how the proxy should authorize inbound traffic. If left
       blank, access will not be restricted by an authorization policy.
      
       Refer to the AuthorizationPolicy resource for additional
       details.
      
       authorizationPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED.
      
       Note: This field currently has no impact.
       
      optional string authorization_policy = 33945528;
      Specified by:
      getAuthorizationPolicyBytes in interface TargetHttpsProxyOrBuilder
      Returns:
      The bytes for authorizationPolicy.
    • setAuthorizationPolicy

      public TargetHttpsProxy.Builder setAuthorizationPolicy(String value)
       Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
       that describes how the proxy should authorize inbound traffic. If left
       blank, access will not be restricted by an authorization policy.
      
       Refer to the AuthorizationPolicy resource for additional
       details.
      
       authorizationPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED.
      
       Note: This field currently has no impact.
       
      optional string authorization_policy = 33945528;
      Parameters:
      value - The authorizationPolicy to set.
      Returns:
      This builder for chaining.
    • clearAuthorizationPolicy

      public TargetHttpsProxy.Builder clearAuthorizationPolicy()
       Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
       that describes how the proxy should authorize inbound traffic. If left
       blank, access will not be restricted by an authorization policy.
      
       Refer to the AuthorizationPolicy resource for additional
       details.
      
       authorizationPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED.
      
       Note: This field currently has no impact.
       
      optional string authorization_policy = 33945528;
      Returns:
      This builder for chaining.
    • setAuthorizationPolicyBytes

      public TargetHttpsProxy.Builder setAuthorizationPolicyBytes(com.google.protobuf.ByteString value)
       Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
       that describes how the proxy should authorize inbound traffic. If left
       blank, access will not be restricted by an authorization policy.
      
       Refer to the AuthorizationPolicy resource for additional
       details.
      
       authorizationPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED.
      
       Note: This field currently has no impact.
       
      optional string authorization_policy = 33945528;
      Parameters:
      value - The bytes for authorizationPolicy to set.
      Returns:
      This builder for chaining.
    • 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 external Application Load Balancer or
       Classic Application Load Balancer. For other products use Certificate
       Manager Certificates instead.
      
       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 TargetHttpsProxyOrBuilder
      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 external Application Load Balancer or
       Classic Application Load Balancer. For other products use Certificate
       Manager Certificates instead.
      
       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 TargetHttpsProxyOrBuilder
      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 external Application Load Balancer or
       Classic Application Load Balancer. For other products use Certificate
       Manager Certificates instead.
      
       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 TargetHttpsProxyOrBuilder
      Returns:
      The bytes for certificateMap.
    • setCertificateMap

      public TargetHttpsProxy.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 external Application Load Balancer or
       Classic Application Load Balancer. For other products use Certificate
       Manager Certificates instead.
      
       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 TargetHttpsProxy.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 external Application Load Balancer or
       Classic Application Load Balancer. For other products use Certificate
       Manager Certificates instead.
      
       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 TargetHttpsProxy.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 external Application Load Balancer or
       Classic Application Load Balancer. For other products use Certificate
       Manager Certificates instead.
      
       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. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

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

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

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

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

      public TargetHttpsProxy.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Creation timestamp inRFC3339
       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 TargetHttpsProxyOrBuilder
      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 TargetHttpsProxyOrBuilder
      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 TargetHttpsProxyOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public TargetHttpsProxy.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 TargetHttpsProxy.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 TargetHttpsProxy.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.
    • hasFingerprint

      public boolean hasFingerprint()
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a TargetHttpsProxy. An up-to-date fingerprint must
       be provided in order to patch the TargetHttpsProxy; otherwise, the request
       will fail with error 412 conditionNotMet. To see the latest
       fingerprint, make a get() request to retrieve the
       TargetHttpsProxy.
       
      optional string fingerprint = 234678500;
      Specified by:
      hasFingerprint in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the fingerprint field is set.
    • getFingerprint

      public String getFingerprint()
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a TargetHttpsProxy. An up-to-date fingerprint must
       be provided in order to patch the TargetHttpsProxy; otherwise, the request
       will fail with error 412 conditionNotMet. To see the latest
       fingerprint, make a get() request to retrieve the
       TargetHttpsProxy.
       
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprint in interface TargetHttpsProxyOrBuilder
      Returns:
      The fingerprint.
    • getFingerprintBytes

      public com.google.protobuf.ByteString getFingerprintBytes()
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a TargetHttpsProxy. An up-to-date fingerprint must
       be provided in order to patch the TargetHttpsProxy; otherwise, the request
       will fail with error 412 conditionNotMet. To see the latest
       fingerprint, make a get() request to retrieve the
       TargetHttpsProxy.
       
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprintBytes in interface TargetHttpsProxyOrBuilder
      Returns:
      The bytes for fingerprint.
    • setFingerprint

      public TargetHttpsProxy.Builder setFingerprint(String value)
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a TargetHttpsProxy. An up-to-date fingerprint must
       be provided in order to patch the TargetHttpsProxy; otherwise, the request
       will fail with error 412 conditionNotMet. To see the latest
       fingerprint, make a get() request to retrieve the
       TargetHttpsProxy.
       
      optional string fingerprint = 234678500;
      Parameters:
      value - The fingerprint to set.
      Returns:
      This builder for chaining.
    • clearFingerprint

      public TargetHttpsProxy.Builder clearFingerprint()
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a TargetHttpsProxy. An up-to-date fingerprint must
       be provided in order to patch the TargetHttpsProxy; otherwise, the request
       will fail with error 412 conditionNotMet. To see the latest
       fingerprint, make a get() request to retrieve the
       TargetHttpsProxy.
       
      optional string fingerprint = 234678500;
      Returns:
      This builder for chaining.
    • setFingerprintBytes

      public TargetHttpsProxy.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a TargetHttpsProxy. An up-to-date fingerprint must
       be provided in order to patch the TargetHttpsProxy; otherwise, the request
       will fail with error 412 conditionNotMet. To see the latest
       fingerprint, make a get() request to retrieve the
       TargetHttpsProxy.
       
      optional string fingerprint = 234678500;
      Parameters:
      value - The bytes for fingerprint to set.
      Returns:
      This builder for chaining.
    • hasHttpKeepAliveTimeoutSec

      public boolean hasHttpKeepAliveTimeoutSec()
       Specifies how long to keep a connection open, after completing a response,
       while there is no matching traffic (in seconds). If an HTTP keep-alive is
       not specified, a default value (610 seconds) will be used.
      
       For global external Application Load Balancers, the minimum allowed value
       is 5 seconds and the maximum allowed value is 1200 seconds.
      
       For classic Application Load Balancers, this option is not supported.
       
      optional int32 http_keep_alive_timeout_sec = 447326046;
      Specified by:
      hasHttpKeepAliveTimeoutSec in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the httpKeepAliveTimeoutSec field is set.
    • getHttpKeepAliveTimeoutSec

      public int getHttpKeepAliveTimeoutSec()
       Specifies how long to keep a connection open, after completing a response,
       while there is no matching traffic (in seconds). If an HTTP keep-alive is
       not specified, a default value (610 seconds) will be used.
      
       For global external Application Load Balancers, the minimum allowed value
       is 5 seconds and the maximum allowed value is 1200 seconds.
      
       For classic Application Load Balancers, this option is not supported.
       
      optional int32 http_keep_alive_timeout_sec = 447326046;
      Specified by:
      getHttpKeepAliveTimeoutSec in interface TargetHttpsProxyOrBuilder
      Returns:
      The httpKeepAliveTimeoutSec.
    • setHttpKeepAliveTimeoutSec

      public TargetHttpsProxy.Builder setHttpKeepAliveTimeoutSec(int value)
       Specifies how long to keep a connection open, after completing a response,
       while there is no matching traffic (in seconds). If an HTTP keep-alive is
       not specified, a default value (610 seconds) will be used.
      
       For global external Application Load Balancers, the minimum allowed value
       is 5 seconds and the maximum allowed value is 1200 seconds.
      
       For classic Application Load Balancers, this option is not supported.
       
      optional int32 http_keep_alive_timeout_sec = 447326046;
      Parameters:
      value - The httpKeepAliveTimeoutSec to set.
      Returns:
      This builder for chaining.
    • clearHttpKeepAliveTimeoutSec

      public TargetHttpsProxy.Builder clearHttpKeepAliveTimeoutSec()
       Specifies how long to keep a connection open, after completing a response,
       while there is no matching traffic (in seconds). If an HTTP keep-alive is
       not specified, a default value (610 seconds) will be used.
      
       For global external Application Load Balancers, the minimum allowed value
       is 5 seconds and the maximum allowed value is 1200 seconds.
      
       For classic Application Load Balancers, this option is not supported.
       
      optional int32 http_keep_alive_timeout_sec = 447326046;
      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 TargetHttpsProxyOrBuilder
      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 TargetHttpsProxyOrBuilder
      Returns:
      The id.
    • setId

      public TargetHttpsProxy.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 TargetHttpsProxy.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. [Output Only] Type of resource. Alwayscompute#targetHttpsProxy for target HTTPS proxies.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of resource. Alwayscompute#targetHttpsProxy for target HTTPS proxies.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface TargetHttpsProxyOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of resource. Alwayscompute#targetHttpsProxy for target HTTPS proxies.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface TargetHttpsProxyOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public TargetHttpsProxy.Builder setKind(String value)
       Output only. [Output Only] Type of resource. Alwayscompute#targetHttpsProxy for target HTTPS proxies.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public TargetHttpsProxy.Builder clearKind()
       Output only. [Output Only] Type of resource. Alwayscompute#targetHttpsProxy for target HTTPS proxies.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public TargetHttpsProxy.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of resource. Alwayscompute#targetHttpsProxy for target HTTPS 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 withRFC1035.
       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 TargetHttpsProxyOrBuilder
      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 withRFC1035.
       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 TargetHttpsProxyOrBuilder
      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 withRFC1035.
       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 TargetHttpsProxyOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TargetHttpsProxy.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 withRFC1035.
       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 TargetHttpsProxy.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 withRFC1035.
       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 TargetHttpsProxy.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 withRFC1035.
       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.
    • hasProxyBind

      public boolean hasProxyBind()
       This field only applies when the forwarding rule that references this
       target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
      
       When this field is set to true, Envoy proxies set up inbound
       traffic interception and bind to the IP address and port specified in the
       forwarding rule. This is generally useful when using Traffic Director to
       configure Envoy as a gateway or middle proxy (in other words, not a
       sidecar proxy). The Envoy proxy listens for inbound requests and handles
       requests when it receives them.
      
       The default is false.
       
      optional bool proxy_bind = 286025582;
      Specified by:
      hasProxyBind in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the proxyBind field is set.
    • getProxyBind

      public boolean getProxyBind()
       This field only applies when the forwarding rule that references this
       target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
      
       When this field is set to true, Envoy proxies set up inbound
       traffic interception and bind to the IP address and port specified in the
       forwarding rule. This is generally useful when using Traffic Director to
       configure Envoy as a gateway or middle proxy (in other words, not a
       sidecar proxy). The Envoy proxy listens for inbound requests and handles
       requests when it receives them.
      
       The default is false.
       
      optional bool proxy_bind = 286025582;
      Specified by:
      getProxyBind in interface TargetHttpsProxyOrBuilder
      Returns:
      The proxyBind.
    • setProxyBind

      public TargetHttpsProxy.Builder setProxyBind(boolean value)
       This field only applies when the forwarding rule that references this
       target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
      
       When this field is set to true, Envoy proxies set up inbound
       traffic interception and bind to the IP address and port specified in the
       forwarding rule. This is generally useful when using Traffic Director to
       configure Envoy as a gateway or middle proxy (in other words, not a
       sidecar proxy). The Envoy proxy listens for inbound requests and handles
       requests when it receives them.
      
       The default is false.
       
      optional bool proxy_bind = 286025582;
      Parameters:
      value - The proxyBind to set.
      Returns:
      This builder for chaining.
    • clearProxyBind

      public TargetHttpsProxy.Builder clearProxyBind()
       This field only applies when the forwarding rule that references this
       target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
      
       When this field is set to true, Envoy proxies set up inbound
       traffic interception and bind to the IP address and port specified in the
       forwarding rule. This is generally useful when using Traffic Director to
       configure Envoy as a gateway or middle proxy (in other words, not a
       sidecar proxy). The Envoy proxy listens for inbound requests and handles
       requests when it receives them.
      
       The default is false.
       
      optional bool proxy_bind = 286025582;
      Returns:
      This builder for chaining.
    • hasQuicOverride

      public boolean hasQuicOverride()
       Specifies the QUIC override policy for this TargetHttpsProxy resource. This
       setting determines whether the load balancer attempts to negotiate QUIC
       with clients.
       You can specify NONE, ENABLE, orDISABLE.
      
       - When quic-override is set to NONE,
       Google manages whether QUIC is used.
       - When quic-override is set to ENABLE, the
       load balancer uses QUIC when possible.
       - When quic-override is set to DISABLE, the
       load balancer doesn't use QUIC.
       - If the quic-override flag is not specified,NONE is implied.
       Check the QuicOverride enum for the list of possible values.
       
      optional string quic_override = 456577197;
      Specified by:
      hasQuicOverride in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the quicOverride field is set.
    • getQuicOverride

      public String getQuicOverride()
       Specifies the QUIC override policy for this TargetHttpsProxy resource. This
       setting determines whether the load balancer attempts to negotiate QUIC
       with clients.
       You can specify NONE, ENABLE, orDISABLE.
      
       - When quic-override is set to NONE,
       Google manages whether QUIC is used.
       - When quic-override is set to ENABLE, the
       load balancer uses QUIC when possible.
       - When quic-override is set to DISABLE, the
       load balancer doesn't use QUIC.
       - If the quic-override flag is not specified,NONE is implied.
       Check the QuicOverride enum for the list of possible values.
       
      optional string quic_override = 456577197;
      Specified by:
      getQuicOverride in interface TargetHttpsProxyOrBuilder
      Returns:
      The quicOverride.
    • getQuicOverrideBytes

      public com.google.protobuf.ByteString getQuicOverrideBytes()
       Specifies the QUIC override policy for this TargetHttpsProxy resource. This
       setting determines whether the load balancer attempts to negotiate QUIC
       with clients.
       You can specify NONE, ENABLE, orDISABLE.
      
       - When quic-override is set to NONE,
       Google manages whether QUIC is used.
       - When quic-override is set to ENABLE, the
       load balancer uses QUIC when possible.
       - When quic-override is set to DISABLE, the
       load balancer doesn't use QUIC.
       - If the quic-override flag is not specified,NONE is implied.
       Check the QuicOverride enum for the list of possible values.
       
      optional string quic_override = 456577197;
      Specified by:
      getQuicOverrideBytes in interface TargetHttpsProxyOrBuilder
      Returns:
      The bytes for quicOverride.
    • setQuicOverride

      public TargetHttpsProxy.Builder setQuicOverride(String value)
       Specifies the QUIC override policy for this TargetHttpsProxy resource. This
       setting determines whether the load balancer attempts to negotiate QUIC
       with clients.
       You can specify NONE, ENABLE, orDISABLE.
      
       - When quic-override is set to NONE,
       Google manages whether QUIC is used.
       - When quic-override is set to ENABLE, the
       load balancer uses QUIC when possible.
       - When quic-override is set to DISABLE, the
       load balancer doesn't use QUIC.
       - If the quic-override flag is not specified,NONE is implied.
       Check the QuicOverride enum for the list of possible values.
       
      optional string quic_override = 456577197;
      Parameters:
      value - The quicOverride to set.
      Returns:
      This builder for chaining.
    • clearQuicOverride

      public TargetHttpsProxy.Builder clearQuicOverride()
       Specifies the QUIC override policy for this TargetHttpsProxy resource. This
       setting determines whether the load balancer attempts to negotiate QUIC
       with clients.
       You can specify NONE, ENABLE, orDISABLE.
      
       - When quic-override is set to NONE,
       Google manages whether QUIC is used.
       - When quic-override is set to ENABLE, the
       load balancer uses QUIC when possible.
       - When quic-override is set to DISABLE, the
       load balancer doesn't use QUIC.
       - If the quic-override flag is not specified,NONE is implied.
       Check the QuicOverride enum for the list of possible values.
       
      optional string quic_override = 456577197;
      Returns:
      This builder for chaining.
    • setQuicOverrideBytes

      public TargetHttpsProxy.Builder setQuicOverrideBytes(com.google.protobuf.ByteString value)
       Specifies the QUIC override policy for this TargetHttpsProxy resource. This
       setting determines whether the load balancer attempts to negotiate QUIC
       with clients.
       You can specify NONE, ENABLE, orDISABLE.
      
       - When quic-override is set to NONE,
       Google manages whether QUIC is used.
       - When quic-override is set to ENABLE, the
       load balancer uses QUIC when possible.
       - When quic-override is set to DISABLE, the
       load balancer doesn't use QUIC.
       - If the quic-override flag is not specified,NONE is implied.
       Check the QuicOverride enum for the list of possible values.
       
      optional string quic_override = 456577197;
      Parameters:
      value - The bytes for quicOverride to set.
      Returns:
      This builder for chaining.
    • hasRegion

      public boolean hasRegion()
       Output only. [Output Only] URL of the region where the regional TargetHttpsProxy
       resides. This field is not applicable to global TargetHttpsProxies.
       
      optional string region = 138946292;
      Specified by:
      hasRegion in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the region field is set.
    • getRegion

      public String getRegion()
       Output only. [Output Only] URL of the region where the regional TargetHttpsProxy
       resides. This field is not applicable to global TargetHttpsProxies.
       
      optional string region = 138946292;
      Specified by:
      getRegion in interface TargetHttpsProxyOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Output only. [Output Only] URL of the region where the regional TargetHttpsProxy
       resides. This field is not applicable to global TargetHttpsProxies.
       
      optional string region = 138946292;
      Specified by:
      getRegionBytes in interface TargetHttpsProxyOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public TargetHttpsProxy.Builder setRegion(String value)
       Output only. [Output Only] URL of the region where the regional TargetHttpsProxy
       resides. This field is not applicable to global TargetHttpsProxies.
       
      optional string region = 138946292;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public TargetHttpsProxy.Builder clearRegion()
       Output only. [Output Only] URL of the region where the regional TargetHttpsProxy
       resides. This field is not applicable to global TargetHttpsProxies.
       
      optional string region = 138946292;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public TargetHttpsProxy.Builder setRegionBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] URL of the region where the regional TargetHttpsProxy
       resides. This field is not applicable to global TargetHttpsProxies.
       
      optional string region = 138946292;
      Parameters:
      value - The bytes for region 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 TargetHttpsProxyOrBuilder
      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 TargetHttpsProxyOrBuilder
      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 TargetHttpsProxyOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public TargetHttpsProxy.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 TargetHttpsProxy.Builder clearSelfLink()
       [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public TargetHttpsProxy.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.
    • hasServerTlsPolicy

      public boolean hasServerTlsPolicy()
       Optional. A URL referring to a networksecurity.ServerTlsPolicy resource
       that describes how the proxy should authenticate inbound traffic.
      
       serverTlsPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED
       or EXTERNAL orEXTERNAL_MANAGED or INTERNAL_MANAGED.
       It also applies to a regional TargetHttpsProxy attached to
       regional forwardingRules with theloadBalancingScheme set to EXTERNAL_MANAGED orINTERNAL_MANAGED. For details whichServerTlsPolicy resources are accepted withINTERNAL_SELF_MANAGED and which with EXTERNAL,INTERNAL_MANAGED, EXTERNAL_MANAGEDloadBalancingScheme consult ServerTlsPolicy
       documentation.
      
       If left blank, communications are not encrypted.
       
      optional string server_tls_policy = 295825266;
      Specified by:
      hasServerTlsPolicy in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the serverTlsPolicy field is set.
    • getServerTlsPolicy

      public String getServerTlsPolicy()
       Optional. A URL referring to a networksecurity.ServerTlsPolicy resource
       that describes how the proxy should authenticate inbound traffic.
      
       serverTlsPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED
       or EXTERNAL orEXTERNAL_MANAGED or INTERNAL_MANAGED.
       It also applies to a regional TargetHttpsProxy attached to
       regional forwardingRules with theloadBalancingScheme set to EXTERNAL_MANAGED orINTERNAL_MANAGED. For details whichServerTlsPolicy resources are accepted withINTERNAL_SELF_MANAGED and which with EXTERNAL,INTERNAL_MANAGED, EXTERNAL_MANAGEDloadBalancingScheme consult ServerTlsPolicy
       documentation.
      
       If left blank, communications are not encrypted.
       
      optional string server_tls_policy = 295825266;
      Specified by:
      getServerTlsPolicy in interface TargetHttpsProxyOrBuilder
      Returns:
      The serverTlsPolicy.
    • getServerTlsPolicyBytes

      public com.google.protobuf.ByteString getServerTlsPolicyBytes()
       Optional. A URL referring to a networksecurity.ServerTlsPolicy resource
       that describes how the proxy should authenticate inbound traffic.
      
       serverTlsPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED
       or EXTERNAL orEXTERNAL_MANAGED or INTERNAL_MANAGED.
       It also applies to a regional TargetHttpsProxy attached to
       regional forwardingRules with theloadBalancingScheme set to EXTERNAL_MANAGED orINTERNAL_MANAGED. For details whichServerTlsPolicy resources are accepted withINTERNAL_SELF_MANAGED and which with EXTERNAL,INTERNAL_MANAGED, EXTERNAL_MANAGEDloadBalancingScheme consult ServerTlsPolicy
       documentation.
      
       If left blank, communications are not encrypted.
       
      optional string server_tls_policy = 295825266;
      Specified by:
      getServerTlsPolicyBytes in interface TargetHttpsProxyOrBuilder
      Returns:
      The bytes for serverTlsPolicy.
    • setServerTlsPolicy

      public TargetHttpsProxy.Builder setServerTlsPolicy(String value)
       Optional. A URL referring to a networksecurity.ServerTlsPolicy resource
       that describes how the proxy should authenticate inbound traffic.
      
       serverTlsPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED
       or EXTERNAL orEXTERNAL_MANAGED or INTERNAL_MANAGED.
       It also applies to a regional TargetHttpsProxy attached to
       regional forwardingRules with theloadBalancingScheme set to EXTERNAL_MANAGED orINTERNAL_MANAGED. For details whichServerTlsPolicy resources are accepted withINTERNAL_SELF_MANAGED and which with EXTERNAL,INTERNAL_MANAGED, EXTERNAL_MANAGEDloadBalancingScheme consult ServerTlsPolicy
       documentation.
      
       If left blank, communications are not encrypted.
       
      optional string server_tls_policy = 295825266;
      Parameters:
      value - The serverTlsPolicy to set.
      Returns:
      This builder for chaining.
    • clearServerTlsPolicy

      public TargetHttpsProxy.Builder clearServerTlsPolicy()
       Optional. A URL referring to a networksecurity.ServerTlsPolicy resource
       that describes how the proxy should authenticate inbound traffic.
      
       serverTlsPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED
       or EXTERNAL orEXTERNAL_MANAGED or INTERNAL_MANAGED.
       It also applies to a regional TargetHttpsProxy attached to
       regional forwardingRules with theloadBalancingScheme set to EXTERNAL_MANAGED orINTERNAL_MANAGED. For details whichServerTlsPolicy resources are accepted withINTERNAL_SELF_MANAGED and which with EXTERNAL,INTERNAL_MANAGED, EXTERNAL_MANAGEDloadBalancingScheme consult ServerTlsPolicy
       documentation.
      
       If left blank, communications are not encrypted.
       
      optional string server_tls_policy = 295825266;
      Returns:
      This builder for chaining.
    • setServerTlsPolicyBytes

      public TargetHttpsProxy.Builder setServerTlsPolicyBytes(com.google.protobuf.ByteString value)
       Optional. A URL referring to a networksecurity.ServerTlsPolicy resource
       that describes how the proxy should authenticate inbound traffic.
      
       serverTlsPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED
       or EXTERNAL orEXTERNAL_MANAGED or INTERNAL_MANAGED.
       It also applies to a regional TargetHttpsProxy attached to
       regional forwardingRules with theloadBalancingScheme set to EXTERNAL_MANAGED orINTERNAL_MANAGED. For details whichServerTlsPolicy resources are accepted withINTERNAL_SELF_MANAGED and which with EXTERNAL,INTERNAL_MANAGED, EXTERNAL_MANAGEDloadBalancingScheme consult ServerTlsPolicy
       documentation.
      
       If left blank, communications are not encrypted.
       
      optional string server_tls_policy = 295825266;
      Parameters:
      value - The bytes for serverTlsPolicy to set.
      Returns:
      This builder for chaining.
    • getSslCertificatesList

      public com.google.protobuf.ProtocolStringList getSslCertificatesList()
       URLs to SslCertificate resources that are used to authenticate
       connections between users and the load balancer. At least one SSL
       certificate must be specified. SslCertificates do not apply when the load
       balancing scheme is set to INTERNAL_SELF_MANAGED.
      
       The URLs should refer to a SSL Certificate resource or Certificate Manager
       Certificate resource. Mixing Classic Certificates and Certificate Manager
       Certificates is not allowed. Certificate Manager Certificates must include
       the certificatemanager API namespace. Using Certificate Manager
       Certificates in this field is not supported by Global external Application
       Load Balancer or Classic Application Load Balancer, use certificate_map
       instead.
      
       Currently, you may specify up to 15 Classic SSL Certificates or up to 100
       Certificate Manager Certificates.
      
       Certificate Manager Certificates accepted formats are:
      
       - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
       - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.
       
      repeated string ssl_certificates = 366006543;
      Specified by:
      getSslCertificatesList in interface TargetHttpsProxyOrBuilder
      Returns:
      A list containing the sslCertificates.
    • getSslCertificatesCount

      public int getSslCertificatesCount()
       URLs to SslCertificate resources that are used to authenticate
       connections between users and the load balancer. At least one SSL
       certificate must be specified. SslCertificates do not apply when the load
       balancing scheme is set to INTERNAL_SELF_MANAGED.
      
       The URLs should refer to a SSL Certificate resource or Certificate Manager
       Certificate resource. Mixing Classic Certificates and Certificate Manager
       Certificates is not allowed. Certificate Manager Certificates must include
       the certificatemanager API namespace. Using Certificate Manager
       Certificates in this field is not supported by Global external Application
       Load Balancer or Classic Application Load Balancer, use certificate_map
       instead.
      
       Currently, you may specify up to 15 Classic SSL Certificates or up to 100
       Certificate Manager Certificates.
      
       Certificate Manager Certificates accepted formats are:
      
       - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
       - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.
       
      repeated string ssl_certificates = 366006543;
      Specified by:
      getSslCertificatesCount in interface TargetHttpsProxyOrBuilder
      Returns:
      The count of sslCertificates.
    • getSslCertificates

      public String getSslCertificates(int index)
       URLs to SslCertificate resources that are used to authenticate
       connections between users and the load balancer. At least one SSL
       certificate must be specified. SslCertificates do not apply when the load
       balancing scheme is set to INTERNAL_SELF_MANAGED.
      
       The URLs should refer to a SSL Certificate resource or Certificate Manager
       Certificate resource. Mixing Classic Certificates and Certificate Manager
       Certificates is not allowed. Certificate Manager Certificates must include
       the certificatemanager API namespace. Using Certificate Manager
       Certificates in this field is not supported by Global external Application
       Load Balancer or Classic Application Load Balancer, use certificate_map
       instead.
      
       Currently, you may specify up to 15 Classic SSL Certificates or up to 100
       Certificate Manager Certificates.
      
       Certificate Manager Certificates accepted formats are:
      
       - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
       - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.
       
      repeated string ssl_certificates = 366006543;
      Specified by:
      getSslCertificates in interface TargetHttpsProxyOrBuilder
      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 between users and the load balancer. At least one SSL
       certificate must be specified. SslCertificates do not apply when the load
       balancing scheme is set to INTERNAL_SELF_MANAGED.
      
       The URLs should refer to a SSL Certificate resource or Certificate Manager
       Certificate resource. Mixing Classic Certificates and Certificate Manager
       Certificates is not allowed. Certificate Manager Certificates must include
       the certificatemanager API namespace. Using Certificate Manager
       Certificates in this field is not supported by Global external Application
       Load Balancer or Classic Application Load Balancer, use certificate_map
       instead.
      
       Currently, you may specify up to 15 Classic SSL Certificates or up to 100
       Certificate Manager Certificates.
      
       Certificate Manager Certificates accepted formats are:
      
       - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
       - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.
       
      repeated string ssl_certificates = 366006543;
      Specified by:
      getSslCertificatesBytes in interface TargetHttpsProxyOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sslCertificates at the given index.
    • setSslCertificates

      public TargetHttpsProxy.Builder setSslCertificates(int index, String value)
       URLs to SslCertificate resources that are used to authenticate
       connections between users and the load balancer. At least one SSL
       certificate must be specified. SslCertificates do not apply when the load
       balancing scheme is set to INTERNAL_SELF_MANAGED.
      
       The URLs should refer to a SSL Certificate resource or Certificate Manager
       Certificate resource. Mixing Classic Certificates and Certificate Manager
       Certificates is not allowed. Certificate Manager Certificates must include
       the certificatemanager API namespace. Using Certificate Manager
       Certificates in this field is not supported by Global external Application
       Load Balancer or Classic Application Load Balancer, use certificate_map
       instead.
      
       Currently, you may specify up to 15 Classic SSL Certificates or up to 100
       Certificate Manager Certificates.
      
       Certificate Manager Certificates accepted formats are:
      
       - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
       - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.
       
      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 TargetHttpsProxy.Builder addSslCertificates(String value)
       URLs to SslCertificate resources that are used to authenticate
       connections between users and the load balancer. At least one SSL
       certificate must be specified. SslCertificates do not apply when the load
       balancing scheme is set to INTERNAL_SELF_MANAGED.
      
       The URLs should refer to a SSL Certificate resource or Certificate Manager
       Certificate resource. Mixing Classic Certificates and Certificate Manager
       Certificates is not allowed. Certificate Manager Certificates must include
       the certificatemanager API namespace. Using Certificate Manager
       Certificates in this field is not supported by Global external Application
       Load Balancer or Classic Application Load Balancer, use certificate_map
       instead.
      
       Currently, you may specify up to 15 Classic SSL Certificates or up to 100
       Certificate Manager Certificates.
      
       Certificate Manager Certificates accepted formats are:
      
       - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
       - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.
       
      repeated string ssl_certificates = 366006543;
      Parameters:
      value - The sslCertificates to add.
      Returns:
      This builder for chaining.
    • addAllSslCertificates

      public TargetHttpsProxy.Builder addAllSslCertificates(Iterable<String> values)
       URLs to SslCertificate resources that are used to authenticate
       connections between users and the load balancer. At least one SSL
       certificate must be specified. SslCertificates do not apply when the load
       balancing scheme is set to INTERNAL_SELF_MANAGED.
      
       The URLs should refer to a SSL Certificate resource or Certificate Manager
       Certificate resource. Mixing Classic Certificates and Certificate Manager
       Certificates is not allowed. Certificate Manager Certificates must include
       the certificatemanager API namespace. Using Certificate Manager
       Certificates in this field is not supported by Global external Application
       Load Balancer or Classic Application Load Balancer, use certificate_map
       instead.
      
       Currently, you may specify up to 15 Classic SSL Certificates or up to 100
       Certificate Manager Certificates.
      
       Certificate Manager Certificates accepted formats are:
      
       - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
       - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.
       
      repeated string ssl_certificates = 366006543;
      Parameters:
      values - The sslCertificates to add.
      Returns:
      This builder for chaining.
    • clearSslCertificates

      public TargetHttpsProxy.Builder clearSslCertificates()
       URLs to SslCertificate resources that are used to authenticate
       connections between users and the load balancer. At least one SSL
       certificate must be specified. SslCertificates do not apply when the load
       balancing scheme is set to INTERNAL_SELF_MANAGED.
      
       The URLs should refer to a SSL Certificate resource or Certificate Manager
       Certificate resource. Mixing Classic Certificates and Certificate Manager
       Certificates is not allowed. Certificate Manager Certificates must include
       the certificatemanager API namespace. Using Certificate Manager
       Certificates in this field is not supported by Global external Application
       Load Balancer or Classic Application Load Balancer, use certificate_map
       instead.
      
       Currently, you may specify up to 15 Classic SSL Certificates or up to 100
       Certificate Manager Certificates.
      
       Certificate Manager Certificates accepted formats are:
      
       - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
       - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.
       
      repeated string ssl_certificates = 366006543;
      Returns:
      This builder for chaining.
    • addSslCertificatesBytes

      public TargetHttpsProxy.Builder addSslCertificatesBytes(com.google.protobuf.ByteString value)
       URLs to SslCertificate resources that are used to authenticate
       connections between users and the load balancer. At least one SSL
       certificate must be specified. SslCertificates do not apply when the load
       balancing scheme is set to INTERNAL_SELF_MANAGED.
      
       The URLs should refer to a SSL Certificate resource or Certificate Manager
       Certificate resource. Mixing Classic Certificates and Certificate Manager
       Certificates is not allowed. Certificate Manager Certificates must include
       the certificatemanager API namespace. Using Certificate Manager
       Certificates in this field is not supported by Global external Application
       Load Balancer or Classic Application Load Balancer, use certificate_map
       instead.
      
       Currently, you may specify up to 15 Classic SSL Certificates or up to 100
       Certificate Manager Certificates.
      
       Certificate Manager Certificates accepted formats are:
      
       - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
       - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.
       
      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 TargetHttpsProxy
       resource. If not set, the TargetHttpsProxy resource has no
       SSL policy configured.
       
      optional string ssl_policy = 295190213;
      Specified by:
      hasSslPolicy in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the sslPolicy field is set.
    • getSslPolicy

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

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

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

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

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

      public boolean hasTlsEarlyData()
       Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted
       for this service. Early Data allows a TLS resumption handshake to include
       the initial application payload (a HTTP request) alongside the handshake,
       reducing the effective round trips to "zero". This applies to TLS 1.3
       connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
      
      
       This can improve application performance, especially on networks where
       interruptions may be common, such as on mobile.
      
      
       Requests with Early Data will have the "Early-Data" HTTP header set on
       the request, with a value of "1", to allow the backend to determine whether
       Early Data was included.
      
      
       Note: TLS Early Data may allow requests to be replayed, as the data is
       sent to the backend before the handshake has fully completed. Applications
       that allow idempotent HTTP methods to make non-idempotent changes, such as
       a GET request updating a database, should not accept Early Data on those
       requests, and reject requests with the "Early-Data: 1" HTTP header by
       returning a HTTP 425 (Too Early) status code, in order to remain RFC
       compliant.
      
      
       The default value is DISABLED.
       Check the TlsEarlyData enum for the list of possible values.
       
      optional string tls_early_data = 61108426;
      Specified by:
      hasTlsEarlyData in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the tlsEarlyData field is set.
    • getTlsEarlyData

      public String getTlsEarlyData()
       Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted
       for this service. Early Data allows a TLS resumption handshake to include
       the initial application payload (a HTTP request) alongside the handshake,
       reducing the effective round trips to "zero". This applies to TLS 1.3
       connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
      
      
       This can improve application performance, especially on networks where
       interruptions may be common, such as on mobile.
      
      
       Requests with Early Data will have the "Early-Data" HTTP header set on
       the request, with a value of "1", to allow the backend to determine whether
       Early Data was included.
      
      
       Note: TLS Early Data may allow requests to be replayed, as the data is
       sent to the backend before the handshake has fully completed. Applications
       that allow idempotent HTTP methods to make non-idempotent changes, such as
       a GET request updating a database, should not accept Early Data on those
       requests, and reject requests with the "Early-Data: 1" HTTP header by
       returning a HTTP 425 (Too Early) status code, in order to remain RFC
       compliant.
      
      
       The default value is DISABLED.
       Check the TlsEarlyData enum for the list of possible values.
       
      optional string tls_early_data = 61108426;
      Specified by:
      getTlsEarlyData in interface TargetHttpsProxyOrBuilder
      Returns:
      The tlsEarlyData.
    • getTlsEarlyDataBytes

      public com.google.protobuf.ByteString getTlsEarlyDataBytes()
       Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted
       for this service. Early Data allows a TLS resumption handshake to include
       the initial application payload (a HTTP request) alongside the handshake,
       reducing the effective round trips to "zero". This applies to TLS 1.3
       connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
      
      
       This can improve application performance, especially on networks where
       interruptions may be common, such as on mobile.
      
      
       Requests with Early Data will have the "Early-Data" HTTP header set on
       the request, with a value of "1", to allow the backend to determine whether
       Early Data was included.
      
      
       Note: TLS Early Data may allow requests to be replayed, as the data is
       sent to the backend before the handshake has fully completed. Applications
       that allow idempotent HTTP methods to make non-idempotent changes, such as
       a GET request updating a database, should not accept Early Data on those
       requests, and reject requests with the "Early-Data: 1" HTTP header by
       returning a HTTP 425 (Too Early) status code, in order to remain RFC
       compliant.
      
      
       The default value is DISABLED.
       Check the TlsEarlyData enum for the list of possible values.
       
      optional string tls_early_data = 61108426;
      Specified by:
      getTlsEarlyDataBytes in interface TargetHttpsProxyOrBuilder
      Returns:
      The bytes for tlsEarlyData.
    • setTlsEarlyData

      public TargetHttpsProxy.Builder setTlsEarlyData(String value)
       Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted
       for this service. Early Data allows a TLS resumption handshake to include
       the initial application payload (a HTTP request) alongside the handshake,
       reducing the effective round trips to "zero". This applies to TLS 1.3
       connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
      
      
       This can improve application performance, especially on networks where
       interruptions may be common, such as on mobile.
      
      
       Requests with Early Data will have the "Early-Data" HTTP header set on
       the request, with a value of "1", to allow the backend to determine whether
       Early Data was included.
      
      
       Note: TLS Early Data may allow requests to be replayed, as the data is
       sent to the backend before the handshake has fully completed. Applications
       that allow idempotent HTTP methods to make non-idempotent changes, such as
       a GET request updating a database, should not accept Early Data on those
       requests, and reject requests with the "Early-Data: 1" HTTP header by
       returning a HTTP 425 (Too Early) status code, in order to remain RFC
       compliant.
      
      
       The default value is DISABLED.
       Check the TlsEarlyData enum for the list of possible values.
       
      optional string tls_early_data = 61108426;
      Parameters:
      value - The tlsEarlyData to set.
      Returns:
      This builder for chaining.
    • clearTlsEarlyData

      public TargetHttpsProxy.Builder clearTlsEarlyData()
       Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted
       for this service. Early Data allows a TLS resumption handshake to include
       the initial application payload (a HTTP request) alongside the handshake,
       reducing the effective round trips to "zero". This applies to TLS 1.3
       connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
      
      
       This can improve application performance, especially on networks where
       interruptions may be common, such as on mobile.
      
      
       Requests with Early Data will have the "Early-Data" HTTP header set on
       the request, with a value of "1", to allow the backend to determine whether
       Early Data was included.
      
      
       Note: TLS Early Data may allow requests to be replayed, as the data is
       sent to the backend before the handshake has fully completed. Applications
       that allow idempotent HTTP methods to make non-idempotent changes, such as
       a GET request updating a database, should not accept Early Data on those
       requests, and reject requests with the "Early-Data: 1" HTTP header by
       returning a HTTP 425 (Too Early) status code, in order to remain RFC
       compliant.
      
      
       The default value is DISABLED.
       Check the TlsEarlyData enum for the list of possible values.
       
      optional string tls_early_data = 61108426;
      Returns:
      This builder for chaining.
    • setTlsEarlyDataBytes

      public TargetHttpsProxy.Builder setTlsEarlyDataBytes(com.google.protobuf.ByteString value)
       Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted
       for this service. Early Data allows a TLS resumption handshake to include
       the initial application payload (a HTTP request) alongside the handshake,
       reducing the effective round trips to "zero". This applies to TLS 1.3
       connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
      
      
       This can improve application performance, especially on networks where
       interruptions may be common, such as on mobile.
      
      
       Requests with Early Data will have the "Early-Data" HTTP header set on
       the request, with a value of "1", to allow the backend to determine whether
       Early Data was included.
      
      
       Note: TLS Early Data may allow requests to be replayed, as the data is
       sent to the backend before the handshake has fully completed. Applications
       that allow idempotent HTTP methods to make non-idempotent changes, such as
       a GET request updating a database, should not accept Early Data on those
       requests, and reject requests with the "Early-Data: 1" HTTP header by
       returning a HTTP 425 (Too Early) status code, in order to remain RFC
       compliant.
      
      
       The default value is DISABLED.
       Check the TlsEarlyData enum for the list of possible values.
       
      optional string tls_early_data = 61108426;
      Parameters:
      value - The bytes for tlsEarlyData to set.
      Returns:
      This builder for chaining.
    • hasUrlMap

      public boolean hasUrlMap()
       A fully-qualified or valid partial URL to the UrlMap resource that defines
       the mapping from URL to the BackendService. For example, the following are
       all valid URLs for specifying a URL map:
      
       - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map
       - projects/project/global/urlMaps/url-map
       - global/urlMaps/url-map
       
      optional string url_map = 367020684;
      Specified by:
      hasUrlMap in interface TargetHttpsProxyOrBuilder
      Returns:
      Whether the urlMap field is set.
    • getUrlMap

      public String getUrlMap()
       A fully-qualified or valid partial URL to the UrlMap resource that defines
       the mapping from URL to the BackendService. For example, the following are
       all valid URLs for specifying a URL map:
      
       - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map
       - projects/project/global/urlMaps/url-map
       - global/urlMaps/url-map
       
      optional string url_map = 367020684;
      Specified by:
      getUrlMap in interface TargetHttpsProxyOrBuilder
      Returns:
      The urlMap.
    • getUrlMapBytes

      public com.google.protobuf.ByteString getUrlMapBytes()
       A fully-qualified or valid partial URL to the UrlMap resource that defines
       the mapping from URL to the BackendService. For example, the following are
       all valid URLs for specifying a URL map:
      
       - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map
       - projects/project/global/urlMaps/url-map
       - global/urlMaps/url-map
       
      optional string url_map = 367020684;
      Specified by:
      getUrlMapBytes in interface TargetHttpsProxyOrBuilder
      Returns:
      The bytes for urlMap.
    • setUrlMap

      public TargetHttpsProxy.Builder setUrlMap(String value)
       A fully-qualified or valid partial URL to the UrlMap resource that defines
       the mapping from URL to the BackendService. For example, the following are
       all valid URLs for specifying a URL map:
      
       - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map
       - projects/project/global/urlMaps/url-map
       - global/urlMaps/url-map
       
      optional string url_map = 367020684;
      Parameters:
      value - The urlMap to set.
      Returns:
      This builder for chaining.
    • clearUrlMap

      public TargetHttpsProxy.Builder clearUrlMap()
       A fully-qualified or valid partial URL to the UrlMap resource that defines
       the mapping from URL to the BackendService. For example, the following are
       all valid URLs for specifying a URL map:
      
       - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map
       - projects/project/global/urlMaps/url-map
       - global/urlMaps/url-map
       
      optional string url_map = 367020684;
      Returns:
      This builder for chaining.
    • setUrlMapBytes

      public TargetHttpsProxy.Builder setUrlMapBytes(com.google.protobuf.ByteString value)
       A fully-qualified or valid partial URL to the UrlMap resource that defines
       the mapping from URL to the BackendService. For example, the following are
       all valid URLs for specifying a URL map:
      
       - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map
       - projects/project/global/urlMaps/url-map
       - global/urlMaps/url-map
       
      optional string url_map = 367020684;
      Parameters:
      value - The bytes for urlMap to set.
      Returns:
      This builder for chaining.