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.Builder
addAllConnectionEndpoints(Iterable<? extends NetworkAttachmentConnectedEndpoint> values)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.Builder
addAllProducerAcceptLists(Iterable<String> values)
Projects that are allowed to connect to this network attachment.NetworkAttachment.Builder
addAllProducerRejectLists(Iterable<String> values)
Projects that are not allowed to connect to this network attachment.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.NetworkAttachment.Builder
addConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint value)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.Builder
addConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint.Builder builderForValue)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.Builder
addConnectionEndpoints(NetworkAttachmentConnectedEndpoint value)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.Builder
addConnectionEndpoints(NetworkAttachmentConnectedEndpoint.Builder builderForValue)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachmentConnectedEndpoint.Builder
addConnectionEndpointsBuilder()
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachmentConnectedEndpoint.Builder
addConnectionEndpointsBuilder(int index)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.Builder
addProducerAcceptLists(String value)
Projects that are allowed to connect to this network attachment.NetworkAttachment.Builder
addProducerAcceptListsBytes(com.google.protobuf.ByteString value)
Projects that are allowed to connect to this network attachment.NetworkAttachment.Builder
addProducerRejectLists(String value)
Projects that are not allowed to connect to this network attachment.NetworkAttachment.Builder
addProducerRejectListsBytes(com.google.protobuf.ByteString value)
Projects that are not allowed to connect to this network attachment.NetworkAttachment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.NetworkAttachment
build()
NetworkAttachment
buildPartial()
NetworkAttachment.Builder
clear()
NetworkAttachment.Builder
clearConnectionEndpoints()
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.Builder
clearConnectionPreference()
Check the ConnectionPreference enum for the list of possible values.NetworkAttachment.Builder
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.NetworkAttachment.Builder
clearDescription()
An optional description of this resource.NetworkAttachment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NetworkAttachment.Builder
clearFingerprint()
Fingerprint of this resource.NetworkAttachment.Builder
clearId()
[Output Only] The unique identifier for the resource type.NetworkAttachment.Builder
clearKind()
[Output Only] Type of the resource.NetworkAttachment.Builder
clearName()
Name of the resource.NetworkAttachment.Builder
clearNetwork()
[Output Only] The URL of the network which the Network Attachment belongs to.NetworkAttachment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NetworkAttachment.Builder
clearProducerAcceptLists()
Projects that are allowed to connect to this network attachment.NetworkAttachment.Builder
clearProducerRejectLists()
Projects that are not allowed to connect to this network attachment.NetworkAttachment.Builder
clearRegion()
[Output Only] URL of the region where the network attachment resides.NetworkAttachment.Builder
clearSelfLink()
[Output Only] Server-defined URL for the resource.NetworkAttachment.Builder
clearSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.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.NetworkAttachment.Builder
clone()
NetworkAttachmentConnectedEndpoint
getConnectionEndpoints(int index)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachmentConnectedEndpoint.Builder
getConnectionEndpointsBuilder(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.int
getConnectionEndpointsCount()
[Output Only] An array of connections for all the producers connected to this network attachment.List<NetworkAttachmentConnectedEndpoint>
getConnectionEndpointsList()
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachmentConnectedEndpointOrBuilder
getConnectionEndpointsOrBuilder(int index)
[Output Only] An array of connections for all the producers connected to this network attachment.List<? extends NetworkAttachmentConnectedEndpointOrBuilder>
getConnectionEndpointsOrBuilderList()
[Output Only] An array of connections for all the producers connected to this network attachment.String
getConnectionPreference()
Check the ConnectionPreference enum for the list of possible values.com.google.protobuf.ByteString
getConnectionPreferenceBytes()
Check the ConnectionPreference enum for the list of possible values.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.NetworkAttachment
getDefaultInstanceForType()
String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFingerprint()
Fingerprint of this resource.com.google.protobuf.ByteString
getFingerprintBytes()
Fingerprint of this resource.long
getId()
[Output Only] The unique identifier for the resource type.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.String
getName()
Name of the resource.com.google.protobuf.ByteString
getNameBytes()
Name of the resource.String
getNetwork()
[Output Only] The URL of the network which the Network Attachment belongs to.com.google.protobuf.ByteString
getNetworkBytes()
[Output Only] The URL of the network which the Network Attachment belongs to.String
getProducerAcceptLists(int index)
Projects that are allowed to connect to this network attachment.com.google.protobuf.ByteString
getProducerAcceptListsBytes(int index)
Projects that are allowed to connect to this network attachment.int
getProducerAcceptListsCount()
Projects that are allowed to connect to this network attachment.com.google.protobuf.ProtocolStringList
getProducerAcceptListsList()
Projects that are allowed to connect to this network attachment.String
getProducerRejectLists(int index)
Projects that are not allowed to connect to this network attachment.com.google.protobuf.ByteString
getProducerRejectListsBytes(int index)
Projects that are not allowed to connect to this network attachment.int
getProducerRejectListsCount()
Projects that are not allowed to connect to this network attachment.com.google.protobuf.ProtocolStringList
getProducerRejectListsList()
Projects that are not allowed to connect to this network attachment.String
getRegion()
[Output Only] URL of the region where the network attachment resides.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] URL of the region where the network attachment resides.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.String
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.com.google.protobuf.ByteString
getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource's resource id.String
getSubnetworks(int index)
An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.com.google.protobuf.ByteString
getSubnetworksBytes(int index)
An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.int
getSubnetworksCount()
An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.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.boolean
hasConnectionPreference()
Check the ConnectionPreference enum for the list of possible values.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasFingerprint()
Fingerprint of this resource.boolean
hasId()
[Output Only] The unique identifier for the resource type.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasName()
Name of the resource.boolean
hasNetwork()
[Output Only] The URL of the network which the Network Attachment belongs to.boolean
hasRegion()
[Output Only] URL of the region where the network attachment resides.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NetworkAttachment.Builder
mergeFrom(NetworkAttachment other)
NetworkAttachment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NetworkAttachment.Builder
mergeFrom(com.google.protobuf.Message other)
NetworkAttachment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NetworkAttachment.Builder
removeConnectionEndpoints(int index)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.Builder
setConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint value)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.Builder
setConnectionEndpoints(int index, NetworkAttachmentConnectedEndpoint.Builder builderForValue)
[Output Only] An array of connections for all the producers connected to this network attachment.NetworkAttachment.Builder
setConnectionPreference(String value)
Check the ConnectionPreference enum for the list of possible values.NetworkAttachment.Builder
setConnectionPreferenceBytes(com.google.protobuf.ByteString value)
Check the ConnectionPreference enum for the list of possible values.NetworkAttachment.Builder
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.NetworkAttachment.Builder
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.NetworkAttachment.Builder
setDescription(String value)
An optional description of this resource.NetworkAttachment.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.NetworkAttachment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NetworkAttachment.Builder
setFingerprint(String value)
Fingerprint of this resource.NetworkAttachment.Builder
setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this resource.NetworkAttachment.Builder
setId(long value)
[Output Only] The unique identifier for the resource type.NetworkAttachment.Builder
setKind(String value)
[Output Only] Type of the resource.NetworkAttachment.Builder
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.NetworkAttachment.Builder
setName(String value)
Name of the resource.NetworkAttachment.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.NetworkAttachment.Builder
setNetwork(String value)
[Output Only] The URL of the network which the Network Attachment belongs to.NetworkAttachment.Builder
setNetworkBytes(com.google.protobuf.ByteString value)
[Output Only] The URL of the network which the Network Attachment belongs to.NetworkAttachment.Builder
setProducerAcceptLists(int index, String value)
Projects that are allowed to connect to this network attachment.NetworkAttachment.Builder
setProducerRejectLists(int index, String value)
Projects that are not allowed to connect to this network attachment.NetworkAttachment.Builder
setRegion(String value)
[Output Only] URL of the region where the network attachment resides.NetworkAttachment.Builder
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the network attachment resides.NetworkAttachment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NetworkAttachment.Builder
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.NetworkAttachment.Builder
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.NetworkAttachment.Builder
setSelfLinkWithId(String value)
[Output Only] Server-defined URL for this resource's resource id.NetworkAttachment.Builder
setSelfLinkWithIdBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource's resource id.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.NetworkAttachment.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
clear
public NetworkAttachment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
getDefaultInstanceForType
public NetworkAttachment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NetworkAttachment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NetworkAttachment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NetworkAttachment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
setField
public NetworkAttachment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
clearField
public NetworkAttachment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
clearOneof
public NetworkAttachment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
setRepeatedField
public NetworkAttachment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
addRepeatedField
public NetworkAttachment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
mergeFrom
public NetworkAttachment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NetworkAttachment.Builder>
-
mergeFrom
public NetworkAttachment.Builder mergeFrom(NetworkAttachment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getConnectionEndpointsList
in 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:
getConnectionEndpointsCount
in 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:
getConnectionEndpoints
in 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:
getConnectionEndpointsOrBuilder
in 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:
getConnectionEndpointsOrBuilderList
in 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:
hasConnectionPreference
in 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:
getConnectionPreference
in 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:
getConnectionPreferenceBytes
in 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:
hasCreationTimestamp
in 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:
getCreationTimestamp
in 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:
getCreationTimestampBytes
in 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:
hasDescription
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
hasFingerprint
in 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:
getFingerprint
in 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:
getFingerprintBytes
in 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:
hasId
in 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:
getId
in 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:
hasKind
in interfaceNetworkAttachmentOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource.
optional string kind = 3292052;
- Specified by:
getKind
in interfaceNetworkAttachmentOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource.
optional string kind = 3292052;
- Specified by:
getKindBytes
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
hasNetwork
in 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:
getNetwork
in 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:
getNetworkBytes
in 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:
getProducerAcceptListsList
in 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:
getProducerAcceptListsCount
in 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:
getProducerAcceptLists
in 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:
getProducerAcceptListsBytes
in 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:
getProducerRejectListsList
in 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:
getProducerRejectListsCount
in 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:
getProducerRejectLists
in 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:
getProducerRejectListsBytes
in 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:
hasRegion
in 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:
getRegion
in 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:
getRegionBytes
in 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:
hasSelfLink
in 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:
getSelfLink
in 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:
getSelfLinkBytes
in 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:
hasSelfLinkWithId
in 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:
getSelfLinkWithId
in 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:
getSelfLinkWithIdBytes
in 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:
getSubnetworksList
in 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:
getSubnetworksCount
in 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:
getSubnetworks
in 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:
getSubnetworksBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
mergeUnknownFields
public final NetworkAttachment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachment.Builder>
-
-