Package com.google.cloud.compute.v1
Class TargetSslProxy.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
- com.google.cloud.compute.v1.TargetSslProxy.Builder
-
- All Implemented Interfaces:
TargetSslProxyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TargetSslProxy
public static final class TargetSslProxy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder> implements TargetSslProxyOrBuilder
Represents a Target SSL Proxy resource. A target SSL proxy is a component of a SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies.
Protobuf typegoogle.cloud.compute.v1.TargetSslProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetSslProxy.BuilderaddAllSslCertificates(Iterable<String> values)URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxy.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TargetSslProxy.BuilderaddSslCertificates(String value)URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxy.BuilderaddSslCertificatesBytes(com.google.protobuf.ByteString value)URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxybuild()TargetSslProxybuildPartial()TargetSslProxy.Builderclear()TargetSslProxy.BuilderclearCertificateMap()URL of a certificate map that identifies a certificate map associated with the given target proxy.TargetSslProxy.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.TargetSslProxy.BuilderclearDescription()An optional description of this resource.TargetSslProxy.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TargetSslProxy.BuilderclearId()[Output Only] The unique identifier for the resource.TargetSslProxy.BuilderclearKind()[Output Only] Type of the resource.TargetSslProxy.BuilderclearName()Name of the resource.TargetSslProxy.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TargetSslProxy.BuilderclearProxyHeader()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.TargetSslProxy.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.TargetSslProxy.BuilderclearService()URL to the BackendService resource.TargetSslProxy.BuilderclearSslCertificates()URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxy.BuilderclearSslPolicy()URL of SslPolicy resource that will be associated with the TargetSslProxy resource.TargetSslProxy.Builderclone()StringgetCertificateMap()URL of a certificate map that identifies a certificate map associated with the given target proxy.com.google.protobuf.ByteStringgetCertificateMapBytes()URL of a certificate map that identifies a certificate map associated with the given target proxy.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.TargetSslProxygetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.StringgetProxyHeader()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.com.google.protobuf.ByteStringgetProxyHeaderBytes()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.StringgetService()URL to the BackendService resource.com.google.protobuf.ByteStringgetServiceBytes()URL to the BackendService resource.StringgetSslCertificates(int index)URLs to SslCertificate resources that are used to authenticate connections to Backends.com.google.protobuf.ByteStringgetSslCertificatesBytes(int index)URLs to SslCertificate resources that are used to authenticate connections to Backends.intgetSslCertificatesCount()URLs to SslCertificate resources that are used to authenticate connections to Backends.com.google.protobuf.ProtocolStringListgetSslCertificatesList()URLs to SslCertificate resources that are used to authenticate connections to Backends.StringgetSslPolicy()URL of SslPolicy resource that will be associated with the TargetSslProxy resource.com.google.protobuf.ByteStringgetSslPolicyBytes()URL of SslPolicy resource that will be associated with the TargetSslProxy resource.booleanhasCertificateMap()URL of a certificate map that identifies a certificate map associated with the given target proxy.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of the resource.booleanhasName()Name of the resource.booleanhasProxyHeader()Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasService()URL to the BackendService resource.booleanhasSslPolicy()URL of SslPolicy resource that will be associated with the TargetSslProxy resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TargetSslProxy.BuildermergeFrom(TargetSslProxy other)TargetSslProxy.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TargetSslProxy.BuildermergeFrom(com.google.protobuf.Message other)TargetSslProxy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TargetSslProxy.BuildersetCertificateMap(String value)URL of a certificate map that identifies a certificate map associated with the given target proxy.TargetSslProxy.BuildersetCertificateMapBytes(com.google.protobuf.ByteString value)URL of a certificate map that identifies a certificate map associated with the given target proxy.TargetSslProxy.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.TargetSslProxy.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.TargetSslProxy.BuildersetDescription(String value)An optional description of this resource.TargetSslProxy.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.TargetSslProxy.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TargetSslProxy.BuildersetId(long value)[Output Only] The unique identifier for the resource.TargetSslProxy.BuildersetKind(String value)[Output Only] Type of the resource.TargetSslProxy.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.TargetSslProxy.BuildersetName(String value)Name of the resource.TargetSslProxy.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource.TargetSslProxy.BuildersetProxyHeader(String value)Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.TargetSslProxy.BuildersetProxyHeaderBytes(com.google.protobuf.ByteString value)Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.TargetSslProxy.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TargetSslProxy.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.TargetSslProxy.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.TargetSslProxy.BuildersetService(String value)URL to the BackendService resource.TargetSslProxy.BuildersetServiceBytes(com.google.protobuf.ByteString value)URL to the BackendService resource.TargetSslProxy.BuildersetSslCertificates(int index, String value)URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxy.BuildersetSslPolicy(String value)URL of SslPolicy resource that will be associated with the TargetSslProxy resource.TargetSslProxy.BuildersetSslPolicyBytes(com.google.protobuf.ByteString value)URL of SslPolicy resource that will be associated with the TargetSslProxy resource.TargetSslProxy.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
clear
public TargetSslProxy.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.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.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
getDefaultInstanceForType
public TargetSslProxy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TargetSslProxy build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TargetSslProxy buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TargetSslProxy.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
setField
public TargetSslProxy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
clearField
public TargetSslProxy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
clearOneof
public TargetSslProxy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
setRepeatedField
public TargetSslProxy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
addRepeatedField
public TargetSslProxy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
mergeFrom
public TargetSslProxy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetSslProxy.Builder>
-
mergeFrom
public TargetSslProxy.Builder mergeFrom(TargetSslProxy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
mergeFrom
public TargetSslProxy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetSslProxy.Builder>- Throws:
IOException
-
hasCertificateMap
public boolean hasCertificateMap()
URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.optional string certificate_map = 156463796;- Specified by:
hasCertificateMapin interfaceTargetSslProxyOrBuilder- Returns:
- Whether the certificateMap field is set.
-
getCertificateMap
public String getCertificateMap()
URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.optional string certificate_map = 156463796;- Specified by:
getCertificateMapin interfaceTargetSslProxyOrBuilder- Returns:
- The certificateMap.
-
getCertificateMapBytes
public com.google.protobuf.ByteString getCertificateMapBytes()
URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.optional string certificate_map = 156463796;- Specified by:
getCertificateMapBytesin interfaceTargetSslProxyOrBuilder- Returns:
- The bytes for certificateMap.
-
setCertificateMap
public TargetSslProxy.Builder setCertificateMap(String value)
URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.optional string certificate_map = 156463796;- Parameters:
value- The certificateMap to set.- Returns:
- This builder for chaining.
-
clearCertificateMap
public TargetSslProxy.Builder clearCertificateMap()
URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.optional string certificate_map = 156463796;- Returns:
- This builder for chaining.
-
setCertificateMapBytes
public TargetSslProxy.Builder setCertificateMapBytes(com.google.protobuf.ByteString value)
URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.optional string certificate_map = 156463796;- Parameters:
value- The bytes for certificateMap to set.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceTargetSslProxyOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceTargetSslProxyOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceTargetSslProxyOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public TargetSslProxy.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public TargetSslProxy.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public TargetSslProxy.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceTargetSslProxyOrBuilder- 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:
getDescriptionin interfaceTargetSslProxyOrBuilder- 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 interfaceTargetSslProxyOrBuilder- Returns:
- The bytes for description.
-
setDescription
public TargetSslProxy.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public TargetSslProxy.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public TargetSslProxy.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceTargetSslProxyOrBuilder- 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:
getIdin interfaceTargetSslProxyOrBuilder- Returns:
- The id.
-
setId
public TargetSslProxy.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public TargetSslProxy.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
optional string kind = 3292052;- Specified by:
hasKindin interfaceTargetSslProxyOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
optional string kind = 3292052;- Specified by:
getKindin interfaceTargetSslProxyOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceTargetSslProxyOrBuilder- Returns:
- The bytes for kind.
-
setKind
public TargetSslProxy.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public TargetSslProxy.Builder clearKind()
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public TargetSslProxy.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
hasNamein interfaceTargetSslProxyOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNamein interfaceTargetSslProxyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceTargetSslProxyOrBuilder- Returns:
- The bytes for name.
-
setName
public TargetSslProxy.Builder setName(String value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public TargetSslProxy.Builder clearName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public TargetSslProxy.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasProxyHeader
public boolean hasProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Specified by:
hasProxyHeaderin interfaceTargetSslProxyOrBuilder- Returns:
- Whether the proxyHeader field is set.
-
getProxyHeader
public String getProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Specified by:
getProxyHeaderin interfaceTargetSslProxyOrBuilder- Returns:
- The proxyHeader.
-
getProxyHeaderBytes
public com.google.protobuf.ByteString getProxyHeaderBytes()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Specified by:
getProxyHeaderBytesin interfaceTargetSslProxyOrBuilder- Returns:
- The bytes for proxyHeader.
-
setProxyHeader
public TargetSslProxy.Builder setProxyHeader(String value)
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Parameters:
value- The proxyHeader to set.- Returns:
- This builder for chaining.
-
clearProxyHeader
public TargetSslProxy.Builder clearProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Returns:
- This builder for chaining.
-
setProxyHeaderBytes
public TargetSslProxy.Builder setProxyHeaderBytes(com.google.protobuf.ByteString value)
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
optional string proxy_header = 160374142;- Parameters:
value- The bytes for proxyHeader to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceTargetSslProxyOrBuilder- 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:
getSelfLinkin interfaceTargetSslProxyOrBuilder- 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:
getSelfLinkBytesin interfaceTargetSslProxyOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public TargetSslProxy.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public TargetSslProxy.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public TargetSslProxy.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasService
public boolean hasService()
URL to the BackendService resource.
optional string service = 373540533;- Specified by:
hasServicein interfaceTargetSslProxyOrBuilder- Returns:
- Whether the service field is set.
-
getService
public String getService()
URL to the BackendService resource.
optional string service = 373540533;- Specified by:
getServicein interfaceTargetSslProxyOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()
URL to the BackendService resource.
optional string service = 373540533;- Specified by:
getServiceBytesin interfaceTargetSslProxyOrBuilder- Returns:
- The bytes for service.
-
setService
public TargetSslProxy.Builder setService(String value)
URL to the BackendService resource.
optional string service = 373540533;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
public TargetSslProxy.Builder clearService()
URL to the BackendService resource.
optional string service = 373540533;- Returns:
- This builder for chaining.
-
setServiceBytes
public TargetSslProxy.Builder setServiceBytes(com.google.protobuf.ByteString value)
URL to the BackendService resource.
optional string service = 373540533;- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
getSslCertificatesList
public com.google.protobuf.ProtocolStringList getSslCertificatesList()
URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
repeated string ssl_certificates = 366006543;- Specified by:
getSslCertificatesListin interfaceTargetSslProxyOrBuilder- Returns:
- A list containing the sslCertificates.
-
getSslCertificatesCount
public int getSslCertificatesCount()
URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
repeated string ssl_certificates = 366006543;- Specified by:
getSslCertificatesCountin interfaceTargetSslProxyOrBuilder- Returns:
- The count of sslCertificates.
-
getSslCertificates
public String getSslCertificates(int index)
URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
repeated string ssl_certificates = 366006543;- Specified by:
getSslCertificatesin interfaceTargetSslProxyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sslCertificates at the given index.
-
getSslCertificatesBytes
public com.google.protobuf.ByteString getSslCertificatesBytes(int index)
URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
repeated string ssl_certificates = 366006543;- Specified by:
getSslCertificatesBytesin interfaceTargetSslProxyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sslCertificates at the given index.
-
setSslCertificates
public TargetSslProxy.Builder setSslCertificates(int index, String value)
URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
repeated string ssl_certificates = 366006543;- Parameters:
index- The index to set the value at.value- The sslCertificates to set.- Returns:
- This builder for chaining.
-
addSslCertificates
public TargetSslProxy.Builder addSslCertificates(String value)
URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
repeated string ssl_certificates = 366006543;- Parameters:
value- The sslCertificates to add.- Returns:
- This builder for chaining.
-
addAllSslCertificates
public TargetSslProxy.Builder addAllSslCertificates(Iterable<String> values)
URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
repeated string ssl_certificates = 366006543;- Parameters:
values- The sslCertificates to add.- Returns:
- This builder for chaining.
-
clearSslCertificates
public TargetSslProxy.Builder clearSslCertificates()
URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
repeated string ssl_certificates = 366006543;- Returns:
- This builder for chaining.
-
addSslCertificatesBytes
public TargetSslProxy.Builder addSslCertificatesBytes(com.google.protobuf.ByteString value)
URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
repeated string ssl_certificates = 366006543;- Parameters:
value- The bytes of the sslCertificates to add.- Returns:
- This builder for chaining.
-
hasSslPolicy
public boolean hasSslPolicy()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
optional string ssl_policy = 295190213;- Specified by:
hasSslPolicyin interfaceTargetSslProxyOrBuilder- Returns:
- Whether the sslPolicy field is set.
-
getSslPolicy
public String getSslPolicy()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
optional string ssl_policy = 295190213;- Specified by:
getSslPolicyin interfaceTargetSslProxyOrBuilder- Returns:
- The sslPolicy.
-
getSslPolicyBytes
public com.google.protobuf.ByteString getSslPolicyBytes()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
optional string ssl_policy = 295190213;- Specified by:
getSslPolicyBytesin interfaceTargetSslProxyOrBuilder- Returns:
- The bytes for sslPolicy.
-
setSslPolicy
public TargetSslProxy.Builder setSslPolicy(String value)
URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
optional string ssl_policy = 295190213;- Parameters:
value- The sslPolicy to set.- Returns:
- This builder for chaining.
-
clearSslPolicy
public TargetSslProxy.Builder clearSslPolicy()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
optional string ssl_policy = 295190213;- Returns:
- This builder for chaining.
-
setSslPolicyBytes
public TargetSslProxy.Builder setSslPolicyBytes(com.google.protobuf.ByteString value)
URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.
optional string ssl_policy = 295190213;- Parameters:
value- The bytes for sslPolicy to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TargetSslProxy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
mergeUnknownFields
public final TargetSslProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
-