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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<NetworkAttachment.Builder> implements NetworkAttachmentOrBuilder
NetworkAttachments A network attachment resource ...
Protobuf typegoogle.cloud.compute.v1.NetworkAttachment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkAttachment.BuilderaddAllConnectionEndpoints(Iterable<? extends NetworkAttachmentConnectedEndpoint> values)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.BuilderaddAllProducerAcceptLists(Iterable<String> values)Projects that are allowed to connect to this network attachment.NetworkAttachment.BuilderaddAllProducerRejectLists(Iterable<String> values)Projects that are not allowed to connect to this network attachment.NetworkAttachment.BuilderaddAllSubnetworks(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.NetworkAttachment.BuilderaddConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint value)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.BuilderaddConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint.Builder builderForValue)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.BuilderaddConnectionEndpoints(NetworkAttachmentConnectedEndpoint value)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.BuilderaddConnectionEndpoints(NetworkAttachmentConnectedEndpoint.Builder builderForValue)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachmentConnectedEndpoint.BuilderaddConnectionEndpointsBuilder()[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachmentConnectedEndpoint.BuilderaddConnectionEndpointsBuilder(int index)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.BuilderaddProducerAcceptLists(String value)Projects that are allowed to connect to this network attachment.NetworkAttachment.BuilderaddProducerAcceptListsBytes(com.google.protobuf.ByteString value)Projects that are allowed to connect to this network attachment.NetworkAttachment.BuilderaddProducerRejectLists(String value)Projects that are not allowed to connect to this network attachment.NetworkAttachment.BuilderaddProducerRejectListsBytes(com.google.protobuf.ByteString value)Projects that are not allowed to connect to this network attachment.NetworkAttachment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NetworkAttachment.BuilderaddSubnetworks(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.NetworkAttachment.BuilderaddSubnetworksBytes(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.NetworkAttachmentbuild()NetworkAttachmentbuildPartial()NetworkAttachment.Builderclear()NetworkAttachment.BuilderclearConnectionEndpoints()[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.BuilderclearConnectionPreference()Check the ConnectionPreference enum for the list of possible values.NetworkAttachment.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.NetworkAttachment.BuilderclearDescription()An optional description of this resource.NetworkAttachment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NetworkAttachment.BuilderclearFingerprint()Fingerprint of this resource.NetworkAttachment.BuilderclearId()[Output Only] The unique identifier for the resource type.NetworkAttachment.BuilderclearKind()[Output Only] Type of the resource.NetworkAttachment.BuilderclearName()Name of the resource.NetworkAttachment.BuilderclearNetwork()[Output Only] The URL of the network which the Network Attachment belongs to.NetworkAttachment.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NetworkAttachment.BuilderclearProducerAcceptLists()Projects that are allowed to connect to this network attachment.NetworkAttachment.BuilderclearProducerRejectLists()Projects that are not allowed to connect to this network attachment.NetworkAttachment.BuilderclearRegion()[Output Only] URL of the region where the network attachment resides.NetworkAttachment.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.NetworkAttachment.BuilderclearSelfLinkWithId()[Output Only] Server-defined URL for this resource's resource id.NetworkAttachment.BuilderclearSubnetworks()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.NetworkAttachment.Builderclone()NetworkAttachmentConnectedEndpointgetConnectionEndpoints(int index)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachmentConnectedEndpoint.BuildergetConnectionEndpointsBuilder(int index)[Output Only] An array of connections for all the producers connected to this network attachment.List<NetworkAttachmentConnectedEndpoint.Builder>getConnectionEndpointsBuilderList()[Output Only] An array of connections for all the producers connected to this network attachment.intgetConnectionEndpointsCount()[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.NetworkAttachmentConnectedEndpointOrBuildergetConnectionEndpointsOrBuilder(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.StringgetConnectionPreference()Check the ConnectionPreference enum for the list of possible values.com.google.protobuf.ByteStringgetConnectionPreferenceBytes()Check the ConnectionPreference enum for the list of possible values.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.NetworkAttachmentgetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFingerprint()Fingerprint of this resource.com.google.protobuf.ByteStringgetFingerprintBytes()Fingerprint of this resource.longgetId()[Output Only] The unique identifier for the resource type.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.StringgetNetwork()[Output Only] The URL of the network which the Network Attachment belongs to.com.google.protobuf.ByteStringgetNetworkBytes()[Output Only] The URL of the network which the Network Attachment belongs to.StringgetProducerAcceptLists(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.intgetProducerAcceptListsCount()Projects that are allowed to connect to this network attachment.com.google.protobuf.ProtocolStringListgetProducerAcceptListsList()Projects that are allowed to connect to this network attachment.StringgetProducerRejectLists(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.intgetProducerRejectListsCount()Projects that are not allowed to connect to this network attachment.com.google.protobuf.ProtocolStringListgetProducerRejectListsList()Projects that are not allowed to connect to this network attachment.StringgetRegion()[Output Only] URL of the region where the network attachment resides.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] URL of the region where the network attachment resides.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.StringgetSelfLinkWithId()[Output Only] Server-defined URL for this resource's resource id.com.google.protobuf.ByteStringgetSelfLinkWithIdBytes()[Output Only] Server-defined URL for this resource's resource id.StringgetSubnetworks(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.intgetSubnetworksCount()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.ProtocolStringListgetSubnetworksList()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.booleanhasConnectionPreference()Check the ConnectionPreference enum for the list of possible values.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasFingerprint()Fingerprint of this resource.booleanhasId()[Output Only] The unique identifier for the resource type.booleanhasKind()[Output Only] Type of the resource.booleanhasName()Name of the resource.booleanhasNetwork()[Output Only] The URL of the network which the Network Attachment belongs to.booleanhasRegion()[Output Only] URL of the region where the network attachment resides.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasSelfLinkWithId()[Output Only] Server-defined URL for this resource's resource id.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NetworkAttachment.BuildermergeFrom(NetworkAttachment other)NetworkAttachment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NetworkAttachment.BuildermergeFrom(com.google.protobuf.Message other)NetworkAttachment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NetworkAttachment.BuilderremoveConnectionEndpoints(int index)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.BuildersetConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint value)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.BuildersetConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint.Builder builderForValue)[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.BuildersetConnectionPreference(String value)Check the ConnectionPreference enum for the list of possible values.NetworkAttachment.BuildersetConnectionPreferenceBytes(com.google.protobuf.ByteString value)Check the ConnectionPreference enum for the list of possible values.NetworkAttachment.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.NetworkAttachment.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.NetworkAttachment.BuildersetDescription(String value)An optional description of this resource.NetworkAttachment.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.NetworkAttachment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NetworkAttachment.BuildersetFingerprint(String value)Fingerprint of this resource.NetworkAttachment.BuildersetFingerprintBytes(com.google.protobuf.ByteString value)Fingerprint of this resource.NetworkAttachment.BuildersetId(long value)[Output Only] The unique identifier for the resource type.NetworkAttachment.BuildersetKind(String value)[Output Only] Type of the resource.NetworkAttachment.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.NetworkAttachment.BuildersetName(String value)Name of the resource.NetworkAttachment.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource.NetworkAttachment.BuildersetNetwork(String value)[Output Only] The URL of the network which the Network Attachment belongs to.NetworkAttachment.BuildersetNetworkBytes(com.google.protobuf.ByteString value)[Output Only] The URL of the network which the Network Attachment belongs to.NetworkAttachment.BuildersetProducerAcceptLists(int index, String value)Projects that are allowed to connect to this network attachment.NetworkAttachment.BuildersetProducerRejectLists(int index, String value)Projects that are not allowed to connect to this network attachment.NetworkAttachment.BuildersetRegion(String value)[Output Only] URL of the region where the network attachment resides.NetworkAttachment.BuildersetRegionBytes(com.google.protobuf.ByteString value)[Output Only] URL of the region where the network attachment resides.NetworkAttachment.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NetworkAttachment.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.NetworkAttachment.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.NetworkAttachment.BuildersetSelfLinkWithId(String value)[Output Only] Server-defined URL for this resource's resource id.NetworkAttachment.BuildersetSelfLinkWithIdBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for this resource's resource id.NetworkAttachment.BuildersetSubnetworks(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.NetworkAttachment.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
clear
public NetworkAttachment.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
getDefaultInstanceForType
public NetworkAttachment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NetworkAttachment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NetworkAttachment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NetworkAttachment.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
setField
public NetworkAttachment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
clearField
public NetworkAttachment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
clearOneof
public NetworkAttachment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
setRepeatedField
public NetworkAttachment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
addRepeatedField
public NetworkAttachment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
mergeFrom
public NetworkAttachment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkAttachment.Builder>
-
mergeFrom
public NetworkAttachment.Builder mergeFrom(NetworkAttachment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public 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;- Specified by:
getConnectionEndpointsListin interfaceNetworkAttachmentOrBuilder
-
getConnectionEndpointsCount
public 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;- Specified by:
getConnectionEndpointsCountin interfaceNetworkAttachmentOrBuilder
-
getConnectionEndpoints
public 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;- Specified by:
getConnectionEndpointsin interfaceNetworkAttachmentOrBuilder
-
setConnectionEndpoints
public NetworkAttachment.Builder setConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint value)
[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] 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 value)
[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] 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] 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] 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] An array of connections for all the producers connected to this network attachment.
repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813;
-
clearConnectionEndpoints
public NetworkAttachment.Builder clearConnectionEndpoints()
[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
public NetworkAttachment.Builder removeConnectionEndpoints(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;
-
getConnectionEndpointsBuilder
public NetworkAttachmentConnectedEndpoint.Builder getConnectionEndpointsBuilder(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;
-
getConnectionEndpointsOrBuilder
public 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;- Specified by:
getConnectionEndpointsOrBuilderin interfaceNetworkAttachmentOrBuilder
-
getConnectionEndpointsOrBuilderList
public 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;- Specified by:
getConnectionEndpointsOrBuilderListin interfaceNetworkAttachmentOrBuilder
-
addConnectionEndpointsBuilder
public NetworkAttachmentConnectedEndpoint.Builder addConnectionEndpointsBuilder()
[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
public NetworkAttachmentConnectedEndpoint.Builder addConnectionEndpointsBuilder(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;
-
getConnectionEndpointsBuilderList
public List<NetworkAttachmentConnectedEndpoint.Builder> getConnectionEndpointsBuilderList()
[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
public String 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
public NetworkAttachment.Builder setConnectionPreference(String value)
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
public NetworkAttachment.Builder clearConnectionPreference()
Check the ConnectionPreference enum for the list of possible values.
optional string connection_preference = 285818076;- Returns:
- This builder for chaining.
-
setConnectionPreferenceBytes
public NetworkAttachment.Builder setConnectionPreferenceBytes(com.google.protobuf.ByteString value)
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] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceNetworkAttachmentOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public NetworkAttachment.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public NetworkAttachment.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public NetworkAttachment.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 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
public String 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
public NetworkAttachment.Builder setDescription(String value)
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
public NetworkAttachment.Builder 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
public NetworkAttachment.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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
public 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;- 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
public NetworkAttachment.Builder setFingerprint(String value)
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
public NetworkAttachment.Builder 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
public NetworkAttachment.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
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] 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] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
getIdin interfaceNetworkAttachmentOrBuilder- Returns:
- The id.
-
setId
public NetworkAttachment.Builder setId(long value)
[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
public NetworkAttachment.Builder clearId()
[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] Type of the resource.
optional string kind = 3292052;- Specified by:
hasKindin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[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] Type of the resource.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for kind.
-
setKind
public NetworkAttachment.Builder setKind(String value)
[Output Only] Type of the resource.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public NetworkAttachment.Builder clearKind()
[Output Only] Type of the resource.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public NetworkAttachment.Builder setKindBytes(com.google.protobuf.ByteString value)
[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 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;- Specified by:
hasNamein interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the name field is set.
-
getName
public 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;- 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 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;- Specified by:
getNameBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for name.
-
setName
public NetworkAttachment.Builder setName(String value)
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public NetworkAttachment.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public NetworkAttachment.Builder setNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNetwork
public 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;- Specified by:
hasNetworkin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public 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;- Specified by:
getNetworkin interfaceNetworkAttachmentOrBuilder- Returns:
- The network.
-
getNetworkBytes
public 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;- Specified by:
getNetworkBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for network.
-
setNetwork
public NetworkAttachment.Builder setNetwork(String value)
[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
public NetworkAttachment.Builder clearNetwork()
[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
public NetworkAttachment.Builder setNetworkBytes(com.google.protobuf.ByteString value)
[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
public 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;- 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
public NetworkAttachment.Builder setProducerAcceptLists(int index, String value)
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
public NetworkAttachment.Builder addProducerAcceptLists(String value)
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
public NetworkAttachment.Builder addAllProducerAcceptLists(Iterable<String> values)
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
public NetworkAttachment.Builder 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
public NetworkAttachment.Builder addProducerAcceptListsBytes(com.google.protobuf.ByteString value)
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
public 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;- 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
public NetworkAttachment.Builder setProducerRejectLists(int index, String value)
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
public NetworkAttachment.Builder addProducerRejectLists(String value)
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
public NetworkAttachment.Builder addAllProducerRejectLists(Iterable<String> values)
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
public NetworkAttachment.Builder 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
public NetworkAttachment.Builder addProducerRejectListsBytes(com.google.protobuf.ByteString value)
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] 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
public 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;- Specified by:
getRegionin interfaceNetworkAttachmentOrBuilder- Returns:
- The region.
-
getRegionBytes
public 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;- Specified by:
getRegionBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for region.
-
setRegion
public NetworkAttachment.Builder setRegion(String value)
[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
public NetworkAttachment.Builder clearRegion()
[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
public NetworkAttachment.Builder setRegionBytes(com.google.protobuf.ByteString value)
[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] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceNetworkAttachmentOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[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] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceNetworkAttachmentOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public NetworkAttachment.Builder setSelfLink(String value)
[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
public NetworkAttachment.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public NetworkAttachment.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[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] 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
public String getSelfLinkWithId()
[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] 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
public NetworkAttachment.Builder setSelfLinkWithId(String value)
[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
public NetworkAttachment.Builder clearSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- This builder for chaining.
-
setSelfLinkWithIdBytes
public NetworkAttachment.Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value)
[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
public 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;- 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
public NetworkAttachment.Builder 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.
repeated string subnetworks = 415853125;- Parameters:
index- The index to set the value at.value- The subnetworks to set.- Returns:
- This builder for chaining.
-
addSubnetworks
public NetworkAttachment.Builder 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.
repeated string subnetworks = 415853125;- Parameters:
value- The subnetworks to add.- Returns:
- This builder for chaining.
-
addAllSubnetworks
public NetworkAttachment.Builder 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.
repeated string subnetworks = 415853125;- Parameters:
values- The subnetworks to add.- Returns:
- This builder for chaining.
-
clearSubnetworks
public NetworkAttachment.Builder 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
public NetworkAttachment.Builder 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.
repeated string subnetworks = 415853125;- Parameters:
value- The bytes of the subnetworks to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NetworkAttachment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
mergeUnknownFields
public final NetworkAttachment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
-