Package com.google.cloud.compute.v1
Interface NetworkAttachmentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkAttachment,NetworkAttachment.Builder
@Generated
public interface NetworkAttachmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetConnectionEndpoints(int index) Output only.intOutput only.Output only.getConnectionEndpointsOrBuilder(int index) Output only.List<? extends NetworkAttachmentConnectedEndpointOrBuilder>Output only.Check the ConnectionPreference enum for the list of possible values.com.google.protobuf.ByteStringCheck the ConnectionPreference enum for the list of possible values.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.Fingerprint of this resource.com.google.protobuf.ByteStringFingerprint of this resource.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.Output only.com.google.protobuf.ByteStringOutput only.getProducerAcceptLists(int index) Projects that are allowed to connect to this network attachment.com.google.protobuf.ByteStringgetProducerAcceptListsBytes(int index) Projects that are allowed to connect to this network attachment.intProjects that are allowed to connect to this network attachment.Projects that are allowed to connect to this network attachment.getProducerRejectLists(int index) Projects that are not allowed to connect to this network attachment.com.google.protobuf.ByteStringgetProducerRejectListsBytes(int index) Projects that are not allowed to connect to this network attachment.intProjects that are not allowed to connect to this network attachment.Projects that are not allowed to connect to this network attachment.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getSubnetworks(int index) An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.com.google.protobuf.ByteStringgetSubnetworksBytes(int index) An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.intAn array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.booleanCheck the ConnectionPreference enum for the list of possible values.booleanOutput only.booleanAn optional description of this resource.booleanFingerprint of this resource.booleanhasId()Output only.booleanhasKind()Output only.booleanhasName()Name of the resource.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getConnectionEndpointsList
List<NetworkAttachmentConnectedEndpoint> getConnectionEndpointsList()Output only. [Output Only] An array of connections for all the producers connected to this network attachment.
repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813; -
getConnectionEndpoints
Output only. [Output Only] An array of connections for all the producers connected to this network attachment.
repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813; -
getConnectionEndpointsCount
int getConnectionEndpointsCount()Output only. [Output Only] An array of connections for all the producers connected to this network attachment.
repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813; -
getConnectionEndpointsOrBuilderList
List<? extends NetworkAttachmentConnectedEndpointOrBuilder> getConnectionEndpointsOrBuilderList()Output only. [Output Only] An array of connections for all the producers connected to this network attachment.
repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813; -
getConnectionEndpointsOrBuilder
Output only. [Output Only] An array of connections for all the producers connected to this network attachment.
repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813; -
hasConnectionPreference
boolean hasConnectionPreference()Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Returns:
- Whether the connectionPreference field is set.
-
getConnectionPreference
String getConnectionPreference()Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Returns:
- The connectionPreference.
-
getConnectionPreferenceBytes
com.google.protobuf.ByteString getConnectionPreferenceBytes()Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Returns:
- The bytes for connectionPreference.
-
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasFingerprint
boolean hasFingerprint()Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.
optional string fingerprint = 234678500;- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
String getFingerprint()Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.
optional string fingerprint = 234678500;- Returns:
- The fingerprint.
-
getFingerprintBytes
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. An up-to-date fingerprint must be provided in order to patch.
optional string fingerprint = 234678500;- Returns:
- The bytes for fingerprint.
-
hasId
boolean hasId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- The id.
-
hasKind
boolean hasKind()Output only. [Output Only] Type of the resource.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasName
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 withRFC1035. 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:
- Whether the name field is set.
-
getName
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 withRFC1035. 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:
- The name.
-
getNameBytes
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 withRFC1035. 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:
- The bytes for name.
-
hasNetwork
boolean hasNetwork()Output only. [Output Only] The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.
optional string network = 232872494;- Returns:
- Whether the network field is set.
-
getNetwork
String getNetwork()Output only. [Output Only] The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.
optional string network = 232872494;- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()Output only. [Output Only] The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.
optional string network = 232872494;- Returns:
- The bytes for network.
-
getProducerAcceptListsList
Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
repeated string producer_accept_lists = 202804523;- Returns:
- A list containing the producerAcceptLists.
-
getProducerAcceptListsCount
int getProducerAcceptListsCount()Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
repeated string producer_accept_lists = 202804523;- Returns:
- The count of producerAcceptLists.
-
getProducerAcceptLists
Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
repeated string producer_accept_lists = 202804523;- Parameters:
index- The index of the element to return.- Returns:
- The producerAcceptLists at the given index.
-
getProducerAcceptListsBytes
com.google.protobuf.ByteString getProducerAcceptListsBytes(int index) Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
repeated string producer_accept_lists = 202804523;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the producerAcceptLists at the given index.
-
getProducerRejectListsList
Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
repeated string producer_reject_lists = 4112002;- Returns:
- A list containing the producerRejectLists.
-
getProducerRejectListsCount
int getProducerRejectListsCount()Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
repeated string producer_reject_lists = 4112002;- Returns:
- The count of producerRejectLists.
-
getProducerRejectLists
Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
repeated string producer_reject_lists = 4112002;- Parameters:
index- The index of the element to return.- Returns:
- The producerRejectLists at the given index.
-
getProducerRejectListsBytes
com.google.protobuf.ByteString getProducerRejectListsBytes(int index) Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
repeated string producer_reject_lists = 4112002;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the producerRejectLists at the given index.
-
hasRegion
boolean hasRegion()Output only. [Output Only] URL of the region where the network 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:
- Whether the region field is set.
-
getRegion
String getRegion()Output only. [Output Only] URL of the region where the network 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:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()Output only. [Output Only] URL of the region where the network 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:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSelfLinkWithId
boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
String getSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
com.google.protobuf.ByteString getSelfLinkWithIdBytes()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- The bytes for selfLinkWithId.
-
getSubnetworksList
An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.
repeated string subnetworks = 415853125;- Returns:
- A list containing the subnetworks.
-
getSubnetworksCount
int getSubnetworksCount()An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.
repeated string subnetworks = 415853125;- Returns:
- The count of subnetworks.
-
getSubnetworks
An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.
repeated string subnetworks = 415853125;- Parameters:
index- The index of the element to return.- Returns:
- The subnetworks at the given index.
-
getSubnetworksBytes
com.google.protobuf.ByteString getSubnetworksBytes(int index) An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.
repeated string subnetworks = 415853125;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subnetworks at the given index.
-