Package com.google.cloud.compute.v1
Class SslPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SslPolicy.Builder>
com.google.cloud.compute.v1.SslPolicy.Builder
- All Implemented Interfaces:
SslPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SslPolicy
public static final class SslPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SslPolicy.Builder>
implements SslPolicyOrBuilder
Represents an SSL Policy resource. Use SSL policies to control SSL features, such as versions and cipher suites, that are offered by Application Load Balancers and proxy Network Load Balancers. For more information, read SSL policies overview.Protobuf type
google.cloud.compute.v1.SslPolicy-
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomFeatures(Iterable<String> values) A list of features enabled when the selected profile is CUSTOM.addAllEnabledFeatures(Iterable<String> values) Output only.addAllWarnings(Iterable<? extends Warnings> values) Output only.addCustomFeatures(String value) A list of features enabled when the selected profile is CUSTOM.addCustomFeaturesBytes(com.google.protobuf.ByteString value) A list of features enabled when the selected profile is CUSTOM.addEnabledFeatures(String value) Output only.addEnabledFeaturesBytes(com.google.protobuf.ByteString value) Output only.addWarnings(int index, Warnings value) Output only.addWarnings(int index, Warnings.Builder builderForValue) Output only.addWarnings(Warnings value) Output only.addWarnings(Warnings.Builder builderForValue) Output only.Output only.addWarningsBuilder(int index) Output only.build()clear()Output only.A list of features enabled when the selected profile is CUSTOM.An optional description of this resource.Output only.Fingerprint of this resource.clearId()Output only.Output only.The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer.Name of the resource.Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.getCustomFeatures(int index) A list of features enabled when the selected profile is CUSTOM.com.google.protobuf.ByteStringgetCustomFeaturesBytes(int index) A list of features enabled when the selected profile is CUSTOM.intA list of features enabled when the selected profile is CUSTOM.com.google.protobuf.ProtocolStringListA list of features enabled when the selected profile is CUSTOM.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEnabledFeatures(int index) Output only.com.google.protobuf.ByteStringgetEnabledFeaturesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Fingerprint of this resource.com.google.protobuf.ByteStringFingerprint of this resource.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer.com.google.protobuf.ByteStringThe minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients.com.google.protobuf.ByteStringProfile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getWarnings(int index) Output only.getWarningsBuilder(int index) Output only.Output only.intOutput only.Output only.getWarningsOrBuilder(int index) Output only.List<? extends WarningsOrBuilder>Output only.booleanOutput only.booleanAn optional description of this resource.booleanFingerprint of this resource.booleanhasId()Output only.booleanhasKind()Output only.booleanThe minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer.booleanhasName()Name of the resource.booleanProfile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeWarnings(int index) Output only.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setCustomFeatures(int index, String value) A list of features enabled when the selected profile is CUSTOM.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setEnabledFeatures(int index, String value) Output only.setFingerprint(String value) Fingerprint of this resource.setFingerprintBytes(com.google.protobuf.ByteString value) Fingerprint of this resource.setId(long value) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setMinTlsVersion(String value) The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer.setMinTlsVersionBytes(com.google.protobuf.ByteString value) The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.setProfile(String value) Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients.setProfileBytes(com.google.protobuf.ByteString value) Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients.Output only.setRegionBytes(com.google.protobuf.ByteString value) Output only.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.setWarnings(int index, Warnings value) Output only.setWarnings(int index, Warnings.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SslPolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SslPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SslPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SslPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SslPolicy.Builder>
-
mergeFrom
public SslPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SslPolicy.Builder>- Throws:
IOException
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceSslPolicyOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceSslPolicyOrBuilder- 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:
getCreationTimestampBytesin interfaceSslPolicyOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
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
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
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.
-
getCustomFeaturesList
public com.google.protobuf.ProtocolStringList getCustomFeaturesList()A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
repeated string custom_features = 34789707;- Specified by:
getCustomFeaturesListin interfaceSslPolicyOrBuilder- Returns:
- A list containing the customFeatures.
-
getCustomFeaturesCount
public int getCustomFeaturesCount()A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
repeated string custom_features = 34789707;- Specified by:
getCustomFeaturesCountin interfaceSslPolicyOrBuilder- Returns:
- The count of customFeatures.
-
getCustomFeatures
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
repeated string custom_features = 34789707;- Specified by:
getCustomFeaturesin interfaceSslPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The customFeatures at the given index.
-
getCustomFeaturesBytes
public com.google.protobuf.ByteString getCustomFeaturesBytes(int index) A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
repeated string custom_features = 34789707;- Specified by:
getCustomFeaturesBytesin interfaceSslPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the customFeatures at the given index.
-
setCustomFeatures
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
repeated string custom_features = 34789707;- Parameters:
index- The index to set the value at.value- The customFeatures to set.- Returns:
- This builder for chaining.
-
addCustomFeatures
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
repeated string custom_features = 34789707;- Parameters:
value- The customFeatures to add.- Returns:
- This builder for chaining.
-
addAllCustomFeatures
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
repeated string custom_features = 34789707;- Parameters:
values- The customFeatures to add.- Returns:
- This builder for chaining.
-
clearCustomFeatures
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
repeated string custom_features = 34789707;- Returns:
- This builder for chaining.
-
addCustomFeaturesBytes
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
repeated string custom_features = 34789707;- Parameters:
value- The bytes of the customFeatures to add.- 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:
hasDescriptionin interfaceSslPolicyOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceSslPolicyOrBuilder- 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:
getDescriptionBytesin interfaceSslPolicyOrBuilder- Returns:
- The bytes for description.
-
setDescription
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
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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.
-
getEnabledFeaturesList
public com.google.protobuf.ProtocolStringList getEnabledFeaturesList()Output only. [Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;- Specified by:
getEnabledFeaturesListin interfaceSslPolicyOrBuilder- Returns:
- A list containing the enabledFeatures.
-
getEnabledFeaturesCount
public int getEnabledFeaturesCount()Output only. [Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;- Specified by:
getEnabledFeaturesCountin interfaceSslPolicyOrBuilder- Returns:
- The count of enabledFeatures.
-
getEnabledFeatures
Output only. [Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;- Specified by:
getEnabledFeaturesin interfaceSslPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The enabledFeatures at the given index.
-
getEnabledFeaturesBytes
public com.google.protobuf.ByteString getEnabledFeaturesBytes(int index) Output only. [Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;- Specified by:
getEnabledFeaturesBytesin interfaceSslPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the enabledFeatures at the given index.
-
setEnabledFeatures
Output only. [Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;- Parameters:
index- The index to set the value at.value- The enabledFeatures to set.- Returns:
- This builder for chaining.
-
addEnabledFeatures
Output only. [Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;- Parameters:
value- The enabledFeatures to add.- Returns:
- This builder for chaining.
-
addAllEnabledFeatures
Output only. [Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;- Parameters:
values- The enabledFeatures to add.- Returns:
- This builder for chaining.
-
clearEnabledFeatures
Output only. [Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;- Returns:
- This builder for chaining.
-
addEnabledFeaturesBytes
Output only. [Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;- Parameters:
value- The bytes of the enabledFeatures to add.- 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 SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceSslPolicyOrBuilder- Returns:
- Whether the fingerprint field is set.
-
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 SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceSslPolicyOrBuilder- 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 SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceSslPolicyOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
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 SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
optional string fingerprint = 234678500;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
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 SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
optional string fingerprint = 234678500;- Returns:
- This builder for chaining.
-
setFingerprintBytes
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 SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
optional string fingerprint = 234678500;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceSslPolicyOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceSslPolicyOrBuilder- Returns:
- The id.
-
setId
Output only. [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
Output only. [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 the resource. Alwayscompute#sslPolicyfor SSL policies.
optional string kind = 3292052;- Specified by:
hasKindin interfaceSslPolicyOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
optional string kind = 3292052;- Specified by:
getKindin interfaceSslPolicyOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceSslPolicyOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasMinTlsVersion
public boolean hasMinTlsVersion()The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field must be set to RESTRICTED. Check the MinTlsVersion enum for the list of possible values.
optional string min_tls_version = 8155943;- Specified by:
hasMinTlsVersionin interfaceSslPolicyOrBuilder- Returns:
- Whether the minTlsVersion field is set.
-
getMinTlsVersion
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field must be set to RESTRICTED. Check the MinTlsVersion enum for the list of possible values.
optional string min_tls_version = 8155943;- Specified by:
getMinTlsVersionin interfaceSslPolicyOrBuilder- Returns:
- The minTlsVersion.
-
getMinTlsVersionBytes
public com.google.protobuf.ByteString getMinTlsVersionBytes()The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field must be set to RESTRICTED. Check the MinTlsVersion enum for the list of possible values.
optional string min_tls_version = 8155943;- Specified by:
getMinTlsVersionBytesin interfaceSslPolicyOrBuilder- Returns:
- The bytes for minTlsVersion.
-
setMinTlsVersion
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field must be set to RESTRICTED. Check the MinTlsVersion enum for the list of possible values.
optional string min_tls_version = 8155943;- Parameters:
value- The minTlsVersion to set.- Returns:
- This builder for chaining.
-
clearMinTlsVersion
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field must be set to RESTRICTED. Check the MinTlsVersion enum for the list of possible values.
optional string min_tls_version = 8155943;- Returns:
- This builder for chaining.
-
setMinTlsVersionBytes
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field must be set to RESTRICTED. Check the MinTlsVersion enum for the list of possible values.
optional string min_tls_version = 8155943;- Parameters:
value- The bytes for minTlsVersion to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Name of the resource. 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:
hasNamein interfaceSslPolicyOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of the resource. 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:
getNamein interfaceSslPolicyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the resource. 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:
getNameBytesin interfaceSslPolicyOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the resource. 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
Name of the resource. 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
Name of the resource. 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.
-
hasProfile
public boolean hasProfile()Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in the customFeatures field. If using FIPS_202205, the min_tls_version field must be set to TLS_1_2. Check the Profile enum for the list of possible values.
optional string profile = 227445161;- Specified by:
hasProfilein interfaceSslPolicyOrBuilder- Returns:
- Whether the profile field is set.
-
getProfile
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in the customFeatures field. If using FIPS_202205, the min_tls_version field must be set to TLS_1_2. Check the Profile enum for the list of possible values.
optional string profile = 227445161;- Specified by:
getProfilein interfaceSslPolicyOrBuilder- Returns:
- The profile.
-
getProfileBytes
public com.google.protobuf.ByteString getProfileBytes()Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in the customFeatures field. If using FIPS_202205, the min_tls_version field must be set to TLS_1_2. Check the Profile enum for the list of possible values.
optional string profile = 227445161;- Specified by:
getProfileBytesin interfaceSslPolicyOrBuilder- Returns:
- The bytes for profile.
-
setProfile
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in the customFeatures field. If using FIPS_202205, the min_tls_version field must be set to TLS_1_2. Check the Profile enum for the list of possible values.
optional string profile = 227445161;- Parameters:
value- The profile to set.- Returns:
- This builder for chaining.
-
clearProfile
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in the customFeatures field. If using FIPS_202205, the min_tls_version field must be set to TLS_1_2. Check the Profile enum for the list of possible values.
optional string profile = 227445161;- Returns:
- This builder for chaining.
-
setProfileBytes
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in the customFeatures field. If using FIPS_202205, the min_tls_version field must be set to TLS_1_2. Check the Profile enum for the list of possible values.
optional string profile = 227445161;- Parameters:
value- The bytes for profile to set.- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()Output only. [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
optional string region = 138946292;- Specified by:
hasRegionin interfaceSslPolicyOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
Output only. [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
optional string region = 138946292;- Specified by:
getRegionin interfaceSslPolicyOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Output only. [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceSslPolicyOrBuilder- Returns:
- The bytes for region.
-
setRegion
Output only. [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Output only. [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
Output only. [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceSslPolicyOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceSslPolicyOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceSslPolicyOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [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
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [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.
-
getWarningsList
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsListin interfaceSslPolicyOrBuilder
-
getWarningsCount
public int getWarningsCount()Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsCountin interfaceSslPolicyOrBuilder
-
getWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsin interfaceSslPolicyOrBuilder
-
setWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
setWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
addWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
addWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
addWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
addWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
addAllWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
clearWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
removeWarnings
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
getWarningsBuilder
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
getWarningsOrBuilder
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsOrBuilderin interfaceSslPolicyOrBuilder
-
getWarningsOrBuilderList
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsOrBuilderListin interfaceSslPolicyOrBuilder
-
addWarningsBuilder
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
addWarningsBuilder
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095; -
getWarningsBuilderList
Output only. [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-