Package com.google.cloud.compute.v1
Class ServiceAttachment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.ServiceAttachment
-
- All Implemented Interfaces:
ServiceAttachmentOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ServiceAttachment extends com.google.protobuf.GeneratedMessageV3 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
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceAttachment.Builder
Represents a ServiceAttachment resource.static class
ServiceAttachment.ConnectionPreference
The connection preference of service attachment.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONNECTED_ENDPOINTS_FIELD_NUMBER
static int
CONNECTION_PREFERENCE_FIELD_NUMBER
static int
CONSUMER_ACCEPT_LISTS_FIELD_NUMBER
static int
CONSUMER_REJECT_LISTS_FIELD_NUMBER
static int
CREATION_TIMESTAMP_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DOMAIN_NAMES_FIELD_NUMBER
static int
ENABLE_PROXY_PROTOCOL_FIELD_NUMBER
static int
FINGERPRINT_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NAT_SUBNETS_FIELD_NUMBER
static int
PRODUCER_FORWARDING_RULE_FIELD_NUMBER
static int
PSC_SERVICE_ATTACHMENT_ID_FIELD_NUMBER
static int
RECONCILE_CONNECTIONS_FIELD_NUMBER
static int
REGION_FIELD_NUMBER
static int
SELF_LINK_FIELD_NUMBER
static int
TARGET_SERVICE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ServiceAttachmentConnectedEndpoint
getConnectedEndpoints(int index)
[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.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.static ServiceAttachment
getDefaultInstance()
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()
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.com.google.protobuf.Parser<ServiceAttachment>
getParserForType()
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.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.int
getSerializedSize()
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.int
hashCode()
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()
static ServiceAttachment.Builder
newBuilder()
static ServiceAttachment.Builder
newBuilder(ServiceAttachment prototype)
ServiceAttachment.Builder
newBuilderForType()
protected ServiceAttachment.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ServiceAttachment
parseDelimitedFrom(InputStream input)
static ServiceAttachment
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServiceAttachment
parseFrom(byte[] data)
static ServiceAttachment
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServiceAttachment
parseFrom(com.google.protobuf.ByteString data)
static ServiceAttachment
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServiceAttachment
parseFrom(com.google.protobuf.CodedInputStream input)
static ServiceAttachment
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServiceAttachment
parseFrom(InputStream input)
static ServiceAttachment
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServiceAttachment
parseFrom(ByteBuffer data)
static ServiceAttachment
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ServiceAttachment>
parser()
ServiceAttachment.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CONNECTED_ENDPOINTS_FIELD_NUMBER
public static final int CONNECTED_ENDPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONNECTION_PREFERENCE_FIELD_NUMBER
public static final int CONNECTION_PREFERENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSUMER_ACCEPT_LISTS_FIELD_NUMBER
public static final int CONSUMER_ACCEPT_LISTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSUMER_REJECT_LISTS_FIELD_NUMBER
public static final int CONSUMER_REJECT_LISTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOMAIN_NAMES_FIELD_NUMBER
public static final int DOMAIN_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_PROXY_PROTOCOL_FIELD_NUMBER
public static final int ENABLE_PROXY_PROTOCOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAT_SUBNETS_FIELD_NUMBER
public static final int NAT_SUBNETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRODUCER_FORWARDING_RULE_FIELD_NUMBER
public static final int PRODUCER_FORWARDING_RULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PSC_SERVICE_ATTACHMENT_ID_FIELD_NUMBER
public static final int PSC_SERVICE_ATTACHMENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECONCILE_CONNECTIONS_FIELD_NUMBER
public static final int RECONCILE_CONNECTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_SERVICE_FIELD_NUMBER
public static final int TARGET_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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
-
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
-
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
-
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
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ServiceAttachment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceAttachment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceAttachment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceAttachment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceAttachment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceAttachment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceAttachment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ServiceAttachment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ServiceAttachment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ServiceAttachment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ServiceAttachment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ServiceAttachment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ServiceAttachment.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ServiceAttachment.Builder newBuilder()
-
newBuilder
public static ServiceAttachment.Builder newBuilder(ServiceAttachment prototype)
-
toBuilder
public ServiceAttachment.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ServiceAttachment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ServiceAttachment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ServiceAttachment> parser()
-
getParserForType
public com.google.protobuf.Parser<ServiceAttachment> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ServiceAttachment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-