Interface ServiceAttachmentOrBuilder

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

    public interface ServiceAttachmentOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getConnectedEndpointsList

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

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

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

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

        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;
      • 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()
         Projects that are allowed to connect to this service attachment.
         
        repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
      • getConsumerAcceptLists

        ServiceAttachmentConsumerProjectLimit getConsumerAcceptLists​(int index)
         Projects that are allowed to connect to this service attachment.
         
        repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
      • getConsumerAcceptListsCount

        int getConsumerAcceptListsCount()
         Projects that are allowed to connect to this service attachment.
         
        repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
      • getConsumerAcceptListsOrBuilderList

        List<? extends ServiceAttachmentConsumerProjectLimitOrBuilder> getConsumerAcceptListsOrBuilderList()
         Projects that are allowed to connect to this service attachment.
         
        repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
      • getConsumerAcceptListsOrBuilder

        ServiceAttachmentConsumerProjectLimitOrBuilder getConsumerAcceptListsOrBuilder​(int index)
         Projects that are allowed to connect to this service attachment.
         
        repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
      • getConsumerRejectListsList

        List<String> getConsumerRejectListsList()
         Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
         
        repeated string consumer_reject_lists = 204033182;
        Returns:
        A list containing the consumerRejectLists.
      • getConsumerRejectListsCount

        int getConsumerRejectListsCount()
         Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
         
        repeated string consumer_reject_lists = 204033182;
        Returns:
        The count of consumerRejectLists.
      • getConsumerRejectLists

        String getConsumerRejectLists​(int index)
         Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
         
        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)
         Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
         
        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] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Returns:
        Whether the creationTimestamp field is set.
      • getCreationTimestamp

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

        com.google.protobuf.ByteString getCreationTimestampBytes()
         [Output Only] Creation timestamp in RFC3339 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] 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] The unique identifier for the resource type. The server generates this identifier.
         
        optional uint64 id = 3355;
        Returns:
        The id.
      • hasKind

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

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

        com.google.protobuf.ByteString getKindBytes()
         [Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
         
        optional string kind = 3292052;
        Returns:
        The bytes for kind.
      • 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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         
        optional string name = 3373707;
        Returns:
        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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         
        optional string name = 3373707;
        Returns:
        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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         
        optional string name = 3373707;
        Returns:
        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.
      • hasPscServiceAttachmentId

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

        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;
        Returns:
        The pscServiceAttachmentId.
      • getPscServiceAttachmentIdOrBuilder

        Uint128OrBuilder getPscServiceAttachmentIdOrBuilder()
         [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 true.
         
        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 true.
         
        optional bool reconcile_connections = 125493732;
        Returns:
        The reconcileConnections.
      • hasRegion

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

        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;
        Returns:
        The region.
      • getRegionBytes

        com.google.protobuf.ByteString getRegionBytes()
         [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] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Returns:
        Whether the selfLink field is set.
      • getSelfLink

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

        com.google.protobuf.ByteString getSelfLinkBytes()
         [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.