Interface ServiceAttachmentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ServiceAttachment, ServiceAttachment.Builder

@Generated public interface ServiceAttachmentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getConnectedEndpointsList

      List<ServiceAttachmentConnectedEndpoint> getConnectedEndpointsList()
       Output only. [Output Only] An array of connections for all the consumers connected to
       this service attachment.
       
      repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
    • getConnectedEndpoints

      ServiceAttachmentConnectedEndpoint getConnectedEndpoints(int index)
       Output only. [Output Only] An array of connections for all the consumers connected to
       this service attachment.
       
      repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
    • getConnectedEndpointsCount

      int getConnectedEndpointsCount()
       Output only. [Output Only] An array of connections for all the consumers connected to
       this service attachment.
       
      repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
    • getConnectedEndpointsOrBuilderList

      List<? extends ServiceAttachmentConnectedEndpointOrBuilder> getConnectedEndpointsOrBuilderList()
       Output only. [Output Only] An array of connections for all the consumers connected to
       this service attachment.
       
      repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
    • getConnectedEndpointsOrBuilder

      ServiceAttachmentConnectedEndpointOrBuilder getConnectedEndpointsOrBuilder(int index)
       Output only. [Output Only] An array of connections for all the consumers connected to
       this service attachment.
       
      repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
    • hasConnectionPreference

      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;
      Returns:
      Whether the connectionPreference field is set.
    • getConnectionPreference

      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:
      The connectionPreference.
    • getConnectionPreferenceBytes

      com.google.protobuf.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:
      The bytes for connectionPreference.
    • getConsumerAcceptListsList

      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;
    • getConsumerAcceptLists

      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;
    • getConsumerAcceptListsCount

      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;
    • getConsumerAcceptListsOrBuilderList

      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;
    • getConsumerAcceptListsOrBuilder

      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;
    • getConsumerRejectListsList

      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:
      A list containing the consumerRejectLists.
    • getConsumerRejectListsCount

      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:
      The count of consumerRejectLists.
    • getConsumerRejectLists

      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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The consumerRejectLists at the given index.
    • getConsumerRejectListsBytes

      com.google.protobuf.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;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the consumerRejectLists at the given index.
    • hasCreationTimestamp

      boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The bytes for creationTimestamp.
    • hasDescription

      boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      The bytes for description.
    • getDomainNamesList

      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:
      A list containing the domainNames.
    • getDomainNamesCount

      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:
      The count of domainNames.
    • getDomainNames

      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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The domainNames at the given index.
    • getDomainNamesBytes

      com.google.protobuf.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;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the domainNames at the given index.
    • hasEnableProxyProtocol

      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;
      Returns:
      Whether the enableProxyProtocol field is set.
    • getEnableProxyProtocol

      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:
      The enableProxyProtocol.
    • hasFingerprint

      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;
      Returns:
      Whether the fingerprint field is set.
    • getFingerprint

      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:
      The fingerprint.
    • getFingerprintBytes

      com.google.protobuf.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:
      The bytes for fingerprint.
    • hasId

      boolean hasId()
       Output only. [Output Only] The unique identifier for the resource type. The server
       generates this identifier.
       
      optional uint64 id = 3355;
      Returns:
      Whether the id field is set.
    • getId

      long getId()
       Output only. [Output Only] The unique identifier for the resource type. The server
       generates this identifier.
       
      optional uint64 id = 3355;
      Returns:
      The id.
    • hasKind

      boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
       
      optional string kind = 3292052;
      Returns:
      Whether the kind field is set.
    • getKind

      String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
       
      optional string kind = 3292052;
      Returns:
      The kind.
    • getKindBytes

      com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
       
      optional string kind = 3292052;
      Returns:
      The bytes for kind.
    • getMetadataCount

      int getMetadataCount()
       Metadata of the service attachment.
       
      map<string, string> metadata = 86866735;
    • containsMetadata

      boolean containsMetadata(String key)
       Metadata of the service attachment.
       
      map<string, string> metadata = 86866735;
    • getMetadata

      @Deprecated Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
    • getMetadataMap

      Map<String,String> getMetadataMap()
       Metadata of the service attachment.
       
      map<string, string> metadata = 86866735;
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       Metadata of the service attachment.
       
      map<string, string> metadata = 86866735;
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       Metadata of the service attachment.
       
      map<string, string> metadata = 86866735;
    • hasName

      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 withRFC1035.
       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:
      Whether the name field is set.
    • getName

      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 withRFC1035.
       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:
      The name.
    • getNameBytes

      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 withRFC1035.
       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:
      The bytes for name.
    • getNatSubnetsList

      List<String> 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;
      Returns:
      A list containing the natSubnets.
    • getNatSubnetsCount

      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;
      Returns:
      The count of natSubnets.
    • getNatSubnets

      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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The natSubnets at the given index.
    • getNatSubnetsBytes

      com.google.protobuf.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 nat_subnets = 374785944;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the natSubnets at the given index.
    • hasProducerForwardingRule

      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;
      Returns:
      Whether the producerForwardingRule field is set.
    • getProducerForwardingRule

      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;
      Returns:
      The producerForwardingRule.
    • getProducerForwardingRuleBytes

      com.google.protobuf.ByteString getProducerForwardingRuleBytes()
       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;
      Returns:
      The bytes for producerForwardingRule.
    • hasPropagatedConnectionLimit

      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;
      Returns:
      Whether the propagatedConnectionLimit field is set.
    • getPropagatedConnectionLimit

      int getPropagatedConnectionLimit()
       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;
      Returns:
      The propagatedConnectionLimit.
    • hasPscServiceAttachmentId

      boolean hasPscServiceAttachmentId()
       Output only. [Output Only] An 128-bit global unique ID of the PSC service attachment.
       
      optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
      Returns:
      Whether the pscServiceAttachmentId field is set.
    • getPscServiceAttachmentId

      Uint128 getPscServiceAttachmentId()
       Output only. [Output Only] An 128-bit global unique ID of the PSC service attachment.
       
      optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
      Returns:
      The pscServiceAttachmentId.
    • getPscServiceAttachmentIdOrBuilder

      Uint128OrBuilder getPscServiceAttachmentIdOrBuilder()
       Output only. [Output Only] An 128-bit global unique ID of the PSC service attachment.
       
      optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
    • hasReconcileConnections

      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;
      Returns:
      Whether the reconcileConnections field is set.
    • getReconcileConnections

      boolean getReconcileConnections()
       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;
      Returns:
      The reconcileConnections.
    • hasRegion

      boolean hasRegion()
       Output only. [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;
      Returns:
      Whether the region field is set.
    • getRegion

      String getRegion()
       Output only. [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;
      Returns:
      The region.
    • getRegionBytes

      com.google.protobuf.ByteString getRegionBytes()
       Output only. [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;
      Returns:
      The bytes for region.
    • hasSelfLink

      boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      String getSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      The selfLink.
    • getSelfLinkBytes

      com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      The bytes for selfLink.
    • hasTargetService

      boolean hasTargetService()
       The URL of a service serving the endpoint identified by this service
       attachment.
       
      optional string target_service = 1293831;
      Returns:
      Whether the targetService field is set.
    • getTargetService

      String getTargetService()
       The URL of a service serving the endpoint identified by this service
       attachment.
       
      optional string target_service = 1293831;
      Returns:
      The targetService.
    • getTargetServiceBytes

      com.google.protobuf.ByteString getTargetServiceBytes()
       The URL of a service serving the endpoint identified by this service
       attachment.
       
      optional string target_service = 1293831;
      Returns:
      The bytes for targetService.