Package com.google.cloud.compute.v1
Class ServiceAttachment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
- com.google.cloud.compute.v1.ServiceAttachment.Builder
-
- All Implemented Interfaces:
ServiceAttachmentOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ServiceAttachment
public static final class ServiceAttachment.Builder extends com.google.protobuf.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.
Protobuf typegoogle.cloud.compute.v1.ServiceAttachment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 value)
[Output Only] An array of connections for all the consumers connected to 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(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.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 value)
Projects that are allowed to connect 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(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.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
clearReconcileConnections()
This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints.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.boolean
getReconcileConnections()
This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints.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
hasReconcileConnections()
This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints.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(ServiceAttachment other)
ServiceAttachment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceAttachment.Builder
mergeFrom(com.google.protobuf.Message 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 value)
[Output Only] An array of connections for all the consumers connected 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
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 value)
Projects that are allowed to connect to this service attachment.ServiceAttachment.Builder
setConsumerAcceptLists(int index, ServiceAttachmentConsumerProjectLimit.Builder builderForValue)
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 value)
[Output Only] An 128-bit global unique ID of the PSC service attachment.ServiceAttachment.Builder
setPscServiceAttachmentId(Uint128.Builder builderForValue)
[Output Only] An 128-bit global unique ID of the PSC service attachment.ServiceAttachment.Builder
setReconcileConnections(boolean value)
This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints.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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
clear
public ServiceAttachment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
getDefaultInstanceForType
public ServiceAttachment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServiceAttachment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServiceAttachment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ServiceAttachment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
setField
public ServiceAttachment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
clearField
public ServiceAttachment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
clearOneof
public ServiceAttachment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
setRepeatedField
public ServiceAttachment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
addRepeatedField
public ServiceAttachment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
mergeFrom
public ServiceAttachment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachment.Builder>
-
mergeFrom
public ServiceAttachment.Builder mergeFrom(ServiceAttachment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
mergeFrom
public ServiceAttachment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachment.Builder>
- Throws:
IOException
-
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;
- Specified by:
getConnectedEndpointsList
in interfaceServiceAttachmentOrBuilder
-
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;
- Specified by:
getConnectedEndpointsCount
in interfaceServiceAttachmentOrBuilder
-
getConnectedEndpoints
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;
- Specified by:
getConnectedEndpoints
in interfaceServiceAttachmentOrBuilder
-
setConnectedEndpoints
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;
-
setConnectedEndpoints
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;
-
addConnectedEndpoints
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;
-
addConnectedEndpoints
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;
-
addConnectedEndpoints
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;
-
addConnectedEndpoints
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;
-
addAllConnectedEndpoints
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;
-
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;
-
removeConnectedEndpoints
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;
-
getConnectedEndpointsBuilder
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;
-
getConnectedEndpointsOrBuilder
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;
- Specified by:
getConnectedEndpointsOrBuilder
in interfaceServiceAttachmentOrBuilder
-
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;
- Specified by:
getConnectedEndpointsOrBuilderList
in interfaceServiceAttachmentOrBuilder
-
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;
-
addConnectedEndpointsBuilder
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;
-
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;
-
hasConnectionPreference
public boolean hasConnectionPreference()
The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;
- Specified by:
hasConnectionPreference
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the connectionPreference field is set.
-
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;
- Specified by:
getConnectionPreference
in interfaceServiceAttachmentOrBuilder
- Returns:
- The connectionPreference.
-
getConnectionPreferenceBytes
public com.google.protobuf.ByteString getConnectionPreferenceBytes()
The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;
- Specified by:
getConnectionPreferenceBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for connectionPreference.
-
setConnectionPreference
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;
- Parameters:
value
- The connectionPreference to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setConnectionPreferenceBytes
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;
- Parameters:
value
- The bytes for connectionPreference to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getConsumerAcceptListsList
in interfaceServiceAttachmentOrBuilder
-
getConsumerAcceptListsCount
public int getConsumerAcceptListsCount()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
- Specified by:
getConsumerAcceptListsCount
in interfaceServiceAttachmentOrBuilder
-
getConsumerAcceptLists
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;
- Specified by:
getConsumerAcceptLists
in interfaceServiceAttachmentOrBuilder
-
setConsumerAcceptLists
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;
-
setConsumerAcceptLists
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;
-
addConsumerAcceptLists
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;
-
addConsumerAcceptLists
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;
-
addConsumerAcceptLists
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;
-
addConsumerAcceptLists
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;
-
addAllConsumerAcceptLists
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;
-
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;
-
removeConsumerAcceptLists
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;
-
getConsumerAcceptListsBuilder
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;
-
getConsumerAcceptListsOrBuilder
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;
- Specified by:
getConsumerAcceptListsOrBuilder
in interfaceServiceAttachmentOrBuilder
-
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;
- Specified by:
getConsumerAcceptListsOrBuilderList
in interfaceServiceAttachmentOrBuilder
-
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;
-
addConsumerAcceptListsBuilder
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;
-
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;
-
getConsumerRejectListsList
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;
- Specified by:
getConsumerRejectListsList
in interfaceServiceAttachmentOrBuilder
- Returns:
- A list containing the consumerRejectLists.
-
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;
- Specified by:
getConsumerRejectListsCount
in interfaceServiceAttachmentOrBuilder
- Returns:
- The count of consumerRejectLists.
-
getConsumerRejectLists
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;
- Specified by:
getConsumerRejectLists
in interfaceServiceAttachmentOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The consumerRejectLists at the given index.
-
getConsumerRejectListsBytes
public com.google.protobuf.ByteString getConsumerRejectListsBytes(int index)
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;
- Specified by:
getConsumerRejectListsBytes
in interfaceServiceAttachmentOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the consumerRejectLists at the given index.
-
setConsumerRejectLists
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;
- Parameters:
index
- The index to set the value at.value
- The consumerRejectLists to set.- Returns:
- This builder for chaining.
-
addConsumerRejectLists
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;
- Parameters:
value
- The consumerRejectLists to add.- Returns:
- This builder for chaining.
-
addAllConsumerRejectLists
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;
- Parameters:
values
- The consumerRejectLists to add.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
addConsumerRejectListsBytes
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;
- Parameters:
value
- The bytes of the consumerRejectLists to add.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
hasCreationTimestamp
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestamp
in interfaceServiceAttachmentOrBuilder
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestampBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public ServiceAttachment.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Parameters:
value
- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public ServiceAttachment.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public ServiceAttachment.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Parameters:
value
- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
hasDescription
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescription
in interfaceServiceAttachmentOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescriptionBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public ServiceAttachment.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public ServiceAttachment.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
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;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDomainNamesList
public com.google.protobuf.ProtocolStringList getDomainNamesList()
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;
- Specified by:
getDomainNamesList
in interfaceServiceAttachmentOrBuilder
- Returns:
- A list containing the domainNames.
-
getDomainNamesCount
public int getDomainNamesCount()
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;
- Specified by:
getDomainNamesCount
in interfaceServiceAttachmentOrBuilder
- Returns:
- The count of domainNames.
-
getDomainNames
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;
- Specified by:
getDomainNames
in interfaceServiceAttachmentOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The domainNames at the given index.
-
getDomainNamesBytes
public com.google.protobuf.ByteString getDomainNamesBytes(int index)
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;
- Specified by:
getDomainNamesBytes
in interfaceServiceAttachmentOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the domainNames at the given index.
-
setDomainNames
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;
- Parameters:
index
- The index to set the value at.value
- The domainNames to set.- Returns:
- This builder for chaining.
-
addDomainNames
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;
- Parameters:
value
- The domainNames to add.- Returns:
- This builder for chaining.
-
addAllDomainNames
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;
- Parameters:
values
- The domainNames to add.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
addDomainNamesBytes
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;
- Parameters:
value
- The bytes of the domainNames to add.- Returns:
- This builder for chaining.
-
hasEnableProxyProtocol
public boolean hasEnableProxyProtocol()
If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers.
optional bool enable_proxy_protocol = 363791237;
- Specified by:
hasEnableProxyProtocol
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the enableProxyProtocol field is set.
-
getEnableProxyProtocol
public boolean getEnableProxyProtocol()
If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers.
optional bool enable_proxy_protocol = 363791237;
- Specified by:
getEnableProxyProtocol
in interfaceServiceAttachmentOrBuilder
- Returns:
- The enableProxyProtocol.
-
setEnableProxyProtocol
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;
- Parameters:
value
- The enableProxyProtocol to set.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
hasFingerprint
public boolean hasFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.
optional string fingerprint = 234678500;
- Specified by:
hasFingerprint
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the fingerprint field is set.
-
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;
- Specified by:
getFingerprint
in interfaceServiceAttachmentOrBuilder
- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.
optional string fingerprint = 234678500;
- Specified by:
getFingerprintBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for fingerprint.
-
setFingerprint
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;
- Parameters:
value
- The fingerprint to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setFingerprintBytes
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;
- Parameters:
value
- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
- Specified by:
hasId
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
- Specified by:
getId
in interfaceServiceAttachmentOrBuilder
- Returns:
- The id.
-
setId
public ServiceAttachment.Builder setId(long value)
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public ServiceAttachment.Builder clearId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
- Specified by:
hasKind
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
- Specified by:
getKind
in interfaceServiceAttachmentOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
- Specified by:
getKindBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for kind.
-
setKind
public ServiceAttachment.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;
- Parameters:
value
- The kind to set.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
setKindBytes
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;
- Parameters:
value
- The bytes for kind to set.- Returns:
- This builder for chaining.
-
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]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Specified by:
hasName
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the name field is set.
-
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]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Specified by:
getName
in interfaceServiceAttachmentOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply 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;
- Specified by:
getNameBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for name.
-
setName
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]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
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;
- Returns:
- This builder for chaining.
-
setNameBytes
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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getNatSubnetsList
public com.google.protobuf.ProtocolStringList getNatSubnetsList()
An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.
repeated string nat_subnets = 374785944;
- Specified by:
getNatSubnetsList
in interfaceServiceAttachmentOrBuilder
- Returns:
- A list containing the natSubnets.
-
getNatSubnetsCount
public int getNatSubnetsCount()
An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.
repeated string nat_subnets = 374785944;
- Specified by:
getNatSubnetsCount
in interfaceServiceAttachmentOrBuilder
- Returns:
- The count of natSubnets.
-
getNatSubnets
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;
- Specified by:
getNatSubnets
in interfaceServiceAttachmentOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The natSubnets at the given index.
-
getNatSubnetsBytes
public com.google.protobuf.ByteString getNatSubnetsBytes(int index)
An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.
repeated string nat_subnets = 374785944;
- Specified by:
getNatSubnetsBytes
in interfaceServiceAttachmentOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the natSubnets at the given index.
-
setNatSubnets
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;
- Parameters:
index
- The index to set the value at.value
- The natSubnets to set.- Returns:
- This builder for chaining.
-
addNatSubnets
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;
- Parameters:
value
- The natSubnets to add.- Returns:
- This builder for chaining.
-
addAllNatSubnets
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;
- Parameters:
values
- The natSubnets to add.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
addNatSubnetsBytes
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;
- Parameters:
value
- The bytes of the natSubnets to add.- Returns:
- This builder for chaining.
-
hasProducerForwardingRule
public boolean hasProducerForwardingRule()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
optional string producer_forwarding_rule = 247927889;
- Specified by:
hasProducerForwardingRule
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the producerForwardingRule field is set.
-
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;
- Specified by:
getProducerForwardingRule
in interfaceServiceAttachmentOrBuilder
- Returns:
- The producerForwardingRule.
-
getProducerForwardingRuleBytes
public com.google.protobuf.ByteString getProducerForwardingRuleBytes()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
optional string producer_forwarding_rule = 247927889;
- Specified by:
getProducerForwardingRuleBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for producerForwardingRule.
-
setProducerForwardingRule
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;
- Parameters:
value
- The producerForwardingRule to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setProducerForwardingRuleBytes
public ServiceAttachment.Builder setProducerForwardingRuleBytes(com.google.protobuf.ByteString value)
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
optional string producer_forwarding_rule = 247927889;
- Parameters:
value
- The bytes for producerForwardingRule to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasPscServiceAttachmentId
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the pscServiceAttachmentId field is set.
-
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;
- Specified by:
getPscServiceAttachmentId
in interfaceServiceAttachmentOrBuilder
- Returns:
- The pscServiceAttachmentId.
-
setPscServiceAttachmentId
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;
-
setPscServiceAttachmentId
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;
-
mergePscServiceAttachmentId
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;
-
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;
-
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;
-
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;
- Specified by:
getPscServiceAttachmentIdOrBuilder
in interfaceServiceAttachmentOrBuilder
-
hasReconcileConnections
public boolean hasReconcileConnections()
This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. - If false, connection policy update will only affect existing PENDING PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched regardless how the connection policy is modified . - If true, update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the reject list. For newly created service attachment, this boolean defaults to true.
optional bool reconcile_connections = 125493732;
- Specified by:
hasReconcileConnections
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the reconcileConnections field is set.
-
getReconcileConnections
public boolean getReconcileConnections()
This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. - If false, connection policy update will only affect existing PENDING PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched regardless how the connection policy is modified . - If true, update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the reject list. For newly created service attachment, this boolean defaults to true.
optional bool reconcile_connections = 125493732;
- Specified by:
getReconcileConnections
in interfaceServiceAttachmentOrBuilder
- Returns:
- The reconcileConnections.
-
setReconcileConnections
public ServiceAttachment.Builder setReconcileConnections(boolean value)
This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. - If false, connection policy update will only affect existing PENDING PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched regardless how the connection policy is modified . - If true, update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the reject list. For newly created service attachment, this boolean defaults to true.
optional bool reconcile_connections = 125493732;
- Parameters:
value
- The reconcileConnections to set.- Returns:
- This builder for chaining.
-
clearReconcileConnections
public ServiceAttachment.Builder clearReconcileConnections()
This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. - If false, connection policy update will only affect existing PENDING PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched regardless how the connection policy is modified . - If true, update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the reject list. For newly created service attachment, this boolean defaults to true.
optional bool reconcile_connections = 125493732;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasRegion
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the region field is set.
-
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;
- Specified by:
getRegion
in interfaceServiceAttachmentOrBuilder
- Returns:
- The region.
-
getRegionBytes
public 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;
- Specified by:
getRegionBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for region.
-
setRegion
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;
- Parameters:
value
- The region to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setRegionBytes
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;
- Parameters:
value
- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
hasSelfLink
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLink
in interfaceServiceAttachmentOrBuilder
- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLinkBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for selfLink.
-
setSelfLink
public ServiceAttachment.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Parameters:
value
- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public ServiceAttachment.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public ServiceAttachment.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Parameters:
value
- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasTargetService
public boolean hasTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
- Specified by:
hasTargetService
in interfaceServiceAttachmentOrBuilder
- Returns:
- Whether the targetService field is set.
-
getTargetService
public String getTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
- Specified by:
getTargetService
in interfaceServiceAttachmentOrBuilder
- Returns:
- The targetService.
-
getTargetServiceBytes
public com.google.protobuf.ByteString getTargetServiceBytes()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
- Specified by:
getTargetServiceBytes
in interfaceServiceAttachmentOrBuilder
- Returns:
- The bytes for targetService.
-
setTargetService
public ServiceAttachment.Builder setTargetService(String value)
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
- Parameters:
value
- The targetService to set.- Returns:
- This builder for chaining.
-
clearTargetService
public ServiceAttachment.Builder clearTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;
- Returns:
- This builder for chaining.
-
setTargetServiceBytes
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;
- Parameters:
value
- The bytes for targetService to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ServiceAttachment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
mergeUnknownFields
public final ServiceAttachment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachment.Builder>
-
-