public static final class ServiceAttachment.Builder extends com.google.protobuf.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 = 20Protobuf type
google.cloud.compute.v1.ServiceAttachment| Modifier and Type | Method and Description |
|---|---|
ServiceAttachment.Builder |
addAllConnectedEndpoints(Iterable<? extends ServiceAttachmentConnectedEndpoint> values)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachment.Builder |
addAllConsumerAcceptLists(Iterable<? extends ServiceAttachmentConsumerProjectLimit> values)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
addAllConsumerRejectLists(Iterable<String> values)
Projects that are not allowed to connect to this service attachment.
|
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.
|
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.
|
ServiceAttachment.Builder |
addConnectedEndpoints(int index,
ServiceAttachmentConnectedEndpoint.Builder builderForValue)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachment.Builder |
addConnectedEndpoints(int index,
ServiceAttachmentConnectedEndpoint value)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachment.Builder |
addConnectedEndpoints(ServiceAttachmentConnectedEndpoint.Builder builderForValue)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachment.Builder |
addConnectedEndpoints(ServiceAttachmentConnectedEndpoint value)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachmentConnectedEndpoint.Builder |
addConnectedEndpointsBuilder()
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachmentConnectedEndpoint.Builder |
addConnectedEndpointsBuilder(int index)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachment.Builder |
addConsumerAcceptLists(int index,
ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
addConsumerAcceptLists(int index,
ServiceAttachmentConsumerProjectLimit value)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
addConsumerAcceptLists(ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
addConsumerAcceptLists(ServiceAttachmentConsumerProjectLimit value)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachmentConsumerProjectLimit.Builder |
addConsumerAcceptListsBuilder()
Projects that are allowed to connect to this service attachment.
|
ServiceAttachmentConsumerProjectLimit.Builder |
addConsumerAcceptListsBuilder(int index)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
addConsumerRejectLists(String value)
Projects that are not allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
addConsumerRejectListsBytes(com.google.protobuf.ByteString value)
Projects that are not allowed to connect to this service attachment.
|
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.
|
ServiceAttachment.Builder |
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.
|
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.
|
ServiceAttachment.Builder |
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.
|
ServiceAttachment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAttachment |
build() |
ServiceAttachment |
buildPartial() |
ServiceAttachment.Builder |
clear() |
ServiceAttachment.Builder |
clearConnectedEndpoints()
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachment.Builder |
clearConnectionPreference()
The connection preference of service attachment.
|
ServiceAttachment.Builder |
clearConsumerAcceptLists()
Projects that are allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
clearConsumerRejectLists()
Projects that are not allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
ServiceAttachment.Builder |
clearDescription()
An optional description of this resource.
|
ServiceAttachment.Builder |
clearDomainNames()
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.
|
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.
|
ServiceAttachment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServiceAttachment.Builder |
clearFingerprint()
Fingerprint of this resource.
|
ServiceAttachment.Builder |
clearId()
[Output Only] The unique identifier for the resource type.
|
ServiceAttachment.Builder |
clearKind()
[Output Only] Type of the resource.
|
ServiceAttachment.Builder |
clearName()
Name of the resource.
|
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.
|
ServiceAttachment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceAttachment.Builder |
clearProducerForwardingRule()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
|
ServiceAttachment.Builder |
clearPscServiceAttachmentId()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
ServiceAttachment.Builder |
clearRegion()
[Output Only] URL of the region where the service attachment resides.
|
ServiceAttachment.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
ServiceAttachment.Builder |
clearTargetService()
The URL of a service serving the endpoint identified by this service attachment.
|
ServiceAttachment.Builder |
clone() |
ServiceAttachmentConnectedEndpoint |
getConnectedEndpoints(int index)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachmentConnectedEndpoint.Builder |
getConnectedEndpointsBuilder(int index)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
List<ServiceAttachmentConnectedEndpoint.Builder> |
getConnectedEndpointsBuilderList()
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
int |
getConnectedEndpointsCount()
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
List<ServiceAttachmentConnectedEndpoint> |
getConnectedEndpointsList()
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachmentConnectedEndpointOrBuilder |
getConnectedEndpointsOrBuilder(int index)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
List<? extends ServiceAttachmentConnectedEndpointOrBuilder> |
getConnectedEndpointsOrBuilderList()
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
String |
getConnectionPreference()
The connection preference of service attachment.
|
com.google.protobuf.ByteString |
getConnectionPreferenceBytes()
The connection preference of service attachment.
|
ServiceAttachmentConsumerProjectLimit |
getConsumerAcceptLists(int index)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachmentConsumerProjectLimit.Builder |
getConsumerAcceptListsBuilder(int index)
Projects that are allowed to connect to this service attachment.
|
List<ServiceAttachmentConsumerProjectLimit.Builder> |
getConsumerAcceptListsBuilderList()
Projects that are allowed to connect to this service attachment.
|
int |
getConsumerAcceptListsCount()
Projects that are allowed to connect to this service attachment.
|
List<ServiceAttachmentConsumerProjectLimit> |
getConsumerAcceptListsList()
Projects that are allowed to connect to this service attachment.
|
ServiceAttachmentConsumerProjectLimitOrBuilder |
getConsumerAcceptListsOrBuilder(int index)
Projects that are allowed to connect to this service attachment.
|
List<? extends ServiceAttachmentConsumerProjectLimitOrBuilder> |
getConsumerAcceptListsOrBuilderList()
Projects that are allowed to connect to this service attachment.
|
String |
getConsumerRejectLists(int index)
Projects that are not allowed to connect to this service attachment.
|
com.google.protobuf.ByteString |
getConsumerRejectListsBytes(int index)
Projects that are not allowed to connect to this service attachment.
|
int |
getConsumerRejectListsCount()
Projects that are not allowed to connect to this service attachment.
|
com.google.protobuf.ProtocolStringList |
getConsumerRejectListsList()
Projects that are not allowed to connect to this service attachment.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
ServiceAttachment |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDomainNames(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.ByteString |
getDomainNamesBytes(int index)
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.
|
int |
getDomainNamesCount()
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS.
|
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.
|
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.
|
String |
getFingerprint()
Fingerprint of this resource.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Fingerprint of this resource.
|
long |
getId()
[Output Only] The unique identifier for the resource type.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
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.
|
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.
|
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.
|
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.
|
String |
getProducerForwardingRule()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
|
com.google.protobuf.ByteString |
getProducerForwardingRuleBytes()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
|
Uint128 |
getPscServiceAttachmentId()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
Uint128.Builder |
getPscServiceAttachmentIdBuilder()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
Uint128OrBuilder |
getPscServiceAttachmentIdOrBuilder()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
String |
getRegion()
[Output Only] URL of the region where the service attachment resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the service attachment resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getTargetService()
The URL of a service serving the endpoint identified by this service attachment.
|
com.google.protobuf.ByteString |
getTargetServiceBytes()
The URL of a service serving the endpoint identified by this service attachment.
|
boolean |
hasConnectionPreference()
The connection preference of service attachment.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
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.
|
boolean |
hasFingerprint()
Fingerprint of this resource.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource type.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasProducerForwardingRule()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
|
boolean |
hasPscServiceAttachmentId()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
boolean |
hasRegion()
[Output Only] URL of the region where the service attachment resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasTargetService()
The URL of a service serving the endpoint identified by this service attachment.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ServiceAttachment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceAttachment.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServiceAttachment.Builder |
mergeFrom(ServiceAttachment other) |
ServiceAttachment.Builder |
mergePscServiceAttachmentId(Uint128 value)
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
ServiceAttachment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceAttachment.Builder |
removeConnectedEndpoints(int index)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachment.Builder |
removeConsumerAcceptLists(int index)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
setConnectedEndpoints(int index,
ServiceAttachmentConnectedEndpoint.Builder builderForValue)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachment.Builder |
setConnectedEndpoints(int index,
ServiceAttachmentConnectedEndpoint value)
[Output Only] An array of connections for all the consumers connected to this service attachment.
|
ServiceAttachment.Builder |
setConnectionPreference(String value)
The connection preference of service attachment.
|
ServiceAttachment.Builder |
setConnectionPreferenceBytes(com.google.protobuf.ByteString value)
The connection preference of service attachment.
|
ServiceAttachment.Builder |
setConsumerAcceptLists(int index,
ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
setConsumerAcceptLists(int index,
ServiceAttachmentConsumerProjectLimit value)
Projects that are allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
setConsumerRejectLists(int index,
String value)
Projects that are not allowed to connect to this service attachment.
|
ServiceAttachment.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
ServiceAttachment.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
ServiceAttachment.Builder |
setDescription(String value)
An optional description of this resource.
|
ServiceAttachment.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
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.
|
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.
|
ServiceAttachment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAttachment.Builder |
setFingerprint(String value)
Fingerprint of this resource.
|
ServiceAttachment.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this resource.
|
ServiceAttachment.Builder |
setId(long value)
[Output Only] The unique identifier for the resource type.
|
ServiceAttachment.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
ServiceAttachment.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
ServiceAttachment.Builder |
setName(String value)
Name of the resource.
|
ServiceAttachment.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
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.
|
ServiceAttachment.Builder |
setProducerForwardingRule(String value)
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
|
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.
|
ServiceAttachment.Builder |
setPscServiceAttachmentId(Uint128.Builder builderForValue)
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
ServiceAttachment.Builder |
setPscServiceAttachmentId(Uint128 value)
[Output Only] An 128-bit global unique ID of the PSC service attachment.
|
ServiceAttachment.Builder |
setRegion(String value)
[Output Only] URL of the region where the service attachment resides.
|
ServiceAttachment.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the service attachment resides.
|
ServiceAttachment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServiceAttachment.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
ServiceAttachment.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
ServiceAttachment.Builder |
setTargetService(String value)
The URL of a service serving the endpoint identified by this service attachment.
|
ServiceAttachment.Builder |
setTargetServiceBytes(com.google.protobuf.ByteString value)
The URL of a service serving the endpoint identified by this service attachment.
|
ServiceAttachment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public ServiceAttachment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public ServiceAttachment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServiceAttachment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServiceAttachment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServiceAttachment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public ServiceAttachment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public ServiceAttachment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public ServiceAttachment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public ServiceAttachment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public ServiceAttachment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public ServiceAttachment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceAttachment.Builder>public ServiceAttachment.Builder mergeFrom(ServiceAttachment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public ServiceAttachment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceAttachment.Builder>IOExceptionpublic 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;
getConnectedEndpointsList in interface ServiceAttachmentOrBuilderpublic 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;
getConnectedEndpointsCount in interface ServiceAttachmentOrBuilderpublic 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;
getConnectedEndpoints in interface ServiceAttachmentOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getConnectedEndpointsOrBuilder in interface ServiceAttachmentOrBuilderpublic 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;
getConnectedEndpointsOrBuilderList in interface ServiceAttachmentOrBuilderpublic 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;
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;
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;
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;hasConnectionPreference in interface ServiceAttachmentOrBuilderpublic 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;getConnectionPreference in interface ServiceAttachmentOrBuilderpublic 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;getConnectionPreferenceBytes in interface ServiceAttachmentOrBuilderpublic 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;value - The connectionPreference to set.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;public ServiceAttachment.Builder setConnectionPreferenceBytes(com.google.protobuf.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;value - The bytes for connectionPreference to set.public List<ServiceAttachmentConsumerProjectLimit> getConsumerAcceptListsList()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
getConsumerAcceptListsList in interface ServiceAttachmentOrBuilderpublic int getConsumerAcceptListsCount()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
getConsumerAcceptListsCount in interface ServiceAttachmentOrBuilderpublic ServiceAttachmentConsumerProjectLimit getConsumerAcceptLists(int index)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
getConsumerAcceptLists in interface ServiceAttachmentOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
public ServiceAttachment.Builder clearConsumerAcceptLists()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
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;
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;
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;
getConsumerAcceptListsOrBuilder in interface ServiceAttachmentOrBuilderpublic List<? extends ServiceAttachmentConsumerProjectLimitOrBuilder> getConsumerAcceptListsOrBuilderList()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
getConsumerAcceptListsOrBuilderList in interface ServiceAttachmentOrBuilderpublic ServiceAttachmentConsumerProjectLimit.Builder addConsumerAcceptListsBuilder()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
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;
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;
public com.google.protobuf.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;getConsumerRejectListsList in interface ServiceAttachmentOrBuilderpublic 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;getConsumerRejectListsCount in interface ServiceAttachmentOrBuilderpublic 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;getConsumerRejectLists in interface ServiceAttachmentOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getConsumerRejectListsBytes(int index)
Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
repeated string consumer_reject_lists = 204033182;getConsumerRejectListsBytes in interface ServiceAttachmentOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The consumerRejectLists to set.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;value - The consumerRejectLists to add.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;values - The consumerRejectLists to add.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;public ServiceAttachment.Builder addConsumerRejectListsBytes(com.google.protobuf.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;value - The bytes of the consumerRejectLists to add.public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface ServiceAttachmentOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface ServiceAttachmentOrBuilderpublic ServiceAttachment.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public ServiceAttachment.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public ServiceAttachment.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface ServiceAttachmentOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface ServiceAttachmentOrBuilderpublic ServiceAttachment.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public ServiceAttachment.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public ServiceAttachment.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.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;getDomainNamesList in interface ServiceAttachmentOrBuilderpublic 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;getDomainNamesCount in interface ServiceAttachmentOrBuilderpublic 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;getDomainNames in interface ServiceAttachmentOrBuilderindex - The index of the element to return.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;getDomainNamesBytes in interface ServiceAttachmentOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The domainNames to set.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;value - The domainNames to add.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;values - The domainNames to add.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;public ServiceAttachment.Builder 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. 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;value - The bytes of the domainNames to add.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;hasEnableProxyProtocol in interface ServiceAttachmentOrBuilderpublic 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;getEnableProxyProtocol in interface ServiceAttachmentOrBuilderpublic 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;value - The enableProxyProtocol to set.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;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;hasFingerprint in interface ServiceAttachmentOrBuilderpublic 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;getFingerprint in interface ServiceAttachmentOrBuilderpublic 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;getFingerprintBytes in interface ServiceAttachmentOrBuilderpublic 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;value - The fingerprint to set.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;public ServiceAttachment.Builder setFingerprintBytes(com.google.protobuf.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;value - The bytes for fingerprint to set.public boolean hasId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;hasId in interface ServiceAttachmentOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;getId in interface ServiceAttachmentOrBuilderpublic ServiceAttachment.Builder setId(long value)
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;value - The id to set.public ServiceAttachment.Builder clearId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;public boolean hasKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;hasKind in interface ServiceAttachmentOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;getKind in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;getKindBytes in interface ServiceAttachmentOrBuilderpublic ServiceAttachment.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;value - The kind to set.public ServiceAttachment.Builder clearKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;public ServiceAttachment.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;value - The bytes for kind to set.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]([-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;hasName in interface ServiceAttachmentOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface ServiceAttachmentOrBuilderpublic 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]([-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;value - The name to set.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]([-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;public ServiceAttachment.Builder setNameBytes(com.google.protobuf.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]([-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;value - The bytes for name to set.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;getNatSubnetsList in interface ServiceAttachmentOrBuilderpublic 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;getNatSubnetsCount in interface ServiceAttachmentOrBuilderpublic 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;getNatSubnets in interface ServiceAttachmentOrBuilderindex - The index of the element to return.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;getNatSubnetsBytes in interface ServiceAttachmentOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The natSubnets to set.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;value - The natSubnets to add.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;values - The natSubnets to add.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;public ServiceAttachment.Builder 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.
repeated string nat_subnets = 374785944;value - The bytes of the natSubnets to add.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;hasProducerForwardingRule in interface ServiceAttachmentOrBuilderpublic 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;getProducerForwardingRule in interface ServiceAttachmentOrBuilderpublic 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;getProducerForwardingRuleBytes in interface ServiceAttachmentOrBuilderpublic 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;value - The producerForwardingRule to set.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;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;value - The bytes for producerForwardingRule to set.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;hasPscServiceAttachmentId in interface ServiceAttachmentOrBuilderpublic 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;getPscServiceAttachmentId in interface ServiceAttachmentOrBuilderpublic 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;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;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;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;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;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;getPscServiceAttachmentIdOrBuilder in interface ServiceAttachmentOrBuilderpublic 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;hasRegion in interface ServiceAttachmentOrBuilderpublic 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;getRegion in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegionBytes in interface ServiceAttachmentOrBuilderpublic 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;value - The region to set.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;public ServiceAttachment.Builder setRegionBytes(com.google.protobuf.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;value - The bytes for region to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface ServiceAttachmentOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface ServiceAttachmentOrBuilderpublic ServiceAttachment.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public ServiceAttachment.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public ServiceAttachment.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;hasTargetService in interface ServiceAttachmentOrBuilderpublic String getTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;getTargetService in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getTargetServiceBytes()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;getTargetServiceBytes in interface ServiceAttachmentOrBuilderpublic ServiceAttachment.Builder setTargetService(String value)
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;value - The targetService to set.public ServiceAttachment.Builder clearTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;public ServiceAttachment.Builder setTargetServiceBytes(com.google.protobuf.ByteString value)
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;value - The bytes for targetService to set.public final ServiceAttachment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>public final ServiceAttachment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>Copyright © 2023 Google LLC. All rights reserved.