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. next tag = 20Protobuf type
google.cloud.compute.v1.ServiceAttachment| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceAttachment.Builder
Represents a ServiceAttachment resource.
|
static class |
ServiceAttachment.ConnectionPreference
The connection preference of service attachment.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and 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 |
REGION_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
TARGET_SERVICE_FIELD_NUMBER |
| Modifier and Type | Method and 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.
|
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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 |
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(ByteBuffer data) |
static ServiceAttachment |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<ServiceAttachment> |
parser() |
ServiceAttachment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONNECTED_ENDPOINTS_FIELD_NUMBER
public static final int CONNECTION_PREFERENCE_FIELD_NUMBER
public static final int CONSUMER_ACCEPT_LISTS_FIELD_NUMBER
public static final int CONSUMER_REJECT_LISTS_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DOMAIN_NAMES_FIELD_NUMBER
public static final int ENABLE_PROXY_PROTOCOL_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int NAT_SUBNETS_FIELD_NUMBER
public static final int PRODUCER_FORWARDING_RULE_FIELD_NUMBER
public static final int PSC_SERVICE_ATTACHMENT_ID_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int TARGET_SERVICE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<ServiceAttachmentConnectedEndpoint> getConnectedEndpointsList()
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
getConnectedEndpointsList in interface ServiceAttachmentOrBuilderpublic List<? extends ServiceAttachmentConnectedEndpointOrBuilder> getConnectedEndpointsOrBuilderList()
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
getConnectedEndpointsOrBuilderList in interface ServiceAttachmentOrBuilderpublic int getConnectedEndpointsCount()
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
getConnectedEndpointsCount in interface ServiceAttachmentOrBuilderpublic ServiceAttachmentConnectedEndpoint getConnectedEndpoints(int index)
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
getConnectedEndpoints in interface ServiceAttachmentOrBuilderpublic ServiceAttachmentConnectedEndpointOrBuilder getConnectedEndpointsOrBuilder(int index)
[Output Only] An array of connections for all the consumers connected to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint connected_endpoints = 72223688;
getConnectedEndpointsOrBuilder in interface ServiceAttachmentOrBuilderpublic boolean hasConnectionPreference()
The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;hasConnectionPreference in interface ServiceAttachmentOrBuilderpublic String getConnectionPreference()
The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;getConnectionPreference in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getConnectionPreferenceBytes()
The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;getConnectionPreferenceBytes in interface ServiceAttachmentOrBuilderpublic List<ServiceAttachmentConsumerProjectLimit> getConsumerAcceptListsList()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
getConsumerAcceptListsList in interface ServiceAttachmentOrBuilderpublic List<? extends ServiceAttachmentConsumerProjectLimitOrBuilder> getConsumerAcceptListsOrBuilderList()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
getConsumerAcceptListsOrBuilderList in interface ServiceAttachmentOrBuilderpublic int getConsumerAcceptListsCount()
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
getConsumerAcceptListsCount in interface ServiceAttachmentOrBuilderpublic ServiceAttachmentConsumerProjectLimit getConsumerAcceptLists(int index)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
getConsumerAcceptLists in interface ServiceAttachmentOrBuilderpublic ServiceAttachmentConsumerProjectLimitOrBuilder getConsumerAcceptListsOrBuilder(int index)
Projects that are allowed to connect to this service attachment.
repeated .google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703;
getConsumerAcceptListsOrBuilder in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ProtocolStringList getConsumerRejectListsList()
Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
repeated string consumer_reject_lists = 204033182;getConsumerRejectListsList in interface ServiceAttachmentOrBuilderpublic int getConsumerRejectListsCount()
Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
repeated string consumer_reject_lists = 204033182;getConsumerRejectListsCount in interface ServiceAttachmentOrBuilderpublic String getConsumerRejectLists(int index)
Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
repeated string consumer_reject_lists = 204033182;getConsumerRejectLists in interface ServiceAttachmentOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getConsumerRejectListsBytes(int index)
Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
repeated string consumer_reject_lists = 204033182;getConsumerRejectListsBytes in interface ServiceAttachmentOrBuilderindex - The index of the value to return.public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface ServiceAttachmentOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface ServiceAttachmentOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface ServiceAttachmentOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ProtocolStringList getDomainNamesList()
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;getDomainNamesList in interface ServiceAttachmentOrBuilderpublic int getDomainNamesCount()
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;getDomainNamesCount in interface ServiceAttachmentOrBuilderpublic String getDomainNames(int index)
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;getDomainNames in interface ServiceAttachmentOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDomainNamesBytes(int index)
If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
repeated string domain_names = 6450189;getDomainNamesBytes in interface ServiceAttachmentOrBuilderindex - The index of the value to return.public boolean hasEnableProxyProtocol()
If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers.
optional bool enable_proxy_protocol = 363791237;hasEnableProxyProtocol in interface ServiceAttachmentOrBuilderpublic boolean getEnableProxyProtocol()
If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers.
optional bool enable_proxy_protocol = 363791237;getEnableProxyProtocol in interface ServiceAttachmentOrBuilderpublic boolean hasFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.
optional string fingerprint = 234678500;hasFingerprint in interface ServiceAttachmentOrBuilderpublic String getFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.
optional string fingerprint = 234678500;getFingerprint in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.
optional string fingerprint = 234678500;getFingerprintBytes in interface ServiceAttachmentOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;hasId in interface ServiceAttachmentOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;getId in interface ServiceAttachmentOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;hasKind in interface ServiceAttachmentOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;getKind in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.
optional string kind = 3292052;getKindBytes in interface ServiceAttachmentOrBuilderpublic boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface ServiceAttachmentOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ProtocolStringList getNatSubnetsList()
An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.
repeated string nat_subnets = 374785944;getNatSubnetsList in interface ServiceAttachmentOrBuilderpublic int getNatSubnetsCount()
An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.
repeated string nat_subnets = 374785944;getNatSubnetsCount in interface ServiceAttachmentOrBuilderpublic String getNatSubnets(int index)
An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.
repeated string nat_subnets = 374785944;getNatSubnets in interface ServiceAttachmentOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNatSubnetsBytes(int index)
An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.
repeated string nat_subnets = 374785944;getNatSubnetsBytes in interface ServiceAttachmentOrBuilderindex - The index of the value to return.public boolean hasProducerForwardingRule()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
optional string producer_forwarding_rule = 247927889;hasProducerForwardingRule in interface ServiceAttachmentOrBuilderpublic String getProducerForwardingRule()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
optional string producer_forwarding_rule = 247927889;getProducerForwardingRule in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getProducerForwardingRuleBytes()
The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.
optional string producer_forwarding_rule = 247927889;getProducerForwardingRuleBytes in interface ServiceAttachmentOrBuilderpublic boolean hasPscServiceAttachmentId()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;hasPscServiceAttachmentId in interface ServiceAttachmentOrBuilderpublic Uint128 getPscServiceAttachmentId()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;getPscServiceAttachmentId in interface ServiceAttachmentOrBuilderpublic Uint128OrBuilder getPscServiceAttachmentIdOrBuilder()
[Output Only] An 128-bit global unique ID of the PSC service attachment.
optional .google.cloud.compute.v1.Uint128 psc_service_attachment_id = 527695214;getPscServiceAttachmentIdOrBuilder in interface ServiceAttachmentOrBuilderpublic boolean hasRegion()
[Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;hasRegion in interface ServiceAttachmentOrBuilderpublic String getRegion()
[Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegion in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegionBytes in interface ServiceAttachmentOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface ServiceAttachmentOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface ServiceAttachmentOrBuilderpublic boolean hasTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;hasTargetService in interface ServiceAttachmentOrBuilderpublic String getTargetService()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;getTargetService in interface ServiceAttachmentOrBuilderpublic com.google.protobuf.ByteString getTargetServiceBytes()
The URL of a service serving the endpoint identified by this service attachment.
optional string target_service = 1293831;getTargetServiceBytes in interface ServiceAttachmentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ServiceAttachment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceAttachment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceAttachment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceAttachment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceAttachment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceAttachment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceAttachment parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServiceAttachment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServiceAttachment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServiceAttachment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServiceAttachment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ServiceAttachment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServiceAttachment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ServiceAttachment.Builder newBuilder()
public static ServiceAttachment.Builder newBuilder(ServiceAttachment prototype)
public ServiceAttachment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ServiceAttachment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ServiceAttachment getDefaultInstance()
public static com.google.protobuf.Parser<ServiceAttachment> parser()
public com.google.protobuf.Parser<ServiceAttachment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ServiceAttachment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.