Package com.google.cloud.compute.v1
Interface SslPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SslPolicy
,SslPolicy.Builder
public interface SslPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.String
getCustomFeatures(int index)
A list of features enabled when the selected profile is CUSTOM.com.google.protobuf.ByteString
getCustomFeaturesBytes(int index)
A list of features enabled when the selected profile is CUSTOM.int
getCustomFeaturesCount()
A list of features enabled when the selected profile is CUSTOM.List<String>
getCustomFeaturesList()
A list of features enabled when the selected profile is CUSTOM.String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.String
getEnabledFeatures(int index)
[Output Only] The list of features enabled in the SSL policy.com.google.protobuf.ByteString
getEnabledFeaturesBytes(int index)
[Output Only] The list of features enabled in the SSL policy.int
getEnabledFeaturesCount()
[Output Only] The list of features enabled in the SSL policy.List<String>
getEnabledFeaturesList()
[Output Only] The list of features enabled in the SSL policy.String
getFingerprint()
Fingerprint of this resource.com.google.protobuf.ByteString
getFingerprintBytes()
Fingerprint of this resource.long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output only] Type of the resource.String
getMinTlsVersion()
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer.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.String
getName()
Name of the resource.com.google.protobuf.ByteString
getNameBytes()
Name of the resource.String
getProfile()
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients.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.String
getRegion()
[Output Only] URL of the region where the regional SSL policy resides.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] URL of the region where the regional SSL policy resides.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.Warnings
getWarnings(int index)
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.int
getWarningsCount()
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.List<Warnings>
getWarningsList()
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.WarningsOrBuilder
getWarningsOrBuilder(int index)
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.List<? extends WarningsOrBuilder>
getWarningsOrBuilderList()
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasFingerprint()
Fingerprint of this resource.boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output only] Type of the resource.boolean
hasMinTlsVersion()
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer.boolean
hasName()
Name of the resource.boolean
hasProfile()
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients.boolean
hasRegion()
[Output Only] URL of the region where the regional SSL policy resides.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The bytes for creationTimestamp.
-
getCustomFeaturesList
List<String> 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 not CUSTOM.
repeated string custom_features = 34789707;
- Returns:
- A list containing the customFeatures.
-
getCustomFeaturesCount
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 not CUSTOM.
repeated string custom_features = 34789707;
- Returns:
- The count of customFeatures.
-
getCustomFeatures
String getCustomFeatures(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 not CUSTOM.
repeated string custom_features = 34789707;
- Parameters:
index
- The index of the element to return.- Returns:
- The customFeatures at the given index.
-
getCustomFeaturesBytes
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 not CUSTOM.
repeated string custom_features = 34789707;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the customFeatures at the given index.
-
hasDescription
boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- The bytes for description.
-
getEnabledFeaturesList
List<String> getEnabledFeaturesList()
[Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;
- Returns:
- A list containing the enabledFeatures.
-
getEnabledFeaturesCount
int getEnabledFeaturesCount()
[Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;
- Returns:
- The count of enabledFeatures.
-
getEnabledFeatures
String getEnabledFeatures(int index)
[Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;
- Parameters:
index
- The index of the element to return.- Returns:
- The enabledFeatures at the given index.
-
getEnabledFeaturesBytes
com.google.protobuf.ByteString getEnabledFeaturesBytes(int index)
[Output Only] The list of features enabled in the SSL policy.
repeated string enabled_features = 469017467;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the enabledFeatures at the given index.
-
hasFingerprint
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;
- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
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 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:
- The fingerprint.
-
getFingerprintBytes
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;
- Returns:
- The bytes for fingerprint.
-
hasId
boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- The id.
-
hasKind
boolean hasKind()
[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
optional string kind = 3292052;
- Returns:
- The bytes for kind.
-
hasMinTlsVersion
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 of TLS_1_0, TLS_1_1, TLS_1_2. Check the MinTlsVersion enum for the list of possible values.
optional string min_tls_version = 8155943;
- Returns:
- Whether the minTlsVersion field is set.
-
getMinTlsVersion
String 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 of TLS_1_0, TLS_1_1, TLS_1_2. Check the MinTlsVersion enum for the list of possible values.
optional string min_tls_version = 8155943;
- Returns:
- The minTlsVersion.
-
getMinTlsVersionBytes
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 of TLS_1_0, TLS_1_1, TLS_1_2. Check the MinTlsVersion enum for the list of possible values.
optional string min_tls_version = 8155943;
- Returns:
- The bytes for minTlsVersion.
-
hasName
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;
- Returns:
- Whether the name field is set.
-
getName
String 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;
- Returns:
- The name.
-
getNameBytes
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;
- Returns:
- The bytes for name.
-
hasProfile
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 of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. Check the Profile enum for the list of possible values.
optional string profile = 227445161;
- Returns:
- Whether the profile field is set.
-
getProfile
String 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 of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. Check the Profile enum for the list of possible values.
optional string profile = 227445161;
- Returns:
- The profile.
-
getProfileBytes
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 of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. Check the Profile enum for the list of possible values.
optional string profile = 227445161;
- Returns:
- The bytes for profile.
-
hasRegion
boolean hasRegion()
[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:
- Whether the region field is set.
-
getRegion
String getRegion()
[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:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()
[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:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The bytes for selfLink.
-
getWarningsList
List<Warnings> getWarningsList()
[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;
-
getWarnings
Warnings getWarnings(int index)
[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;
-
getWarningsCount
int getWarningsCount()
[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;
-
getWarningsOrBuilderList
List<? extends WarningsOrBuilder> getWarningsOrBuilderList()
[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
WarningsOrBuilder getWarningsOrBuilder(int index)
[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;
-
-