public final class TargetSslProxy extends com.google.protobuf.GeneratedMessageV3 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 type
google.cloud.compute.v1.TargetSslProxy| Modifier and Type | Class and Description |
|---|---|
static class |
TargetSslProxy.Builder
Represents a Target SSL Proxy resource.
|
static class |
TargetSslProxy.ProxyHeader
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CERTIFICATE_MAP_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PROXY_HEADER_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
SERVICE_FIELD_NUMBER |
static int |
SSL_CERTIFICATES_FIELD_NUMBER |
static int |
SSL_POLICY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static TargetSslProxy |
getDefaultInstance() |
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() |
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.
|
com.google.protobuf.Parser<TargetSslProxy> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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() |
static TargetSslProxy.Builder |
newBuilder() |
static TargetSslProxy.Builder |
newBuilder(TargetSslProxy prototype) |
TargetSslProxy.Builder |
newBuilderForType() |
protected TargetSslProxy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TargetSslProxy |
parseDelimitedFrom(InputStream input) |
static TargetSslProxy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetSslProxy |
parseFrom(byte[] data) |
static TargetSslProxy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetSslProxy |
parseFrom(ByteBuffer data) |
static TargetSslProxy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetSslProxy |
parseFrom(com.google.protobuf.ByteString data) |
static TargetSslProxy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetSslProxy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TargetSslProxy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TargetSslProxy |
parseFrom(InputStream input) |
static TargetSslProxy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TargetSslProxy> |
parser() |
TargetSslProxy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CERTIFICATE_MAP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int PROXY_HEADER_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
public static final int SSL_CERTIFICATES_FIELD_NUMBER
public static final int SSL_POLICY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.
optional string certificate_map = 156463796;hasCertificateMap in interface TargetSslProxyOrBuilderpublic 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.
optional string certificate_map = 156463796;getCertificateMap in interface TargetSslProxyOrBuilderpublic 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.
optional string certificate_map = 156463796;getCertificateMapBytes in interface TargetSslProxyOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface TargetSslProxyOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface TargetSslProxyOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface TargetSslProxyOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface TargetSslProxyOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface TargetSslProxyOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface TargetSslProxyOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface TargetSslProxyOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface TargetSslProxyOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
optional string kind = 3292052;hasKind in interface TargetSslProxyOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
optional string kind = 3292052;getKind in interface TargetSslProxyOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.
optional string kind = 3292052;getKindBytes in interface TargetSslProxyOrBuilderpublic 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;hasName in interface TargetSslProxyOrBuilderpublic 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;getName in interface TargetSslProxyOrBuilderpublic 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;getNameBytes in interface TargetSslProxyOrBuilderpublic 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;hasProxyHeader in interface TargetSslProxyOrBuilderpublic 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;getProxyHeader in interface TargetSslProxyOrBuilderpublic 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;getProxyHeaderBytes in interface TargetSslProxyOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface TargetSslProxyOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface TargetSslProxyOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface TargetSslProxyOrBuilderpublic boolean hasService()
URL to the BackendService resource.
optional string service = 373540533;hasService in interface TargetSslProxyOrBuilderpublic String getService()
URL to the BackendService resource.
optional string service = 373540533;getService in interface TargetSslProxyOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
URL to the BackendService resource.
optional string service = 373540533;getServiceBytes in interface TargetSslProxyOrBuilderpublic 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;getSslCertificatesList in interface TargetSslProxyOrBuilderpublic 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;getSslCertificatesCount in interface TargetSslProxyOrBuilderpublic 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;getSslCertificates in interface TargetSslProxyOrBuilderindex - The index of the element to return.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;getSslCertificatesBytes in interface TargetSslProxyOrBuilderindex - The index of the value to return.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;hasSslPolicy in interface TargetSslProxyOrBuilderpublic 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;getSslPolicy in interface TargetSslProxyOrBuilderpublic 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;getSslPolicyBytes in interface TargetSslProxyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TargetSslProxy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetSslProxy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetSslProxy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetSslProxy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetSslProxy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetSslProxy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TargetSslProxy parseFrom(InputStream input) throws IOException
IOExceptionpublic static TargetSslProxy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TargetSslProxy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TargetSslProxy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TargetSslProxy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TargetSslProxy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TargetSslProxy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TargetSslProxy.Builder newBuilder()
public static TargetSslProxy.Builder newBuilder(TargetSslProxy prototype)
public TargetSslProxy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TargetSslProxy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TargetSslProxy getDefaultInstance()
public static com.google.protobuf.Parser<TargetSslProxy> parser()
public com.google.protobuf.Parser<TargetSslProxy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TargetSslProxy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.