Interface NetworkAttachmentOrBuilder (1.29.0)

public interface NetworkAttachmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnectionEndpoints(int index)

public abstract NetworkAttachmentConnectedEndpoint getConnectionEndpoints(int index)

[Output Only] An array of connections for all the producers connected to this network attachment.

repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAttachmentConnectedEndpoint

getConnectionEndpointsCount()

public abstract int getConnectionEndpointsCount()

[Output Only] An array of connections for all the producers connected to this network attachment.

repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813;

Returns
TypeDescription
int

getConnectionEndpointsList()

public abstract List<NetworkAttachmentConnectedEndpoint> getConnectionEndpointsList()

[Output Only] An array of connections for all the producers connected to this network attachment.

repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813;

Returns
TypeDescription
List<NetworkAttachmentConnectedEndpoint>

getConnectionEndpointsOrBuilder(int index)

public abstract NetworkAttachmentConnectedEndpointOrBuilder getConnectionEndpointsOrBuilder(int index)

[Output Only] An array of connections for all the producers connected to this network attachment.

repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAttachmentConnectedEndpointOrBuilder

getConnectionEndpointsOrBuilderList()

public abstract List<? extends NetworkAttachmentConnectedEndpointOrBuilder> getConnectionEndpointsOrBuilderList()

[Output Only] An array of connections for all the producers connected to this network attachment.

repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.NetworkAttachmentConnectedEndpointOrBuilder>

getConnectionPreference()

public abstract String getConnectionPreference()

Check the ConnectionPreference enum for the list of possible values.

optional string connection_preference = 285818076;

Returns
TypeDescription
String

The connectionPreference.

getConnectionPreferenceBytes()

public abstract ByteString getConnectionPreferenceBytes()

Check the ConnectionPreference enum for the list of possible values.

optional string connection_preference = 285818076;

Returns
TypeDescription
ByteString

The bytes for connectionPreference.

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
ByteString

The bytes for creationTimestamp.

getDescription()

public abstract String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getFingerprint()

public abstract String getFingerprint()

[Output Only] 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
TypeDescription
String

The fingerprint.

getFingerprintBytes()

public abstract ByteString getFingerprintBytes()

[Output Only] 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
TypeDescription
ByteString

The bytes for fingerprint.

getId()

public abstract long getId()

[Output Only] The unique identifier for the resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
TypeDescription
long

The id.

getKind()

public abstract String getKind()

[Output Only] Type of the resource.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of the resource.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getName()

public abstract 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? 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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? 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
TypeDescription
ByteString

The bytes for name.

getNetwork()

public abstract String getNetwork()

[Output Only] The URL of the network which the Network Attachment belongs to.

optional string network = 232872494;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

[Output Only] The URL of the network which the Network Attachment belongs to.

optional string network = 232872494;

Returns
TypeDescription
ByteString

The bytes for network.

getProducerAcceptLists(int index)

public abstract String getProducerAcceptLists(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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The producerAcceptLists at the given index.

getProducerAcceptListsBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the producerAcceptLists at the given index.

getProducerAcceptListsCount()

public abstract 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
TypeDescription
int

The count of producerAcceptLists.

getProducerAcceptListsList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the producerAcceptLists.

getProducerRejectLists(int index)

public abstract String getProducerRejectLists(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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The producerRejectLists at the given index.

getProducerRejectListsBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the producerRejectLists at the given index.

getProducerRejectListsCount()

public abstract 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
TypeDescription
int

The count of producerRejectLists.

getProducerRejectListsList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the producerRejectLists.

getRegion()

public abstract String getRegion()

[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
TypeDescription
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

[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
TypeDescription
ByteString

The bytes for region.

public abstract String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

getSelfLinkWithId()

public abstract String getSelfLinkWithId()

[Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
TypeDescription
String

The selfLinkWithId.

getSelfLinkWithIdBytes()

public abstract ByteString getSelfLinkWithIdBytes()

[Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
TypeDescription
ByteString

The bytes for selfLinkWithId.

getSubnetworks(int index)

public abstract String 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.

repeated string subnetworks = 415853125;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The subnetworks at the given index.

getSubnetworksBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the subnetworks at the given index.

getSubnetworksCount()

public abstract 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
TypeDescription
int

The count of subnetworks.

getSubnetworksList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the subnetworks.

hasConnectionPreference()

public abstract boolean hasConnectionPreference()

Check the ConnectionPreference enum for the list of possible values.

optional string connection_preference = 285818076;

Returns
TypeDescription
boolean

Whether the connectionPreference field is set.

hasCreationTimestamp()

public abstract boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
boolean

Whether the creationTimestamp field is set.

hasDescription()

public abstract boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hasFingerprint()

public abstract boolean hasFingerprint()

[Output Only] 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
TypeDescription
boolean

Whether the fingerprint field is set.

hasId()

public abstract boolean hasId()

[Output Only] The unique identifier for the resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of the resource.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasName()

public abstract 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? 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
TypeDescription
boolean

Whether the name field is set.

hasNetwork()

public abstract boolean hasNetwork()

[Output Only] The URL of the network which the Network Attachment belongs to.

optional string network = 232872494;

Returns
TypeDescription
boolean

Whether the network field is set.

hasRegion()

public abstract boolean hasRegion()

[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
TypeDescription
boolean

Whether the region field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
boolean

Whether the selfLink field is set.

hasSelfLinkWithId()

public abstract boolean hasSelfLinkWithId()

[Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
TypeDescription
boolean

Whether the selfLinkWithId field is set.