Package com.google.cloud.compute.v1
Class ServiceAttachment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ServiceAttachment.Builder>
com.google.cloud.compute.v1.ServiceAttachment.Builder
- All Implemented Interfaces:
ServiceAttachmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ServiceAttachment
public static final class ServiceAttachment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServiceAttachment.Builder>
implements ServiceAttachmentOrBuilder
Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service.Protobuf type
google.cloud.compute.v1.ServiceAttachment-
Method Summary
Modifier and TypeMethodDescriptionaddAllConnectedEndpoints(Iterable<? extends ServiceAttachmentConnectedEndpoint> values) Output only.addAllConsumerAcceptLists(Iterable<? extends ServiceAttachmentConsumerProjectLimit> values) Specifies which consumer projects or networks are allowed to connect to the service attachment.addAllConsumerRejectLists(Iterable<String> values) Specifies a list of projects or networks that are not allowed to connect to this service attachment.addAllDomainNames(Iterable<String> values) If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.addAllNatSubnets(Iterable<String> values) 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.addConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint value) Output only.addConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint.Builder builderForValue) Output only.Output only.addConnectedEndpoints(ServiceAttachmentConnectedEndpoint.Builder builderForValue) Output only.Output only.addConnectedEndpointsBuilder(int index) Output only.addConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit value) Specifies which consumer projects or networks are allowed to connect to the service attachment.addConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit.Builder builderForValue) Specifies which consumer projects or networks are allowed to connect to the service attachment.Specifies which consumer projects or networks are allowed to connect to the service attachment.addConsumerAcceptLists(ServiceAttachmentConsumerProjectLimit.Builder builderForValue) Specifies which consumer projects or networks are allowed to connect to the service attachment.Specifies which consumer projects or networks are allowed to connect to the service attachment.addConsumerAcceptListsBuilder(int index) Specifies which consumer projects or networks are allowed to connect to the service attachment.addConsumerRejectLists(String value) Specifies a list of projects or networks that are not allowed to connect to this service attachment.addConsumerRejectListsBytes(com.google.protobuf.ByteString value) Specifies a list of projects or networks that are not allowed to connect to this service attachment.addDomainNames(String value) If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.addDomainNamesBytes(com.google.protobuf.ByteString value) If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.addNatSubnets(String value) 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.addNatSubnetsBytes(com.google.protobuf.ByteString value) 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.build()clear()Output only.The connection preference of service attachment.Specifies which consumer projects or networks are allowed to connect to the service attachment.Specifies a list of projects or networks that are not allowed to connect to this service attachment.Output only.An optional description of this resource.If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.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.Fingerprint of this resource.clearId()Output only.Output only.Name of the resource.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.The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center.Output only.This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpointsOutput only.Output only.The URL of a service serving the endpoint identified by this service attachment.booleancontainsMetadata(String key) Metadata of the service attachment.getConnectedEndpoints(int index) Output only.getConnectedEndpointsBuilder(int index) Output only.Output only.intOutput only.Output only.getConnectedEndpointsOrBuilder(int index) Output only.List<? extends ServiceAttachmentConnectedEndpointOrBuilder>Output only.The connection preference of service attachment.com.google.protobuf.ByteStringThe connection preference of service attachment.getConsumerAcceptLists(int index) Specifies which consumer projects or networks are allowed to connect to the service attachment.getConsumerAcceptListsBuilder(int index) Specifies which consumer projects or networks are allowed to connect to the service attachment.Specifies which consumer projects or networks are allowed to connect to the service attachment.intSpecifies which consumer projects or networks are allowed to connect to the service attachment.Specifies which consumer projects or networks are allowed to connect to the service attachment.getConsumerAcceptListsOrBuilder(int index) Specifies which consumer projects or networks are allowed to connect to the service attachment.Specifies which consumer projects or networks are allowed to connect to the service attachment.getConsumerRejectLists(int index) Specifies a list of projects or networks that are not allowed to connect to this service attachment.com.google.protobuf.ByteStringgetConsumerRejectListsBytes(int index) Specifies a list of projects or networks that are not allowed to connect to this service attachment.intSpecifies a list of projects or networks that are not allowed to connect to this service attachment.com.google.protobuf.ProtocolStringListSpecifies a list of projects or networks that are not allowed to connect to this service attachment.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDomainNames(int index) If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.com.google.protobuf.ByteStringgetDomainNamesBytes(int index) If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.intIf specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.com.google.protobuf.ProtocolStringListIf specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.booleanIf 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.Fingerprint of this resource.com.google.protobuf.ByteStringFingerprint of this resource.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intMetadata of the service attachment.Metadata of the service attachment.getMetadataOrDefault(String key, String defaultValue) Metadata of the service attachment.getMetadataOrThrow(String key) Metadata of the service attachment.Deprecated.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.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.com.google.protobuf.ByteStringgetNatSubnetsBytes(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.intAn 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.com.google.protobuf.ProtocolStringListAn 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.The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.com.google.protobuf.ByteStringThe URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.intThe number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center.Output only.Output only.Output only.booleanThis flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpointsOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.The URL of a service serving the endpoint identified by this service attachment.com.google.protobuf.ByteStringThe URL of a service serving the endpoint identified by this service attachment.booleanThe connection preference of service attachment.booleanOutput only.booleanAn optional description of this resource.booleanIf 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.booleanFingerprint of this resource.booleanhasId()Output only.booleanhasKind()Output only.booleanhasName()Name of the resource.booleanThe URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.booleanThe number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center.booleanOutput only.booleanThis flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpointsbooleanOutput only.booleanOutput only.booleanThe URL of a service serving the endpoint identified by this service attachment.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(ServiceAttachment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.putAllMetadata(Map<String, String> values) Metadata of the service attachment.putMetadata(String key, String value) Metadata of the service attachment.removeConnectedEndpoints(int index) Output only.removeConsumerAcceptLists(int index) Specifies which consumer projects or networks are allowed to connect to the service attachment.removeMetadata(String key) Metadata of the service attachment.setConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint value) Output only.setConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint.Builder builderForValue) Output only.setConnectionPreference(String value) The connection preference of service attachment.setConnectionPreferenceBytes(com.google.protobuf.ByteString value) The connection preference of service attachment.setConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit value) Specifies which consumer projects or networks are allowed to connect to the service attachment.setConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit.Builder builderForValue) Specifies which consumer projects or networks are allowed to connect to the service attachment.setConsumerRejectLists(int index, String value) Specifies a list of projects or networks that are not allowed to connect to this service attachment.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setDomainNames(int index, String value) If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.setEnableProxyProtocol(boolean value) 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.setFingerprint(String value) Fingerprint of this resource.setFingerprintBytes(com.google.protobuf.ByteString value) Fingerprint of this resource.setId(long value) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.setNatSubnets(int index, String value) 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.setProducerForwardingRule(String value) The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.setProducerForwardingRuleBytes(com.google.protobuf.ByteString value) The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.setPropagatedConnectionLimit(int value) The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center.setPscServiceAttachmentId(Uint128 value) Output only.setPscServiceAttachmentId(Uint128.Builder builderForValue) Output only.setReconcileConnections(boolean value) This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpointsOutput only.setRegionBytes(com.google.protobuf.ByteString value) Output only.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.setTargetService(String value) The URL of a service serving the endpoint identified by this service attachment.setTargetServiceBytes(com.google.protobuf.ByteString value) The URL of a service serving the endpoint identified by this service attachment.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachment.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachment.Builder>
-
mergeFrom
public ServiceAttachment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachment.Builder>- Throws:
IOException
-
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;- Specified by:
getConnectedEndpointsListin interfaceServiceAttachmentOrBuilder
-
getConnectedEndpointsCount
public 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;- Specified by:
getConnectedEndpointsCountin interfaceServiceAttachmentOrBuilder
-
getConnectedEndpoints
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;- Specified by:
getConnectedEndpointsin interfaceServiceAttachmentOrBuilder
-
setConnectedEndpoints
public ServiceAttachment.Builder setConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint value) 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; -
setConnectedEndpoints
public ServiceAttachment.Builder setConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint.Builder builderForValue) 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; -
addConnectedEndpoints
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; -
addConnectedEndpoints
public ServiceAttachment.Builder addConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint value) 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; -
addConnectedEndpoints
public ServiceAttachment.Builder addConnectedEndpoints(ServiceAttachmentConnectedEndpoint.Builder builderForValue) 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; -
addConnectedEndpoints
public ServiceAttachment.Builder addConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint.Builder builderForValue) 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; -
addAllConnectedEndpoints
public ServiceAttachment.Builder addAllConnectedEndpoints(Iterable<? extends ServiceAttachmentConnectedEndpoint> values) 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; -
clearConnectedEndpoints
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; -
removeConnectedEndpoints
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; -
getConnectedEndpointsBuilder
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
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;- Specified by:
getConnectedEndpointsOrBuilderin interfaceServiceAttachmentOrBuilder
-
getConnectedEndpointsOrBuilderList
public 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;- Specified by:
getConnectedEndpointsOrBuilderListin interfaceServiceAttachmentOrBuilder
-
addConnectedEndpointsBuilder
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; -
addConnectedEndpointsBuilder
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; -
getConnectedEndpointsBuilderList
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
public 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;- Specified by:
hasConnectionPreferencein interfaceServiceAttachmentOrBuilder- Returns:
- Whether the connectionPreference field is set.
-
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;- Specified by:
getConnectionPreferencein interfaceServiceAttachmentOrBuilder- Returns:
- The connectionPreference.
-
getConnectionPreferenceBytes
public 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;- Specified by:
getConnectionPreferenceBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for connectionPreference.
-
setConnectionPreference
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;- Parameters:
value- The connectionPreference to set.- Returns:
- This builder for chaining.
-
clearConnectionPreference
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:
- This builder for chaining.
-
setConnectionPreferenceBytes
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;- Parameters:
value- The bytes for connectionPreference to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getConsumerAcceptListsListin interfaceServiceAttachmentOrBuilder
-
getConsumerAcceptListsCount
public 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;- Specified by:
getConsumerAcceptListsCountin interfaceServiceAttachmentOrBuilder
-
getConsumerAcceptLists
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;- Specified by:
getConsumerAcceptListsin interfaceServiceAttachmentOrBuilder
-
setConsumerAcceptLists
public ServiceAttachment.Builder setConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit value) 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; -
setConsumerAcceptLists
public ServiceAttachment.Builder setConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit.Builder builderForValue) 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; -
addConsumerAcceptLists
public ServiceAttachment.Builder addConsumerAcceptLists(ServiceAttachmentConsumerProjectLimit value) 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; -
addConsumerAcceptLists
public ServiceAttachment.Builder addConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit value) 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; -
addConsumerAcceptLists
public ServiceAttachment.Builder addConsumerAcceptLists(ServiceAttachmentConsumerProjectLimit.Builder builderForValue) 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; -
addConsumerAcceptLists
public ServiceAttachment.Builder addConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit.Builder builderForValue) 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; -
addAllConsumerAcceptLists
public ServiceAttachment.Builder addAllConsumerAcceptLists(Iterable<? extends ServiceAttachmentConsumerProjectLimit> values) 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; -
clearConsumerAcceptLists
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; -
removeConsumerAcceptLists
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; -
getConsumerAcceptListsBuilder
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
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;- Specified by:
getConsumerAcceptListsOrBuilderin interfaceServiceAttachmentOrBuilder
-
getConsumerAcceptListsOrBuilderList
public 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;- Specified by:
getConsumerAcceptListsOrBuilderListin interfaceServiceAttachmentOrBuilder
-
addConsumerAcceptListsBuilder
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; -
addConsumerAcceptListsBuilder
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; -
getConsumerAcceptListsBuilderList
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
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getConsumerRejectListsListin interfaceServiceAttachmentOrBuilder- Returns:
- A list containing the consumerRejectLists.
-
getConsumerRejectListsCount
public 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;- Specified by:
getConsumerRejectListsCountin interfaceServiceAttachmentOrBuilder- Returns:
- The count of consumerRejectLists.
-
getConsumerRejectLists
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;- Specified by:
getConsumerRejectListsin interfaceServiceAttachmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The consumerRejectLists at the given index.
-
getConsumerRejectListsBytes
public 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;- Specified by:
getConsumerRejectListsBytesin interfaceServiceAttachmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the consumerRejectLists at the given index.
-
setConsumerRejectLists
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 to set the value at.value- The consumerRejectLists to set.- Returns:
- This builder for chaining.
-
addConsumerRejectLists
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:
value- The consumerRejectLists to add.- Returns:
- This builder for chaining.
-
addAllConsumerRejectLists
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:
values- The consumerRejectLists to add.- Returns:
- This builder for chaining.
-
clearConsumerRejectLists
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:
- This builder for chaining.
-
addConsumerRejectListsBytes
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:
value- The bytes of the consumerRejectLists to add.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceServiceAttachmentOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceServiceAttachmentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDomainNamesList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getDomainNamesListin interfaceServiceAttachmentOrBuilder- Returns:
- A list containing the domainNames.
-
getDomainNamesCount
public 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;- Specified by:
getDomainNamesCountin interfaceServiceAttachmentOrBuilder- Returns:
- The count of domainNames.
-
getDomainNames
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;- Specified by:
getDomainNamesin interfaceServiceAttachmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The domainNames at the given index.
-
getDomainNamesBytes
public 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;- Specified by:
getDomainNamesBytesin interfaceServiceAttachmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the domainNames at the given index.
-
setDomainNames
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 to set the value at.value- The domainNames to set.- Returns:
- This builder for chaining.
-
addDomainNames
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:
value- The domainNames to add.- Returns:
- This builder for chaining.
-
addAllDomainNames
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:
values- The domainNames to add.- Returns:
- This builder for chaining.
-
clearDomainNames
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:
- This builder for chaining.
-
addDomainNamesBytes
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:
value- The bytes of the domainNames to add.- Returns:
- This builder for chaining.
-
hasEnableProxyProtocol
public 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;- Specified by:
hasEnableProxyProtocolin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the enableProxyProtocol field is set.
-
getEnableProxyProtocol
public 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;- Specified by:
getEnableProxyProtocolin interfaceServiceAttachmentOrBuilder- Returns:
- The enableProxyProtocol.
-
setEnableProxyProtocol
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;- Parameters:
value- The enableProxyProtocol to set.- Returns:
- This builder for chaining.
-
clearEnableProxyProtocol
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:
- This builder for chaining.
-
hasFingerprint
public 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;- Specified by:
hasFingerprintin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the fingerprint field is set.
-
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;- Specified by:
getFingerprintin interfaceServiceAttachmentOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public 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;- Specified by:
getFingerprintBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
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;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
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:
- This builder for chaining.
-
setFingerprintBytes
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;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
getIdin interfaceServiceAttachmentOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
optional string kind = 3292052;- Specified by:
hasKindin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
optional string kind = 3292052;- Specified by:
getKindin interfaceServiceAttachmentOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:ServiceAttachmentOrBuilderMetadata of the service attachment.
map<string, string> metadata = 86866735;- Specified by:
getMetadataCountin interfaceServiceAttachmentOrBuilder
-
containsMetadata
Metadata of the service attachment.
map<string, string> metadata = 86866735;- Specified by:
containsMetadatain interfaceServiceAttachmentOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceServiceAttachmentOrBuilder
-
getMetadataMap
Metadata of the service attachment.
map<string, string> metadata = 86866735;- Specified by:
getMetadataMapin interfaceServiceAttachmentOrBuilder
-
getMetadataOrDefault
Metadata of the service attachment.
map<string, string> metadata = 86866735;- Specified by:
getMetadataOrDefaultin interfaceServiceAttachmentOrBuilder
-
getMetadataOrThrow
Metadata of the service attachment.
map<string, string> metadata = 86866735;- Specified by:
getMetadataOrThrowin interfaceServiceAttachmentOrBuilder
-
clearMetadata
-
removeMetadata
Metadata of the service attachment.
map<string, string> metadata = 86866735; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
Metadata of the service attachment.
map<string, string> metadata = 86866735; -
putAllMetadata
Metadata of the service attachment.
map<string, string> metadata = 86866735; -
hasName
public 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;- Specified by:
hasNamein interfaceServiceAttachmentOrBuilder- Returns:
- Whether the name field is set.
-
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;- Specified by:
getNamein interfaceServiceAttachmentOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getNatSubnetsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getNatSubnetsListin interfaceServiceAttachmentOrBuilder- Returns:
- A list containing the natSubnets.
-
getNatSubnetsCount
public 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;- Specified by:
getNatSubnetsCountin interfaceServiceAttachmentOrBuilder- Returns:
- The count of natSubnets.
-
getNatSubnets
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;- Specified by:
getNatSubnetsin interfaceServiceAttachmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The natSubnets at the given index.
-
getNatSubnetsBytes
public 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;- Specified by:
getNatSubnetsBytesin interfaceServiceAttachmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the natSubnets at the given index.
-
setNatSubnets
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 to set the value at.value- The natSubnets to set.- Returns:
- This builder for chaining.
-
addNatSubnets
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:
value- The natSubnets to add.- Returns:
- This builder for chaining.
-
addAllNatSubnets
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:
values- The natSubnets to add.- Returns:
- This builder for chaining.
-
clearNatSubnets
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:
- This builder for chaining.
-
addNatSubnetsBytes
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:
value- The bytes of the natSubnets to add.- Returns:
- This builder for chaining.
-
hasProducerForwardingRule
public 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;- Specified by:
hasProducerForwardingRulein interfaceServiceAttachmentOrBuilder- Returns:
- Whether the producerForwardingRule field is set.
-
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;- Specified by:
getProducerForwardingRulein interfaceServiceAttachmentOrBuilder- Returns:
- The producerForwardingRule.
-
getProducerForwardingRuleBytes
public 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;- Specified by:
getProducerForwardingRuleBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for producerForwardingRule.
-
setProducerForwardingRule
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;- Parameters:
value- The producerForwardingRule to set.- Returns:
- This builder for chaining.
-
clearProducerForwardingRule
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:
- This builder for chaining.
-
setProducerForwardingRuleBytes
public ServiceAttachment.Builder setProducerForwardingRuleBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for producerForwardingRule to set.- Returns:
- This builder for chaining.
-
hasPropagatedConnectionLimit
public 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;- Specified by:
hasPropagatedConnectionLimitin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the propagatedConnectionLimit field is set.
-
getPropagatedConnectionLimit
public 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;- Specified by:
getPropagatedConnectionLimitin interfaceServiceAttachmentOrBuilder- Returns:
- The propagatedConnectionLimit.
-
setPropagatedConnectionLimit
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;- Parameters:
value- The propagatedConnectionLimit to set.- Returns:
- This builder for chaining.
-
clearPropagatedConnectionLimit
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:
- This builder for chaining.
-
hasPscServiceAttachmentId
public 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;- Specified by:
hasPscServiceAttachmentIdin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the pscServiceAttachmentId field is set.
-
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;- Specified by:
getPscServiceAttachmentIdin interfaceServiceAttachmentOrBuilder- Returns:
- The pscServiceAttachmentId.
-
setPscServiceAttachmentId
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; -
setPscServiceAttachmentId
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; -
mergePscServiceAttachmentId
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; -
clearPscServiceAttachmentId
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; -
getPscServiceAttachmentIdBuilder
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; -
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;- Specified by:
getPscServiceAttachmentIdOrBuilderin interfaceServiceAttachmentOrBuilder
-
hasReconcileConnections
public 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;- Specified by:
hasReconcileConnectionsin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the reconcileConnections field is set.
-
getReconcileConnections
public 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;- Specified by:
getReconcileConnectionsin interfaceServiceAttachmentOrBuilder- Returns:
- The reconcileConnections.
-
setReconcileConnections
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;- Parameters:
value- The reconcileConnections to set.- Returns:
- This builder for chaining.
-
clearReconcileConnections
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:
- This builder for chaining.
-
hasRegion
public 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;- Specified by:
hasRegionin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the region field is set.
-
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;- Specified by:
getRegionin interfaceServiceAttachmentOrBuilder- Returns:
- The region.
-
getRegionBytes
public 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;- Specified by:
getRegionBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for region.
-
setRegion
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;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
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:
- This builder for chaining.
-
setRegionBytes
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;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceServiceAttachmentOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceServiceAttachmentOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasTargetService
public boolean hasTargetService()The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;- Specified by:
hasTargetServicein interfaceServiceAttachmentOrBuilder- Returns:
- Whether the targetService field is set.
-
getTargetService
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;- Specified by:
getTargetServicein interfaceServiceAttachmentOrBuilder- Returns:
- The targetService.
-
getTargetServiceBytes
public com.google.protobuf.ByteString getTargetServiceBytes()The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;- Specified by:
getTargetServiceBytesin interfaceServiceAttachmentOrBuilder- Returns:
- The bytes for targetService.
-
setTargetService
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;- Parameters:
value- The targetService to set.- Returns:
- This builder for chaining.
-
clearTargetService
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;- Returns:
- This builder for chaining.
-
setTargetServiceBytes
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;- Parameters:
value- The bytes for targetService to set.- Returns:
- This builder for chaining.
-