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.Builder
addAllSslCertificates(Iterable<String> values)
URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxy.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TargetSslProxy.Builder
addSslCertificates(String value)
URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxy.Builder
addSslCertificatesBytes(com.google.protobuf.ByteString value)
URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxy
build()
TargetSslProxy
buildPartial()
TargetSslProxy.Builder
clear()
TargetSslProxy.Builder
clearCertificateMap()
URL of a certificate map that identifies a certificate map associated with the given target proxy.TargetSslProxy.Builder
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.TargetSslProxy.Builder
clearDescription()
An optional description of this resource.TargetSslProxy.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TargetSslProxy.Builder
clearId()
[Output Only] The unique identifier for the resource.TargetSslProxy.Builder
clearKind()
[Output Only] Type of the resource.TargetSslProxy.Builder
clearName()
Name of the resource.TargetSslProxy.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TargetSslProxy.Builder
clearProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.TargetSslProxy.Builder
clearSelfLink()
[Output Only] Server-defined URL for the resource.TargetSslProxy.Builder
clearService()
URL to the BackendService resource.TargetSslProxy.Builder
clearSslCertificates()
URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxy.Builder
clearSslPolicy()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource.TargetSslProxy.Builder
clone()
String
getCertificateMap()
URL of a certificate map that identifies a certificate map associated with the given target proxy.com.google.protobuf.ByteString
getCertificateMapBytes()
URL of a certificate map that identifies a certificate map associated with the given target proxy.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.TargetSslProxy
getDefaultInstanceForType()
String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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
getName()
Name of the resource.com.google.protobuf.ByteString
getNameBytes()
Name of the resource.String
getProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.com.google.protobuf.ByteString
getProxyHeaderBytes()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.String
getService()
URL to the BackendService resource.com.google.protobuf.ByteString
getServiceBytes()
URL to the BackendService resource.String
getSslCertificates(int index)
URLs to SslCertificate resources that are used to authenticate connections to Backends.com.google.protobuf.ByteString
getSslCertificatesBytes(int index)
URLs to SslCertificate resources that are used to authenticate connections to Backends.int
getSslCertificatesCount()
URLs to SslCertificate resources that are used to authenticate connections to Backends.com.google.protobuf.ProtocolStringList
getSslCertificatesList()
URLs to SslCertificate resources that are used to authenticate connections to Backends.String
getSslPolicy()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource.com.google.protobuf.ByteString
getSslPolicyBytes()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource.boolean
hasCertificateMap()
URL of a certificate map that identifies a certificate map associated with the given target proxy.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasName()
Name of the resource.boolean
hasProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasService()
URL to the BackendService resource.boolean
hasSslPolicy()
URL of SslPolicy resource that will be associated with the TargetSslProxy resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TargetSslProxy.Builder
mergeFrom(TargetSslProxy other)
TargetSslProxy.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TargetSslProxy.Builder
mergeFrom(com.google.protobuf.Message other)
TargetSslProxy.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TargetSslProxy.Builder
setCertificateMap(String value)
URL of a certificate map that identifies a certificate map associated with the given target proxy.TargetSslProxy.Builder
setCertificateMapBytes(com.google.protobuf.ByteString value)
URL of a certificate map that identifies a certificate map associated with the given target proxy.TargetSslProxy.Builder
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.TargetSslProxy.Builder
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.TargetSslProxy.Builder
setDescription(String value)
An optional description of this resource.TargetSslProxy.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.TargetSslProxy.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TargetSslProxy.Builder
setId(long value)
[Output Only] The unique identifier for the resource.TargetSslProxy.Builder
setKind(String value)
[Output Only] Type of the resource.TargetSslProxy.Builder
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.TargetSslProxy.Builder
setName(String value)
Name of the resource.TargetSslProxy.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.TargetSslProxy.Builder
setProxyHeader(String value)
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.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.TargetSslProxy.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TargetSslProxy.Builder
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.TargetSslProxy.Builder
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.TargetSslProxy.Builder
setService(String value)
URL to the BackendService resource.TargetSslProxy.Builder
setServiceBytes(com.google.protobuf.ByteString value)
URL to the BackendService resource.TargetSslProxy.Builder
setSslCertificates(int index, String value)
URLs to SslCertificate resources that are used to authenticate connections to Backends.TargetSslProxy.Builder
setSslPolicy(String value)
URL of SslPolicy resource that will be associated with the TargetSslProxy resource.TargetSslProxy.Builder
setSslPolicyBytes(com.google.protobuf.ByteString value)
URL of SslPolicy resource that will be associated with the TargetSslProxy resource.TargetSslProxy.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
clear
public TargetSslProxy.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
getDefaultInstanceForType
public TargetSslProxy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TargetSslProxy build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TargetSslProxy buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TargetSslProxy.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
setField
public TargetSslProxy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
clearField
public TargetSslProxy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
clearOneof
public TargetSslProxy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
setRepeatedField
public TargetSslProxy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
addRepeatedField
public TargetSslProxy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
mergeFrom
public TargetSslProxy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TargetSslProxy.Builder>
-
mergeFrom
public TargetSslProxy.Builder mergeFrom(TargetSslProxy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasCertificateMap
in 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:
getCertificateMap
in 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:
getCertificateMapBytes
in 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:
hasCreationTimestamp
in 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:
getCreationTimestamp
in 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:
getCreationTimestampBytes
in 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:
hasDescription
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
hasId
in 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:
getId
in 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:
hasKind
in 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:
getKind
in 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:
getKindBytes
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
hasProxyHeader
in 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:
getProxyHeader
in 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:
getProxyHeaderBytes
in 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:
hasSelfLink
in 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:
getSelfLink
in 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:
getSelfLinkBytes
in 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:
hasService
in interfaceTargetSslProxyOrBuilder
- Returns:
- Whether the service field is set.
-
getService
public String getService()
URL to the BackendService resource.
optional string service = 373540533;
- Specified by:
getService
in interfaceTargetSslProxyOrBuilder
- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()
URL to the BackendService resource.
optional string service = 373540533;
- Specified by:
getServiceBytes
in 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:
getSslCertificatesList
in 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:
getSslCertificatesCount
in 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:
getSslCertificates
in 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:
getSslCertificatesBytes
in 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:
hasSslPolicy
in 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:
getSslPolicy
in 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:
getSslPolicyBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
mergeUnknownFields
public final TargetSslProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TargetSslProxy.Builder>
-
-