Package com.google.cloud.compute.v1
Class NetworkAttachment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkAttachment.Builder>
com.google.cloud.compute.v1.NetworkAttachment.Builder
- All Implemented Interfaces:
NetworkAttachmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkAttachment
public static final class NetworkAttachment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NetworkAttachment.Builder>
implements NetworkAttachmentOrBuilder
NetworkAttachments A network attachment resource ...Protobuf type
google.cloud.compute.v1.NetworkAttachment-
Method Summary
Modifier and TypeMethodDescriptionaddAllConnectionEndpoints(Iterable<? extends NetworkAttachmentConnectedEndpoint> values) Output only.addAllProducerAcceptLists(Iterable<String> values) Projects that are allowed to connect to this network attachment.addAllProducerRejectLists(Iterable<String> values) Projects that are not allowed to connect to this network attachment.addAllSubnetworks(Iterable<String> values) 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.addConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint value) Output only.addConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint.Builder builderForValue) Output only.Output only.addConnectionEndpoints(NetworkAttachmentConnectedEndpoint.Builder builderForValue) Output only.Output only.addConnectionEndpointsBuilder(int index) Output only.addProducerAcceptLists(String value) Projects that are allowed to connect to this network attachment.addProducerAcceptListsBytes(com.google.protobuf.ByteString value) Projects that are allowed to connect to this network attachment.addProducerRejectLists(String value) Projects that are not allowed to connect to this network attachment.addProducerRejectListsBytes(com.google.protobuf.ByteString value) Projects that are not allowed to connect to this network attachment.addSubnetworks(String value) 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.addSubnetworksBytes(com.google.protobuf.ByteString value) 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.build()clear()Output only.Check the ConnectionPreference enum for the list of possible values.Output only.An optional description of this resource.Fingerprint of this resource.clearId()Output only.Output only.Name of the resource.Output only.Projects that are allowed to connect to this network attachment.Projects that are not allowed to connect to this network attachment.Output only.Output only.Output only.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.getConnectionEndpoints(int index) Output only.getConnectionEndpointsBuilder(int index) Output only.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFingerprint 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.com.google.protobuf.ProtocolStringListProjects 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.com.google.protobuf.ProtocolStringListProjects 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.com.google.protobuf.ProtocolStringListAn 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(NetworkAttachment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeConnectionEndpoints(int index) Output only.setConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint value) Output only.setConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint.Builder builderForValue) Output only.setConnectionPreference(String value) Check the ConnectionPreference enum for the list of possible values.setConnectionPreferenceBytes(com.google.protobuf.ByteString value) Check the ConnectionPreference enum for the list of possible values.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setFingerprint(String value) Fingerprint of this resource.setFingerprintBytes(com.google.protobuf.ByteString value) Fingerprint of this resource.setId(long value) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.setNetwork(String value) Output only.setNetworkBytes(com.google.protobuf.ByteString value) Output only.setProducerAcceptLists(int index, String value) Projects that are allowed to connect to this network attachment.setProducerRejectLists(int index, String value) Projects that are not allowed to connect to this network attachment.Output only.setRegionBytes(com.google.protobuf.ByteString value) Output only.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.setSelfLinkWithId(String value) Output only.setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) Output only.setSubnetworks(int index, String value) 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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<NetworkAttachment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NetworkAttachment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NetworkAttachment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkAttachment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NetworkAttachment.Builder>
-
mergeFrom
public NetworkAttachment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkAttachment.Builder>- Throws:
IOException
-
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;- Specified by:
getConnectionEndpointsListin interfaceNetworkAttachmentOrBuilder
-
getConnectionEndpointsCount
public 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;- Specified by:
getConnectionEndpointsCountin interfaceNetworkAttachmentOrBuilder
-
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;- Specified by:
getConnectionEndpointsin interfaceNetworkAttachmentOrBuilder
-
setConnectionEndpoints
public NetworkAttachment.Builder setConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint value) 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; -
setConnectionEndpoints
public NetworkAttachment.Builder setConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint.Builder builderForValue) 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; -
addConnectionEndpoints
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; -
addConnectionEndpoints
public NetworkAttachment.Builder addConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint value) 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; -
addConnectionEndpoints
public NetworkAttachment.Builder addConnectionEndpoints(NetworkAttachmentConnectedEndpoint.Builder builderForValue) 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; -
addConnectionEndpoints
public NetworkAttachment.Builder addConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint.Builder builderForValue) 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; -
addAllConnectionEndpoints
public NetworkAttachment.Builder addAllConnectionEndpoints(Iterable<? extends NetworkAttachmentConnectedEndpoint> values) 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; -
clearConnectionEndpoints
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; -
removeConnectionEndpoints
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; -
getConnectionEndpointsBuilder
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;- Specified by:
getConnectionEndpointsOrBuilderin interfaceNetworkAttachmentOrBuilder
-
getConnectionEndpointsOrBuilderList
public 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;- Specified by:
getConnectionEndpointsOrBuilderListin interfaceNetworkAttachmentOrBuilder
-
addConnectionEndpointsBuilder
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; -
addConnectionEndpointsBuilder
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; -
getConnectionEndpointsBuilderList
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
public boolean hasConnectionPreference()Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Specified by:
hasConnectionPreferencein interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the connectionPreference field is set.
-
getConnectionPreference
Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Specified by:
getConnectionPreferencein interfaceNetworkAttachmentOrBuilder- Returns:
- The connectionPreference.
-
getConnectionPreferenceBytes
public com.google.protobuf.ByteString getConnectionPreferenceBytes()Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Specified by:
getConnectionPreferenceBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for connectionPreference.
-
setConnectionPreference
Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Parameters:
value- The connectionPreference to set.- Returns:
- This builder for chaining.
-
clearConnectionPreference
Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Returns:
- This builder for chaining.
-
setConnectionPreferenceBytes
Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Parameters:
value- The bytes for connectionPreference to set.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceNetworkAttachmentOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceNetworkAttachmentOrBuilder- 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:
getDescriptionBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasFingerprint
public 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;- Specified by:
hasFingerprintin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the fingerprint field is set.
-
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;- Specified by:
getFingerprintin interfaceNetworkAttachmentOrBuilder- 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. An up-to-date fingerprint must be provided in order to patch.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
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;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
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:
- This builder for chaining.
-
setFingerprintBytes
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;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
getIdin interfaceNetworkAttachmentOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource.
optional string kind = 3292052;- Specified by:
hasKindin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource.
optional string kind = 3292052;- Specified by:
getKindin interfaceNetworkAttachmentOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
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 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;- Specified by:
hasNamein interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the name field is set.
-
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;- Specified by:
getNamein interfaceNetworkAttachmentOrBuilder- 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 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;- Specified by:
getNameBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNetwork
public 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;- Specified by:
hasNetworkin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the network field is set.
-
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;- Specified by:
getNetworkin interfaceNetworkAttachmentOrBuilder- Returns:
- The network.
-
getNetworkBytes
public 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;- Specified by:
getNetworkBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for network.
-
setNetwork
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;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
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:
- This builder for chaining.
-
setNetworkBytes
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;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getProducerAcceptListsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getProducerAcceptListsListin interfaceNetworkAttachmentOrBuilder- Returns:
- A list containing the producerAcceptLists.
-
getProducerAcceptListsCount
public 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;- Specified by:
getProducerAcceptListsCountin interfaceNetworkAttachmentOrBuilder- 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;- Specified by:
getProducerAcceptListsin interfaceNetworkAttachmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The producerAcceptLists at the given index.
-
getProducerAcceptListsBytes
public 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;- Specified by:
getProducerAcceptListsBytesin interfaceNetworkAttachmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the producerAcceptLists at the given index.
-
setProducerAcceptLists
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 to set the value at.value- The producerAcceptLists to set.- Returns:
- This builder for chaining.
-
addProducerAcceptLists
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:
value- The producerAcceptLists to add.- Returns:
- This builder for chaining.
-
addAllProducerAcceptLists
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:
values- The producerAcceptLists to add.- Returns:
- This builder for chaining.
-
clearProducerAcceptLists
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:
- This builder for chaining.
-
addProducerAcceptListsBytes
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:
value- The bytes of the producerAcceptLists to add.- Returns:
- This builder for chaining.
-
getProducerRejectListsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getProducerRejectListsListin interfaceNetworkAttachmentOrBuilder- Returns:
- A list containing the producerRejectLists.
-
getProducerRejectListsCount
public 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;- Specified by:
getProducerRejectListsCountin interfaceNetworkAttachmentOrBuilder- 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;- Specified by:
getProducerRejectListsin interfaceNetworkAttachmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The producerRejectLists at the given index.
-
getProducerRejectListsBytes
public 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;- Specified by:
getProducerRejectListsBytesin interfaceNetworkAttachmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the producerRejectLists at the given index.
-
setProducerRejectLists
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 to set the value at.value- The producerRejectLists to set.- Returns:
- This builder for chaining.
-
addProducerRejectLists
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:
value- The producerRejectLists to add.- Returns:
- This builder for chaining.
-
addAllProducerRejectLists
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:
values- The producerRejectLists to add.- Returns:
- This builder for chaining.
-
clearProducerRejectLists
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:
- This builder for chaining.
-
addProducerRejectListsBytes
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:
value- The bytes of the producerRejectLists to add.- Returns:
- This builder for chaining.
-
hasRegion
public 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;- Specified by:
hasRegionin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the region field is set.
-
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;- Specified by:
getRegionin interfaceNetworkAttachmentOrBuilder- Returns:
- The region.
-
getRegionBytes
public 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;- Specified by:
getRegionBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for region.
-
setRegion
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;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
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:
- This builder for chaining.
-
setRegionBytes
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;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceNetworkAttachmentOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasSelfLinkWithId
public boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Specified by:
hasSelfLinkWithIdin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Specified by:
getSelfLinkWithIdin interfaceNetworkAttachmentOrBuilder- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
public 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;- Specified by:
getSelfLinkWithIdBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for selfLinkWithId.
-
setSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Parameters:
value- The selfLinkWithId to set.- Returns:
- This builder for chaining.
-
clearSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- This builder for chaining.
-
setSelfLinkWithIdBytes
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Parameters:
value- The bytes for selfLinkWithId to set.- Returns:
- This builder for chaining.
-
getSubnetworksList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getSubnetworksListin interfaceNetworkAttachmentOrBuilder- Returns:
- A list containing the subnetworks.
-
getSubnetworksCount
public 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;- Specified by:
getSubnetworksCountin interfaceNetworkAttachmentOrBuilder- 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;- Specified by:
getSubnetworksin interfaceNetworkAttachmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The subnetworks at the given index.
-
getSubnetworksBytes
public 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;- Specified by:
getSubnetworksBytesin interfaceNetworkAttachmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subnetworks at the given index.
-
setSubnetworks
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 to set the value at.value- The subnetworks to set.- Returns:
- This builder for chaining.
-
addSubnetworks
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:
value- The subnetworks to add.- Returns:
- This builder for chaining.
-
addAllSubnetworks
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:
values- The subnetworks to add.- Returns:
- This builder for chaining.
-
clearSubnetworks
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:
- This builder for chaining.
-
addSubnetworksBytes
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:
value- The bytes of the subnetworks to add.- Returns:
- This builder for chaining.
-