- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class ServiceAttachment.Builder extends GeneratedMessageV3.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. next tag = 20
Protobuf type google.cloud.compute.v1.ServiceAttachment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServiceAttachment.BuilderImplements
ServiceAttachmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllConnectedEndpoints(Iterable<? extends ServiceAttachmentConnectedEndpoint> values)
public ServiceAttachment.Builder addAllConnectedEndpoints(Iterable<? extends ServiceAttachmentConnectedEndpoint> values)
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint> |
Type | Description |
ServiceAttachment.Builder |
addAllConsumerAcceptLists(Iterable<? extends ServiceAttachmentConsumerProjectLimit> values)
public ServiceAttachment.Builder addAllConsumerAcceptLists(Iterable<? extends ServiceAttachmentConsumerProjectLimit> values)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit> |
Type | Description |
ServiceAttachment.Builder |
addAllConsumerRejectLists(Iterable<String> values)
public ServiceAttachment.Builder addAllConsumerRejectLists(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The consumerRejectLists to add. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
addAllDomainNames(Iterable<String> values)
public ServiceAttachment.Builder addAllDomainNames(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The domainNames to add. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
addAllNatSubnets(Iterable<String> values)
public ServiceAttachment.Builder 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.
repeated string nat_subnets = 374785944;
Name | Description |
values | Iterable<String> The natSubnets to add. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
addConnectedEndpoints(ServiceAttachmentConnectedEndpoint value)
public ServiceAttachment.Builder addConnectedEndpoints(ServiceAttachmentConnectedEndpoint value)
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Name | Description |
value | ServiceAttachmentConnectedEndpoint |
Type | Description |
ServiceAttachment.Builder |
addConnectedEndpoints(ServiceAttachmentConnectedEndpoint.Builder builderForValue)
public ServiceAttachment.Builder addConnectedEndpoints(ServiceAttachmentConnectedEndpoint.Builder builderForValue)
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Name | Description |
builderForValue | ServiceAttachmentConnectedEndpoint.Builder |
Type | Description |
ServiceAttachment.Builder |
addConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint value)
public ServiceAttachment.Builder addConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint value)
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Name | Description |
index | int |
value | ServiceAttachmentConnectedEndpoint |
Type | Description |
ServiceAttachment.Builder |
addConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint.Builder builderForValue)
public ServiceAttachment.Builder addConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint.Builder builderForValue)
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Name | Description |
index | int |
builderForValue | ServiceAttachmentConnectedEndpoint.Builder |
Type | Description |
ServiceAttachment.Builder |
addConnectedEndpointsBuilder()
public ServiceAttachmentConnectedEndpoint.Builder addConnectedEndpointsBuilder()
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
addConnectedEndpointsBuilder(int index)
public ServiceAttachmentConnectedEndpoint.Builder addConnectedEndpointsBuilder(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;
Name | Description |
index | int |
Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
addConsumerAcceptLists(ServiceAttachmentConsumerProjectLimit value)
public ServiceAttachment.Builder addConsumerAcceptLists(ServiceAttachmentConsumerProjectLimit value)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
value | ServiceAttachmentConsumerProjectLimit |
Type | Description |
ServiceAttachment.Builder |
addConsumerAcceptLists(ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
public ServiceAttachment.Builder addConsumerAcceptLists(ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
builderForValue | ServiceAttachmentConsumerProjectLimit.Builder |
Type | Description |
ServiceAttachment.Builder |
addConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit value)
public ServiceAttachment.Builder addConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit value)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
index | int |
value | ServiceAttachmentConsumerProjectLimit |
Type | Description |
ServiceAttachment.Builder |
addConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
public ServiceAttachment.Builder addConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
index | int |
builderForValue | ServiceAttachmentConsumerProjectLimit.Builder |
Type | Description |
ServiceAttachment.Builder |
addConsumerAcceptListsBuilder()
public ServiceAttachmentConsumerProjectLimit.Builder addConsumerAcceptListsBuilder()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
addConsumerAcceptListsBuilder(int index)
public ServiceAttachmentConsumerProjectLimit.Builder addConsumerAcceptListsBuilder(int index)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
index | int |
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
addConsumerRejectLists(String value)
public ServiceAttachment.Builder addConsumerRejectLists(String value)
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;
Name | Description |
value | String The consumerRejectLists to add. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
addConsumerRejectListsBytes(ByteString value)
public ServiceAttachment.Builder addConsumerRejectListsBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes of the consumerRejectLists to add. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
addDomainNames(String value)
public ServiceAttachment.Builder addDomainNames(String value)
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;
Name | Description |
value | String The domainNames to add. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
addDomainNamesBytes(ByteString value)
public ServiceAttachment.Builder addDomainNamesBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes of the domainNames to add. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
addNatSubnets(String value)
public ServiceAttachment.Builder 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.
repeated string nat_subnets = 374785944;
Name | Description |
value | String The natSubnets to add. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
addNatSubnetsBytes(ByteString value)
public ServiceAttachment.Builder addNatSubnetsBytes(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.
repeated string nat_subnets = 374785944;
Name | Description |
value | ByteString The bytes of the natSubnets to add. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ServiceAttachment.Builder |
build()
public ServiceAttachment build()
Type | Description |
ServiceAttachment |
buildPartial()
public ServiceAttachment buildPartial()
Type | Description |
ServiceAttachment |
clear()
public ServiceAttachment.Builder clear()
Type | Description |
ServiceAttachment.Builder |
clearConnectedEndpoints()
public ServiceAttachment.Builder clearConnectedEndpoints()
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Type | Description |
ServiceAttachment.Builder |
clearConnectionPreference()
public ServiceAttachment.Builder 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;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearConsumerAcceptLists()
public ServiceAttachment.Builder clearConsumerAcceptLists()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Type | Description |
ServiceAttachment.Builder |
clearConsumerRejectLists()
public ServiceAttachment.Builder clearConsumerRejectLists()
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;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearCreationTimestamp()
public ServiceAttachment.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearDescription()
public ServiceAttachment.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearDomainNames()
public ServiceAttachment.Builder 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;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearEnableProxyProtocol()
public ServiceAttachment.Builder 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;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ServiceAttachment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ServiceAttachment.Builder |
clearFingerprint()
public ServiceAttachment.Builder 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;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearId()
public ServiceAttachment.Builder clearId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearKind()
public ServiceAttachment.Builder clearKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearName()
public ServiceAttachment.Builder clearName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearNatSubnets()
public ServiceAttachment.Builder 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;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ServiceAttachment.Builder |
clearProducerForwardingRule()
public ServiceAttachment.Builder 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;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearPscServiceAttachmentId()
public ServiceAttachment.Builder clearPscServiceAttachmentId()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
Type | Description |
ServiceAttachment.Builder |
clearRegion()
public ServiceAttachment.Builder clearRegion()
[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;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearSelfLink()
public ServiceAttachment.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clearTargetService()
public ServiceAttachment.Builder clearTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
clone()
public ServiceAttachment.Builder clone()
Type | Description |
ServiceAttachment.Builder |
getConnectedEndpoints(int index)
public 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;
Name | Description |
index | int |
Type | Description |
ServiceAttachmentConnectedEndpoint |
getConnectedEndpointsBuilder(int index)
public ServiceAttachmentConnectedEndpoint.Builder getConnectedEndpointsBuilder(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;
Name | Description |
index | int |
Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
getConnectedEndpointsBuilderList()
public List<ServiceAttachmentConnectedEndpoint.Builder> getConnectedEndpointsBuilderList()
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Type | Description |
List<Builder> |
getConnectedEndpointsCount()
public 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;
Type | Description |
int |
getConnectedEndpointsList()
public 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;
Type | Description |
List<ServiceAttachmentConnectedEndpoint> |
getConnectedEndpointsOrBuilder(int index)
public 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;
Name | Description |
index | int |
Type | Description |
ServiceAttachmentConnectedEndpointOrBuilder |
getConnectedEndpointsOrBuilderList()
public 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;
Type | Description |
List<? extends com.google.cloud.compute.v1.ServiceAttachmentConnectedEndpointOrBuilder> |
getConnectionPreference()
public 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;
Type | Description |
String | The connectionPreference. |
getConnectionPreferenceBytes()
public 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;
Type | Description |
ByteString | The bytes for connectionPreference. |
getConsumerAcceptLists(int index)
public ServiceAttachmentConsumerProjectLimit getConsumerAcceptLists(int index)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
index | int |
Type | Description |
ServiceAttachmentConsumerProjectLimit |
getConsumerAcceptListsBuilder(int index)
public ServiceAttachmentConsumerProjectLimit.Builder getConsumerAcceptListsBuilder(int index)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
index | int |
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
getConsumerAcceptListsBuilderList()
public List<ServiceAttachmentConsumerProjectLimit.Builder> getConsumerAcceptListsBuilderList()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Type | Description |
List<Builder> |
getConsumerAcceptListsCount()
public int getConsumerAcceptListsCount()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Type | Description |
int |
getConsumerAcceptListsList()
public List<ServiceAttachmentConsumerProjectLimit> getConsumerAcceptListsList()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Type | Description |
List<ServiceAttachmentConsumerProjectLimit> |
getConsumerAcceptListsOrBuilder(int index)
public ServiceAttachmentConsumerProjectLimitOrBuilder getConsumerAcceptListsOrBuilder(int index)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
index | int |
Type | Description |
ServiceAttachmentConsumerProjectLimitOrBuilder |
getConsumerAcceptListsOrBuilderList()
public List<? extends ServiceAttachmentConsumerProjectLimitOrBuilder> getConsumerAcceptListsOrBuilderList()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Type | Description |
List<? extends com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimitOrBuilder> |
getConsumerRejectLists(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The consumerRejectLists at the given index. |
getConsumerRejectListsBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the consumerRejectLists at the given index. |
getConsumerRejectListsCount()
public 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;
Type | Description |
int | The count of consumerRejectLists. |
getConsumerRejectListsList()
public ProtocolStringList 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;
Type | Description |
ProtocolStringList | A list containing the consumerRejectLists. |
getCreationTimestamp()
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
String | The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
ByteString | The bytes for creationTimestamp. |
getDefaultInstanceForType()
public ServiceAttachment getDefaultInstanceForType()
Type | Description |
ServiceAttachment |
getDescription()
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDomainNames(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The domainNames at the given index. |
getDomainNamesBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the domainNames at the given index. |
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;
Type | Description |
int | The count of domainNames. |
getDomainNamesList()
public 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;
Type | Description |
ProtocolStringList | A list containing the domainNames. |
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;
Type | Description |
boolean | The enableProxyProtocol. |
getFingerprint()
public 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;
Type | Description |
String | The fingerprint. |
getFingerprintBytes()
public 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;
Type | Description |
ByteString | The bytes for fingerprint. |
getId()
public long getId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
Type | Description |
long | The id. |
getKind()
public String getKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
Type | Description |
ByteString | The bytes for kind. |
getName()
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
ByteString | The bytes for name. |
getNatSubnets(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The natSubnets at the given index. |
getNatSubnetsBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the natSubnets at the given index. |
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;
Type | Description |
int | The count of natSubnets. |
getNatSubnetsList()
public 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;
Type | Description |
ProtocolStringList | A list containing the natSubnets. |
getProducerForwardingRule()
public 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;
Type | Description |
String | The producerForwardingRule. |
getProducerForwardingRuleBytes()
public 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;
Type | Description |
ByteString | The bytes for producerForwardingRule. |
getPscServiceAttachmentId()
public 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;
Type | Description |
Uint128 | The pscServiceAttachmentId. |
getPscServiceAttachmentIdBuilder()
public Uint128.Builder getPscServiceAttachmentIdBuilder()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
Type | Description |
Uint128.Builder |
getPscServiceAttachmentIdOrBuilder()
public 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;
Type | Description |
Uint128OrBuilder |
getRegion()
public 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;
Type | Description |
String | The region. |
getRegionBytes()
public 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;
Type | Description |
ByteString | The bytes for region. |
getSelfLink()
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
ByteString | The bytes for selfLink. |
getTargetService()
public String getTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
Type | Description |
String | The targetService. |
getTargetServiceBytes()
public ByteString getTargetServiceBytes()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
Type | Description |
ByteString | The bytes for targetService. |
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;
Type | Description |
boolean | Whether the connectionPreference field is set. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
boolean | Whether the creationTimestamp field is set. |
hasDescription()
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
boolean | Whether the description field is set. |
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;
Type | Description |
boolean | Whether the enableProxyProtocol field is set. |
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;
Type | Description |
boolean | Whether the fingerprint field is set. |
hasId()
public boolean hasId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
Type | Description |
boolean | Whether the id field is set. |
hasKind()
public boolean hasKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
Type | Description |
boolean | Whether the kind field is set. |
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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
boolean | Whether the name field is set. |
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;
Type | Description |
boolean | Whether the producerForwardingRule field is set. |
hasPscServiceAttachmentId()
public 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;
Type | Description |
boolean | Whether the pscServiceAttachmentId field is set. |
hasRegion()
public 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;
Type | Description |
boolean | Whether the region field is set. |
hasSelfLink()
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
boolean | Whether the selfLink field is set. |
hasTargetService()
public boolean hasTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
Type | Description |
boolean | Whether the targetService field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ServiceAttachment other)
public ServiceAttachment.Builder mergeFrom(ServiceAttachment other)
Name | Description |
other | ServiceAttachment |
Type | Description |
ServiceAttachment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ServiceAttachment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ServiceAttachment.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ServiceAttachment.Builder |
mergePscServiceAttachmentId(Uint128 value)
public ServiceAttachment.Builder mergePscServiceAttachmentId(Uint128 value)
[Output Only] An 128-bit global unique ID of the PSC service attachment.
optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
Name | Description |
value | Uint128 |
Type | Description |
ServiceAttachment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ServiceAttachment.Builder |
removeConnectedEndpoints(int index)
public ServiceAttachment.Builder removeConnectedEndpoints(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;
Name | Description |
index | int |
Type | Description |
ServiceAttachment.Builder |
removeConsumerAcceptLists(int index)
public ServiceAttachment.Builder removeConsumerAcceptLists(int index)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
index | int |
Type | Description |
ServiceAttachment.Builder |
setConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint value)
public ServiceAttachment.Builder setConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint value)
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Name | Description |
index | int |
value | ServiceAttachmentConnectedEndpoint |
Type | Description |
ServiceAttachment.Builder |
setConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint.Builder builderForValue)
public ServiceAttachment.Builder setConnectedEndpoints(int index, ServiceAttachmentConnectedEndpoint.Builder builderForValue)
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
Name | Description |
index | int |
builderForValue | ServiceAttachmentConnectedEndpoint.Builder |
Type | Description |
ServiceAttachment.Builder |
setConnectionPreference(String value)
public ServiceAttachment.Builder setConnectionPreference(String value)
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;
Name | Description |
value | String The connectionPreference to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setConnectionPreferenceBytes(ByteString value)
public ServiceAttachment.Builder setConnectionPreferenceBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for connectionPreference to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit value)
public ServiceAttachment.Builder setConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit value)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
index | int |
value | ServiceAttachmentConsumerProjectLimit |
Type | Description |
ServiceAttachment.Builder |
setConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
public ServiceAttachment.Builder setConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
Name | Description |
index | int |
builderForValue | ServiceAttachmentConsumerProjectLimit.Builder |
Type | Description |
ServiceAttachment.Builder |
setConsumerRejectLists(int index, String value)
public ServiceAttachment.Builder setConsumerRejectLists(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The consumerRejectLists to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setCreationTimestamp(String value)
public ServiceAttachment.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | String The creationTimestamp to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public ServiceAttachment.Builder setCreationTimestampBytes(ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | ByteString The bytes for creationTimestamp to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setDescription(String value)
public ServiceAttachment.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Name | Description |
value | String The description to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public ServiceAttachment.Builder setDescriptionBytes(ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setDomainNames(int index, String value)
public ServiceAttachment.Builder 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. 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;
Name | Description |
index | int The index to set the value at. |
value | String The domainNames to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setEnableProxyProtocol(boolean value)
public ServiceAttachment.Builder 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.
optional bool enable_proxy_protocol = 363791237;
Name | Description |
value | boolean The enableProxyProtocol to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ServiceAttachment.Builder |
setFingerprint(String value)
public ServiceAttachment.Builder setFingerprint(String value)
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;
Name | Description |
value | String The fingerprint to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setFingerprintBytes(ByteString value)
public ServiceAttachment.Builder setFingerprintBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for fingerprint to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setId(long value)
public ServiceAttachment.Builder setId(long value)
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
Name | Description |
value | long The id to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setKind(String value)
public ServiceAttachment.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
Name | Description |
value | String The kind to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setKindBytes(ByteString value)
public ServiceAttachment.Builder setKindBytes(ByteString value)
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
Name | Description |
value | ByteString The bytes for kind to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setName(String value)
public ServiceAttachment.Builder setName(String value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Name | Description |
value | String The name to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ServiceAttachment.Builder setNameBytes(ByteString value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setNatSubnets(int index, String value)
public ServiceAttachment.Builder 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.
repeated string nat_subnets = 374785944;
Name | Description |
index | int The index to set the value at. |
value | String The natSubnets to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setProducerForwardingRule(String value)
public ServiceAttachment.Builder setProducerForwardingRule(String 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;
Name | Description |
value | String The producerForwardingRule to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setProducerForwardingRuleBytes(ByteString value)
public ServiceAttachment.Builder setProducerForwardingRuleBytes(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;
Name | Description |
value | ByteString The bytes for producerForwardingRule to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setPscServiceAttachmentId(Uint128 value)
public ServiceAttachment.Builder setPscServiceAttachmentId(Uint128 value)
[Output Only] An 128-bit global unique ID of the PSC service attachment.
optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
Name | Description |
value | Uint128 |
Type | Description |
ServiceAttachment.Builder |
setPscServiceAttachmentId(Uint128.Builder builderForValue)
public ServiceAttachment.Builder setPscServiceAttachmentId(Uint128.Builder builderForValue)
[Output Only] An 128-bit global unique ID of the PSC service attachment.
optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;
Name | Description |
builderForValue | Uint128.Builder |
Type | Description |
ServiceAttachment.Builder |
setRegion(String value)
public ServiceAttachment.Builder setRegion(String value)
[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;
Name | Description |
value | String The region to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setRegionBytes(ByteString value)
public ServiceAttachment.Builder setRegionBytes(ByteString value)
[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;
Name | Description |
value | ByteString The bytes for region to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceAttachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ServiceAttachment.Builder |
setSelfLink(String value)
public ServiceAttachment.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | String The selfLink to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setSelfLinkBytes(ByteString value)
public ServiceAttachment.Builder setSelfLinkBytes(ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | ByteString The bytes for selfLink to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setTargetService(String value)
public ServiceAttachment.Builder setTargetService(String value)
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
Name | Description |
value | String The targetService to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setTargetServiceBytes(ByteString value)
public ServiceAttachment.Builder setTargetServiceBytes(ByteString value)
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
Name | Description |
value | ByteString The bytes for targetService to set. |
Type | Description |
ServiceAttachment.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ServiceAttachment.Builder |