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
public interface NetworkAttachmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkAttachmentConnectedEndpoint
getConnectionEndpoints(int index)
[Output Only] An array of connections for all the producers connected to this network attachment.int
getConnectionEndpointsCount()
[Output Only] An array of connections for all the producers connected to this network attachment.List<NetworkAttachmentConnectedEndpoint>
getConnectionEndpointsList()
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachmentConnectedEndpointOrBuilder
getConnectionEndpointsOrBuilder(int index)
[Output Only] An array of connections for all the producers connected to this network attachment.List<? extends NetworkAttachmentConnectedEndpointOrBuilder>
getConnectionEndpointsOrBuilderList()
[Output Only] An array of connections for all the producers connected to this network attachment.String
getConnectionPreference()
Check the ConnectionPreference enum for the list of possible values.com.google.protobuf.ByteString
getConnectionPreferenceBytes()
Check the ConnectionPreference enum for the list of possible values.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.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
getNetwork()
[Output Only] The URL of the network which the Network Attachment belongs to.com.google.protobuf.ByteString
getNetworkBytes()
[Output Only] The URL of the network which the Network Attachment belongs to.String
getProducerAcceptLists(int index)
Projects that are allowed to connect to this network attachment.com.google.protobuf.ByteString
getProducerAcceptListsBytes(int index)
Projects that are allowed to connect to this network attachment.int
getProducerAcceptListsCount()
Projects that are allowed to connect to this network attachment.List<String>
getProducerAcceptListsList()
Projects that are allowed to connect to this network attachment.String
getProducerRejectLists(int index)
Projects that are not allowed to connect to this network attachment.com.google.protobuf.ByteString
getProducerRejectListsBytes(int index)
Projects that are not allowed to connect to this network attachment.int
getProducerRejectListsCount()
Projects that are not allowed to connect to this network attachment.List<String>
getProducerRejectListsList()
Projects that are not allowed to connect to this network attachment.String
getRegion()
[Output Only] URL of the region where the network attachment resides.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] URL of the region where the network attachment resides.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.String
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.com.google.protobuf.ByteString
getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource's resource id.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.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.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.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.boolean
hasConnectionPreference()
Check the ConnectionPreference enum for the list of possible values.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasFingerprint()
Fingerprint of this resource.boolean
hasId()
[Output Only] The unique identifier for the resource type.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasName()
Name of the resource.boolean
hasNetwork()
[Output Only] The URL of the network which the Network Attachment belongs to.boolean
hasRegion()
[Output Only] URL of the region where the network attachment resides.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConnectionEndpointsList
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;
-
getConnectionEndpoints
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;
-
getConnectionEndpointsCount
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;
-
getConnectionEndpointsOrBuilderList
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;
-
getConnectionEndpointsOrBuilder
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;
-
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] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 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] 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] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
- Returns:
- The id.
-
hasKind
boolean hasKind()
[Output Only] Type of the resource.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Returns:
- 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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Returns:
- 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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Returns:
- The bytes for name.
-
hasNetwork
boolean hasNetwork()
[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] 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] 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
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:
- 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
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;
- 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
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:
- 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
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;
- 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] 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] 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] 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] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The bytes for selfLink.
-
hasSelfLinkWithId
boolean hasSelfLinkWithId()
[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] 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] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
- Returns:
- The bytes for selfLinkWithId.
-
getSubnetworksList
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:
- 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
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;
- 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.
-
-