com.google.cloud.compute.v1.ServiceAttachmentOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-compute-v1 Show documentation
Show all versions of proto-google-cloud-compute-v1 Show documentation
Proto library for google-cloud-compute
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface ServiceAttachmentOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ServiceAttachment)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* [Output Only] An array of connections for all the consumers connected to this service attachment.
*
*
*
* repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
*
*/
java.util.List
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;
*
*/
com.google.cloud.compute.v1.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;
*
*/
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;
*
*/
java.util.List extends com.google.cloud.compute.v1.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;
*
*/
com.google.cloud.compute.v1.ServiceAttachmentConnectedEndpointOrBuilder
getConnectedEndpointsOrBuilder(int index);
/**
*
*
*
* 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;
*
* @return Whether the connectionPreference field is set.
*/
boolean hasConnectionPreference();
/**
*
*
*
* 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;
*
* @return The connectionPreference.
*/
java.lang.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;
*
* @return The bytes for connectionPreference.
*/
com.google.protobuf.ByteString getConnectionPreferenceBytes();
/**
*
*
*
* 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.
*
*
*
* repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
*
*/
java.util.List
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.
*
*
*
* repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
*
*/
com.google.cloud.compute.v1.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.
*
*
*
* repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
*
*/
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.
*
*
*
* repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
*
*/
java.util.List<
? extends com.google.cloud.compute.v1.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.
*
*
*
* repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
*
*/
com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimitOrBuilder
getConsumerAcceptListsOrBuilder(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;
*
* @return A list containing the consumerRejectLists.
*/
java.util.List 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;
*
* @return The count of consumerRejectLists.
*/
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;
*
* @param index The index of the element to return.
* @return The consumerRejectLists at the given index.
*/
java.lang.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;
*
* @param index The index of the value to return.
* @return The bytes of the consumerRejectLists at the given index.
*/
com.google.protobuf.ByteString getConsumerRejectListsBytes(int index);
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return Whether the creationTimestamp field is set.
*/
boolean hasCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The creationTimestamp.
*/
java.lang.String getCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The bytes for creationTimestamp.
*/
com.google.protobuf.ByteString getCreationTimestampBytes();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* 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;
*
* @return A list containing the domainNames.
*/
java.util.List 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;
*
* @return The count of domainNames.
*/
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;
*
* @param index The index of the element to return.
* @return The domainNames at the given index.
*/
java.lang.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;
*
* @param index The index of the value to return.
* @return The bytes of the domainNames at the given index.
*/
com.google.protobuf.ByteString getDomainNamesBytes(int index);
/**
*
*
*
* 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;
*
* @return Whether the enableProxyProtocol field is set.
*/
boolean hasEnableProxyProtocol();
/**
*
*
*
* 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;
*
* @return The enableProxyProtocol.
*/
boolean getEnableProxyProtocol();
/**
*
*
*
* 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;
*
* @return Whether the fingerprint field is set.
*/
boolean hasFingerprint();
/**
*
*
*
* Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a 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;
*
* @return The fingerprint.
*/
java.lang.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;
*
* @return The bytes for fingerprint.
*/
com.google.protobuf.ByteString getFingerprintBytes();
/**
*
*
*
* [Output Only] The unique identifier for the resource type. The server generates this identifier.
*
*
* optional uint64 id = 3355;
*
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
*
*
* [Output Only] The unique identifier for the resource type. The server generates this identifier.
*
*
* optional uint64 id = 3355;
*
* @return The id.
*/
long getId();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
*
*
* optional string kind = 3292052;
*
* @return Whether the kind field is set.
*/
boolean hasKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
*
*
* optional string kind = 3292052;
*
* @return The kind.
*/
java.lang.String getKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
*
*
* optional string kind = 3292052;
*
* @return The bytes for kind.
*/
com.google.protobuf.ByteString getKindBytes();
/**
*
*
*
* 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;
*
* @return Whether the name field is set.
*/
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;
*
* @return The name.
*/
java.lang.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;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* 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;
*
* @return A list containing the natSubnets.
*/
java.util.List getNatSubnetsList();
/**
*
*
*
* 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;
*
* @return The count of natSubnets.
*/
int getNatSubnetsCount();
/**
*
*
*
* 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;
*
* @param index The index of the element to return.
* @return The natSubnets at the given index.
*/
java.lang.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;
*
* @param index The index of the value to return.
* @return The bytes of the natSubnets at the given index.
*/
com.google.protobuf.ByteString getNatSubnetsBytes(int index);
/**
*
*
*
* The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
*
*
* optional string producer_forwarding_rule = 247927889;
*
* @return Whether the producerForwardingRule field is set.
*/
boolean hasProducerForwardingRule();
/**
*
*
*
* The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
*
*
* optional string producer_forwarding_rule = 247927889;
*
* @return The producerForwardingRule.
*/
java.lang.String getProducerForwardingRule();
/**
*
*
*
* The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
*
*
* optional string producer_forwarding_rule = 247927889;
*
* @return The bytes for producerForwardingRule.
*/
com.google.protobuf.ByteString getProducerForwardingRuleBytes();
/**
*
*
*
* The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center. This limit lets the service producer limit how many propagated Private Service Connect connections can be established to this service attachment from a single consumer. If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list. If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint. If unspecified, the default propagated connection limit is 250.
*
*
* optional uint32 propagated_connection_limit = 332719230;
*
* @return Whether the propagatedConnectionLimit field is set.
*/
boolean hasPropagatedConnectionLimit();
/**
*
*
*
* The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center. This limit lets the service producer limit how many propagated Private Service Connect connections can be established to this service attachment from a single consumer. If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list. If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint. If unspecified, the default propagated connection limit is 250.
*
*
* optional uint32 propagated_connection_limit = 332719230;
*
* @return The propagatedConnectionLimit.
*/
int getPropagatedConnectionLimit();
/**
*
*
*
* [Output Only] An 128-bit global unique ID of the PSC service attachment.
*
*
* optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
*
* @return Whether the pscServiceAttachmentId field is set.
*/
boolean hasPscServiceAttachmentId();
/**
*
*
*
* [Output Only] An 128-bit global unique ID of the PSC service attachment.
*
*
* optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
*
* @return The pscServiceAttachmentId.
*/
com.google.cloud.compute.v1.Uint128 getPscServiceAttachmentId();
/**
*
*
*
* [Output Only] An 128-bit global unique ID of the PSC service attachment.
*
*
* optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
*/
com.google.cloud.compute.v1.Uint128OrBuilder getPscServiceAttachmentIdOrBuilder();
/**
*
*
*
* This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. - If false, connection policy update will only affect existing PENDING PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched regardless how the connection policy is modified . - If true, update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the reject list. For newly created service attachment, this boolean defaults to false.
*
*
* optional bool reconcile_connections = 125493732;
*
* @return Whether the reconcileConnections field is set.
*/
boolean hasReconcileConnections();
/**
*
*
*
* This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. - If false, connection policy update will only affect existing PENDING PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched regardless how the connection policy is modified . - If true, update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the reject list. For newly created service attachment, this boolean defaults to false.
*
*
* optional bool reconcile_connections = 125493732;
*
* @return The reconcileConnections.
*/
boolean getReconcileConnections();
/**
*
*
*
* [Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
*
*
* optional string region = 138946292;
*
* @return Whether the region field is set.
*/
boolean hasRegion();
/**
*
*
*
* [Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
*
*
* optional string region = 138946292;
*
* @return The region.
*/
java.lang.String getRegion();
/**
*
*
*
* [Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
*
*
* optional string region = 138946292;
*
* @return The bytes for region.
*/
com.google.protobuf.ByteString getRegionBytes();
/**
*
*
*
* [Output Only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return Whether the selfLink field is set.
*/
boolean hasSelfLink();
/**
*
*
*
* [Output Only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return The selfLink.
*/
java.lang.String getSelfLink();
/**
*
*
*
* [Output Only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return The bytes for selfLink.
*/
com.google.protobuf.ByteString getSelfLinkBytes();
/**
*
*
*
* The URL of a service serving the endpoint identified by this service attachment.
*
*
* optional string target_service = 1293831;
*
* @return Whether the targetService field is set.
*/
boolean hasTargetService();
/**
*
*
*
* The URL of a service serving the endpoint identified by this service attachment.
*
*
* optional string target_service = 1293831;
*
* @return The targetService.
*/
java.lang.String getTargetService();
/**
*
*
*
* The URL of a service serving the endpoint identified by this service attachment.
*
*
* optional string target_service = 1293831;
*
* @return The bytes for targetService.
*/
com.google.protobuf.ByteString getTargetServiceBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy