- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public interface ServiceAttachmentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsMetadata(String key)
public abstract boolean containsMetadata(String key)Metadata of the service attachment.
map<string, string> metadata = 86866735;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getConnectedEndpoints(int index)
public abstract ServiceAttachmentConnectedEndpoint getConnectedEndpoints(int index)[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint |
|
getConnectedEndpointsCount()
public abstract int getConnectedEndpointsCount()[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
| Returns | |
|---|---|
| Type | Description |
int |
|
getConnectedEndpointsList()
public abstract List<ServiceAttachmentConnectedEndpoint> getConnectedEndpointsList()[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
| Returns | |
|---|---|
| Type | Description |
List<ServiceAttachmentConnectedEndpoint> |
|
getConnectedEndpointsOrBuilder(int index)
public abstract ServiceAttachmentConnectedEndpointOrBuilder getConnectedEndpointsOrBuilder(int index)[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpointOrBuilder |
|
getConnectedEndpointsOrBuilderList()
public abstract List<? extends ServiceAttachmentConnectedEndpointOrBuilder> getConnectedEndpointsOrBuilderList()[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.ServiceAttachmentConnectedEndpointOrBuilder> |
|
getConnectionPreference()
public abstract String getConnectionPreference()The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;
| Returns | |
|---|---|
| Type | Description |
String |
The connectionPreference. |
getConnectionPreferenceBytes()
public abstract ByteString getConnectionPreferenceBytes()The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for connectionPreference. |
getConsumerAcceptLists(int index)
public abstract ServiceAttachmentConsumerProjectLimit getConsumerAcceptLists(int index)Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks or only endpoints.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit |
|
getConsumerAcceptListsCount()
public abstract int getConsumerAcceptListsCount()Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks or only endpoints.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
| Returns | |
|---|---|
| Type | Description |
int |
|
getConsumerAcceptListsList()
public abstract List<ServiceAttachmentConsumerProjectLimit> getConsumerAcceptListsList()Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks or only endpoints.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
| Returns | |
|---|---|
| Type | Description |
List<ServiceAttachmentConsumerProjectLimit> |
|
getConsumerAcceptListsOrBuilder(int index)
public abstract ServiceAttachmentConsumerProjectLimitOrBuilder getConsumerAcceptListsOrBuilder(int index)Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks or only endpoints.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimitOrBuilder |
|
getConsumerAcceptListsOrBuilderList()
public abstract List<? extends ServiceAttachmentConsumerProjectLimitOrBuilder> getConsumerAcceptListsOrBuilderList()Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks or only endpoints.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimitOrBuilder> |
|
getConsumerRejectLists(int index)
public abstract String getConsumerRejectLists(int index)Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
repeated string consumer_reject_lists = 204033182;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The consumerRejectLists at the given index. |
getConsumerRejectListsBytes(int index)
public abstract ByteString getConsumerRejectListsBytes(int index)Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
repeated string consumer_reject_lists = 204033182;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the consumerRejectLists at the given index. |
getConsumerRejectListsCount()
public abstract int getConsumerRejectListsCount()Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
repeated string consumer_reject_lists = 204033182;
| Returns | |
|---|---|
| Type | Description |
int |
The count of consumerRejectLists. |
getConsumerRejectListsList()
public abstract List<String> getConsumerRejectListsList()Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
repeated string consumer_reject_lists = 204033182;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the consumerRejectLists. |
getCreationTimestamp()
public abstract String getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
String |
The creationTimestamp. |
getCreationTimestampBytes()
public abstract ByteString getCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for creationTimestamp. |
getDescription()
public abstract String getDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDomainNames(int index)
public abstract String getDomainNames(int index)If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The domainNames at the given index. |
getDomainNamesBytes(int index)
public abstract ByteString getDomainNamesBytes(int index)If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the domainNames at the given index. |
getDomainNamesCount()
public abstract int getDomainNamesCount()If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;
| Returns | |
|---|---|
| Type | Description |
int |
The count of domainNames. |
getDomainNamesList()
public abstract List<String> getDomainNamesList()If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the domainNames. |
getEnableProxyProtocol()
public abstract boolean getEnableProxyProtocol()If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers.
optional bool enable_proxy_protocol = 363791237;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableProxyProtocol. |
getFingerprint()
public abstract String getFingerprint()Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.
optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description |
String |
The fingerprint. |
getFingerprintBytes()
public abstract ByteString getFingerprintBytes()Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.
optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fingerprint. |
getId()
public abstract long getId()[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
long |
The id. |
getKind()
public abstract String getKind()[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public abstract ByteString getKindBytes()[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getMetadata() (deprecated)
public abstract Map<String,String> getMetadata()Use #getMetadataMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMetadataCount()
public abstract int getMetadataCount()Metadata of the service attachment.
map<string, string> metadata = 86866735;
| Returns | |
|---|---|
| Type | Description |
int |
|
getMetadataMap()
public abstract Map<String,String> getMetadataMap()Metadata of the service attachment.
map<string, string> metadata = 86866735;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMetadataOrDefault(String key, String defaultValue)
public abstract String getMetadataOrDefault(String key, String defaultValue)Metadata of the service attachment.
map<string, string> metadata = 86866735;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMetadataOrThrow(String key)
public abstract String getMetadataOrThrow(String key)Metadata of the service attachment.
map<string, string> metadata = 86866735;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getName()
public abstract 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? 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 | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract 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? 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNatSubnets(int index)
public abstract String getNatSubnets(int index)An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.
repeated string nat_subnets = 374785944;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The natSubnets at the given index. |
getNatSubnetsBytes(int index)
public abstract ByteString getNatSubnetsBytes(int index)An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.
repeated string n