public static final class NetworkInterface.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder> implements NetworkInterfaceOrBuilder
A network interface resource attached to an instance.Protobuf type
google.cloud.compute.v1.NetworkInterface| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.Builder |
addAccessConfigs(AccessConfig.Builder builderForValue)
An array of configurations for this interface.
|
NetworkInterface.Builder |
addAccessConfigs(AccessConfig value)
An array of configurations for this interface.
|
NetworkInterface.Builder |
addAccessConfigs(int index,
AccessConfig.Builder builderForValue)
An array of configurations for this interface.
|
NetworkInterface.Builder |
addAccessConfigs(int index,
AccessConfig value)
An array of configurations for this interface.
|
AccessConfig.Builder |
addAccessConfigsBuilder()
An array of configurations for this interface.
|
AccessConfig.Builder |
addAccessConfigsBuilder(int index)
An array of configurations for this interface.
|
NetworkInterface.Builder |
addAliasIpRanges(AliasIpRange.Builder builderForValue)
An array of alias IP ranges for this network interface.
|
NetworkInterface.Builder |
addAliasIpRanges(AliasIpRange value)
An array of alias IP ranges for this network interface.
|
NetworkInterface.Builder |
addAliasIpRanges(int index,
AliasIpRange.Builder builderForValue)
An array of alias IP ranges for this network interface.
|
NetworkInterface.Builder |
addAliasIpRanges(int index,
AliasIpRange value)
An array of alias IP ranges for this network interface.
|
AliasIpRange.Builder |
addAliasIpRangesBuilder()
An array of alias IP ranges for this network interface.
|
AliasIpRange.Builder |
addAliasIpRangesBuilder(int index)
An array of alias IP ranges for this network interface.
|
NetworkInterface.Builder |
addAllAccessConfigs(Iterable<? extends AccessConfig> values)
An array of configurations for this interface.
|
NetworkInterface.Builder |
addAllAliasIpRanges(Iterable<? extends AliasIpRange> values)
An array of alias IP ranges for this network interface.
|
NetworkInterface.Builder |
addAllIpv6AccessConfigs(Iterable<? extends AccessConfig> values)
An array of IPv6 access configurations for this interface.
|
NetworkInterface.Builder |
addIpv6AccessConfigs(AccessConfig.Builder builderForValue)
An array of IPv6 access configurations for this interface.
|
NetworkInterface.Builder |
addIpv6AccessConfigs(AccessConfig value)
An array of IPv6 access configurations for this interface.
|
NetworkInterface.Builder |
addIpv6AccessConfigs(int index,
AccessConfig.Builder builderForValue)
An array of IPv6 access configurations for this interface.
|
NetworkInterface.Builder |
addIpv6AccessConfigs(int index,
AccessConfig value)
An array of IPv6 access configurations for this interface.
|
AccessConfig.Builder |
addIpv6AccessConfigsBuilder()
An array of IPv6 access configurations for this interface.
|
AccessConfig.Builder |
addIpv6AccessConfigsBuilder(int index)
An array of IPv6 access configurations for this interface.
|
NetworkInterface.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NetworkInterface |
build() |
NetworkInterface |
buildPartial() |
NetworkInterface.Builder |
clear() |
NetworkInterface.Builder |
clearAccessConfigs()
An array of configurations for this interface.
|
NetworkInterface.Builder |
clearAliasIpRanges()
An array of alias IP ranges for this network interface.
|
NetworkInterface.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NetworkInterface.Builder |
clearFingerprint()
Fingerprint hash of contents stored in this network interface.
|
NetworkInterface.Builder |
clearInternalIpv6PrefixLength()
The prefix length of the primary internal IPv6 range.
|
NetworkInterface.Builder |
clearIpv6AccessConfigs()
An array of IPv6 access configurations for this interface.
|
NetworkInterface.Builder |
clearIpv6AccessType()
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet.
|
NetworkInterface.Builder |
clearIpv6Address()
An IPv6 internal network address for this network interface.
|
NetworkInterface.Builder |
clearKind()
[Output Only] Type of the resource.
|
NetworkInterface.Builder |
clearName()
[Output Only] The name of the network interface, which is generated by the server.
|
NetworkInterface.Builder |
clearNetwork()
URL of the VPC network resource for this instance.
|
NetworkInterface.Builder |
clearNetworkAttachment()
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
NetworkInterface.Builder |
clearNetworkIP()
An IPv4 internal IP address to assign to the instance for this network interface.
|
NetworkInterface.Builder |
clearNicType()
The type of vNIC to be used on this interface.
|
NetworkInterface.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NetworkInterface.Builder |
clearQueueCount()
The networking queue count that's specified by users for the network interface.
|
NetworkInterface.Builder |
clearStackType()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not.
|
NetworkInterface.Builder |
clearSubnetwork()
The URL of the Subnetwork resource for this instance.
|
NetworkInterface.Builder |
clone() |
AccessConfig |
getAccessConfigs(int index)
An array of configurations for this interface.
|
AccessConfig.Builder |
getAccessConfigsBuilder(int index)
An array of configurations for this interface.
|
List<AccessConfig.Builder> |
getAccessConfigsBuilderList()
An array of configurations for this interface.
|
int |
getAccessConfigsCount()
An array of configurations for this interface.
|
List<AccessConfig> |
getAccessConfigsList()
An array of configurations for this interface.
|
AccessConfigOrBuilder |
getAccessConfigsOrBuilder(int index)
An array of configurations for this interface.
|
List<? extends AccessConfigOrBuilder> |
getAccessConfigsOrBuilderList()
An array of configurations for this interface.
|
AliasIpRange |
getAliasIpRanges(int index)
An array of alias IP ranges for this network interface.
|
AliasIpRange.Builder |
getAliasIpRangesBuilder(int index)
An array of alias IP ranges for this network interface.
|
List<AliasIpRange.Builder> |
getAliasIpRangesBuilderList()
An array of alias IP ranges for this network interface.
|
int |
getAliasIpRangesCount()
An array of alias IP ranges for this network interface.
|
List<AliasIpRange> |
getAliasIpRangesList()
An array of alias IP ranges for this network interface.
|
AliasIpRangeOrBuilder |
getAliasIpRangesOrBuilder(int index)
An array of alias IP ranges for this network interface.
|
List<? extends AliasIpRangeOrBuilder> |
getAliasIpRangesOrBuilderList()
An array of alias IP ranges for this network interface.
|
NetworkInterface |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFingerprint()
Fingerprint hash of contents stored in this network interface.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Fingerprint hash of contents stored in this network interface.
|
int |
getInternalIpv6PrefixLength()
The prefix length of the primary internal IPv6 range.
|
AccessConfig |
getIpv6AccessConfigs(int index)
An array of IPv6 access configurations for this interface.
|
AccessConfig.Builder |
getIpv6AccessConfigsBuilder(int index)
An array of IPv6 access configurations for this interface.
|
List<AccessConfig.Builder> |
getIpv6AccessConfigsBuilderList()
An array of IPv6 access configurations for this interface.
|
int |
getIpv6AccessConfigsCount()
An array of IPv6 access configurations for this interface.
|
List<AccessConfig> |
getIpv6AccessConfigsList()
An array of IPv6 access configurations for this interface.
|
AccessConfigOrBuilder |
getIpv6AccessConfigsOrBuilder(int index)
An array of IPv6 access configurations for this interface.
|
List<? extends AccessConfigOrBuilder> |
getIpv6AccessConfigsOrBuilderList()
An array of IPv6 access configurations for this interface.
|
String |
getIpv6AccessType()
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet.
|
com.google.protobuf.ByteString |
getIpv6AccessTypeBytes()
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet.
|
String |
getIpv6Address()
An IPv6 internal network address for this network interface.
|
com.google.protobuf.ByteString |
getIpv6AddressBytes()
An IPv6 internal network address for this network interface.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
[Output Only] The name of the network interface, which is generated by the server.
|
com.google.protobuf.ByteString |
getNameBytes()
[Output Only] The name of the network interface, which is generated by the server.
|
String |
getNetwork()
URL of the VPC network resource for this instance.
|
String |
getNetworkAttachment()
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
com.google.protobuf.ByteString |
getNetworkAttachmentBytes()
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
com.google.protobuf.ByteString |
getNetworkBytes()
URL of the VPC network resource for this instance.
|
String |
getNetworkIP()
An IPv4 internal IP address to assign to the instance for this network interface.
|
com.google.protobuf.ByteString |
getNetworkIPBytes()
An IPv4 internal IP address to assign to the instance for this network interface.
|
String |
getNicType()
The type of vNIC to be used on this interface.
|
com.google.protobuf.ByteString |
getNicTypeBytes()
The type of vNIC to be used on this interface.
|
int |
getQueueCount()
The networking queue count that's specified by users for the network interface.
|
String |
getStackType()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not.
|
com.google.protobuf.ByteString |
getStackTypeBytes()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not.
|
String |
getSubnetwork()
The URL of the Subnetwork resource for this instance.
|
com.google.protobuf.ByteString |
getSubnetworkBytes()
The URL of the Subnetwork resource for this instance.
|
boolean |
hasFingerprint()
Fingerprint hash of contents stored in this network interface.
|
boolean |
hasInternalIpv6PrefixLength()
The prefix length of the primary internal IPv6 range.
|
boolean |
hasIpv6AccessType()
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet.
|
boolean |
hasIpv6Address()
An IPv6 internal network address for this network interface.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
[Output Only] The name of the network interface, which is generated by the server.
|
boolean |
hasNetwork()
URL of the VPC network resource for this instance.
|
boolean |
hasNetworkAttachment()
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
boolean |
hasNetworkIP()
An IPv4 internal IP address to assign to the instance for this network interface.
|
boolean |
hasNicType()
The type of vNIC to be used on this interface.
|
boolean |
hasQueueCount()
The networking queue count that's specified by users for the network interface.
|
boolean |
hasStackType()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not.
|
boolean |
hasSubnetwork()
The URL of the Subnetwork resource for this instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NetworkInterface.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NetworkInterface.Builder |
mergeFrom(com.google.protobuf.Message other) |
NetworkInterface.Builder |
mergeFrom(NetworkInterface other) |
NetworkInterface.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NetworkInterface.Builder |
removeAccessConfigs(int index)
An array of configurations for this interface.
|
NetworkInterface.Builder |
removeAliasIpRanges(int index)
An array of alias IP ranges for this network interface.
|
NetworkInterface.Builder |
removeIpv6AccessConfigs(int index)
An array of IPv6 access configurations for this interface.
|
NetworkInterface.Builder |
setAccessConfigs(int index,
AccessConfig.Builder builderForValue)
An array of configurations for this interface.
|
NetworkInterface.Builder |
setAccessConfigs(int index,
AccessConfig value)
An array of configurations for this interface.
|
NetworkInterface.Builder |
setAliasIpRanges(int index,
AliasIpRange.Builder builderForValue)
An array of alias IP ranges for this network interface.
|
NetworkInterface.Builder |
setAliasIpRanges(int index,
AliasIpRange value)
An array of alias IP ranges for this network interface.
|
NetworkInterface.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NetworkInterface.Builder |
setFingerprint(String value)
Fingerprint hash of contents stored in this network interface.
|
NetworkInterface.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint hash of contents stored in this network interface.
|
NetworkInterface.Builder |
setInternalIpv6PrefixLength(int value)
The prefix length of the primary internal IPv6 range.
|
NetworkInterface.Builder |
setIpv6AccessConfigs(int index,
AccessConfig.Builder builderForValue)
An array of IPv6 access configurations for this interface.
|
NetworkInterface.Builder |
setIpv6AccessConfigs(int index,
AccessConfig value)
An array of IPv6 access configurations for this interface.
|
NetworkInterface.Builder |
setIpv6AccessType(String value)
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet.
|
NetworkInterface.Builder |
setIpv6AccessTypeBytes(com.google.protobuf.ByteString value)
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet.
|
NetworkInterface.Builder |
setIpv6Address(String value)
An IPv6 internal network address for this network interface.
|
NetworkInterface.Builder |
setIpv6AddressBytes(com.google.protobuf.ByteString value)
An IPv6 internal network address for this network interface.
|
NetworkInterface.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
NetworkInterface.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
NetworkInterface.Builder |
setName(String value)
[Output Only] The name of the network interface, which is generated by the server.
|
NetworkInterface.Builder |
setNameBytes(com.google.protobuf.ByteString value)
[Output Only] The name of the network interface, which is generated by the server.
|
NetworkInterface.Builder |
setNetwork(String value)
URL of the VPC network resource for this instance.
|
NetworkInterface.Builder |
setNetworkAttachment(String value)
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
NetworkInterface.Builder |
setNetworkAttachmentBytes(com.google.protobuf.ByteString value)
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
NetworkInterface.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
URL of the VPC network resource for this instance.
|
NetworkInterface.Builder |
setNetworkIP(String value)
An IPv4 internal IP address to assign to the instance for this network interface.
|
NetworkInterface.Builder |
setNetworkIPBytes(com.google.protobuf.ByteString value)
An IPv4 internal IP address to assign to the instance for this network interface.
|
NetworkInterface.Builder |
setNicType(String value)
The type of vNIC to be used on this interface.
|
NetworkInterface.Builder |
setNicTypeBytes(com.google.protobuf.ByteString value)
The type of vNIC to be used on this interface.
|
NetworkInterface.Builder |
setQueueCount(int value)
The networking queue count that's specified by users for the network interface.
|
NetworkInterface.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NetworkInterface.Builder |
setStackType(String value)
The stack type for this network interface to identify whether the IPv6 feature is enabled or not.
|
NetworkInterface.Builder |
setStackTypeBytes(com.google.protobuf.ByteString value)
The stack type for this network interface to identify whether the IPv6 feature is enabled or not.
|
NetworkInterface.Builder |
setSubnetwork(String value)
The URL of the Subnetwork resource for this instance.
|
NetworkInterface.Builder |
setSubnetworkBytes(com.google.protobuf.ByteString value)
The URL of the Subnetwork resource for this instance.
|
NetworkInterface.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public NetworkInterface.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public NetworkInterface getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NetworkInterface build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NetworkInterface buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NetworkInterface.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public NetworkInterface.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public NetworkInterface.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public NetworkInterface.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public NetworkInterface.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public NetworkInterface.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public NetworkInterface.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkInterface.Builder>public NetworkInterface.Builder mergeFrom(NetworkInterface other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public NetworkInterface.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkInterface.Builder>IOExceptionpublic List<AccessConfig> getAccessConfigsList()
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;getAccessConfigsList in interface NetworkInterfaceOrBuilderpublic int getAccessConfigsCount()
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;getAccessConfigsCount in interface NetworkInterfaceOrBuilderpublic AccessConfig getAccessConfigs(int index)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;getAccessConfigs in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setAccessConfigs(int index, AccessConfig value)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public NetworkInterface.Builder setAccessConfigs(int index, AccessConfig.Builder builderForValue)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public NetworkInterface.Builder addAccessConfigs(AccessConfig value)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public NetworkInterface.Builder addAccessConfigs(int index, AccessConfig value)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public NetworkInterface.Builder addAccessConfigs(AccessConfig.Builder builderForValue)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public NetworkInterface.Builder addAccessConfigs(int index, AccessConfig.Builder builderForValue)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public NetworkInterface.Builder addAllAccessConfigs(Iterable<? extends AccessConfig> values)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public NetworkInterface.Builder clearAccessConfigs()
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public NetworkInterface.Builder removeAccessConfigs(int index)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public AccessConfig.Builder getAccessConfigsBuilder(int index)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public AccessConfigOrBuilder getAccessConfigsOrBuilder(int index)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;getAccessConfigsOrBuilder in interface NetworkInterfaceOrBuilderpublic List<? extends AccessConfigOrBuilder> getAccessConfigsOrBuilderList()
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;getAccessConfigsOrBuilderList in interface NetworkInterfaceOrBuilderpublic AccessConfig.Builder addAccessConfigsBuilder()
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public AccessConfig.Builder addAccessConfigsBuilder(int index)
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public List<AccessConfig.Builder> getAccessConfigsBuilderList()
An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
repeated .google.cloud.compute.v1.AccessConfig access_configs = 111058326;public List<AliasIpRange> getAliasIpRangesList()
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;getAliasIpRangesList in interface NetworkInterfaceOrBuilderpublic int getAliasIpRangesCount()
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;getAliasIpRangesCount in interface NetworkInterfaceOrBuilderpublic AliasIpRange getAliasIpRanges(int index)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;getAliasIpRanges in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setAliasIpRanges(int index, AliasIpRange value)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public NetworkInterface.Builder setAliasIpRanges(int index, AliasIpRange.Builder builderForValue)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public NetworkInterface.Builder addAliasIpRanges(AliasIpRange value)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public NetworkInterface.Builder addAliasIpRanges(int index, AliasIpRange value)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public NetworkInterface.Builder addAliasIpRanges(AliasIpRange.Builder builderForValue)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public NetworkInterface.Builder addAliasIpRanges(int index, AliasIpRange.Builder builderForValue)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public NetworkInterface.Builder addAllAliasIpRanges(Iterable<? extends AliasIpRange> values)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public NetworkInterface.Builder clearAliasIpRanges()
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public NetworkInterface.Builder removeAliasIpRanges(int index)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public AliasIpRange.Builder getAliasIpRangesBuilder(int index)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public AliasIpRangeOrBuilder getAliasIpRangesOrBuilder(int index)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;getAliasIpRangesOrBuilder in interface NetworkInterfaceOrBuilderpublic List<? extends AliasIpRangeOrBuilder> getAliasIpRangesOrBuilderList()
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;getAliasIpRangesOrBuilderList in interface NetworkInterfaceOrBuilderpublic AliasIpRange.Builder addAliasIpRangesBuilder()
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public AliasIpRange.Builder addAliasIpRangesBuilder(int index)
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public List<AliasIpRange.Builder> getAliasIpRangesBuilderList()
An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
repeated .google.cloud.compute.v1.AliasIpRange alias_ip_ranges = 165085631;public boolean hasFingerprint()
Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
optional string fingerprint = 234678500;hasFingerprint in interface NetworkInterfaceOrBuilderpublic String getFingerprint()
Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
optional string fingerprint = 234678500;getFingerprint in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
optional string fingerprint = 234678500;getFingerprintBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setFingerprint(String value)
Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
optional string fingerprint = 234678500;value - The fingerprint to set.public NetworkInterface.Builder clearFingerprint()
Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
optional string fingerprint = 234678500;public NetworkInterface.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
optional string fingerprint = 234678500;value - The bytes for fingerprint to set.public boolean hasInternalIpv6PrefixLength()
The prefix length of the primary internal IPv6 range.
optional int32 internal_ipv6_prefix_length = 203833757;hasInternalIpv6PrefixLength in interface NetworkInterfaceOrBuilderpublic int getInternalIpv6PrefixLength()
The prefix length of the primary internal IPv6 range.
optional int32 internal_ipv6_prefix_length = 203833757;getInternalIpv6PrefixLength in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setInternalIpv6PrefixLength(int value)
The prefix length of the primary internal IPv6 range.
optional int32 internal_ipv6_prefix_length = 203833757;value - The internalIpv6PrefixLength to set.public NetworkInterface.Builder clearInternalIpv6PrefixLength()
The prefix length of the primary internal IPv6 range.
optional int32 internal_ipv6_prefix_length = 203833757;public List<AccessConfig> getIpv6AccessConfigsList()
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;getIpv6AccessConfigsList in interface NetworkInterfaceOrBuilderpublic int getIpv6AccessConfigsCount()
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;getIpv6AccessConfigsCount in interface NetworkInterfaceOrBuilderpublic AccessConfig getIpv6AccessConfigs(int index)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;getIpv6AccessConfigs in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setIpv6AccessConfigs(int index, AccessConfig value)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public NetworkInterface.Builder setIpv6AccessConfigs(int index, AccessConfig.Builder builderForValue)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public NetworkInterface.Builder addIpv6AccessConfigs(AccessConfig value)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public NetworkInterface.Builder addIpv6AccessConfigs(int index, AccessConfig value)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public NetworkInterface.Builder addIpv6AccessConfigs(AccessConfig.Builder builderForValue)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public NetworkInterface.Builder addIpv6AccessConfigs(int index, AccessConfig.Builder builderForValue)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public NetworkInterface.Builder addAllIpv6AccessConfigs(Iterable<? extends AccessConfig> values)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public NetworkInterface.Builder clearIpv6AccessConfigs()
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public NetworkInterface.Builder removeIpv6AccessConfigs(int index)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public AccessConfig.Builder getIpv6AccessConfigsBuilder(int index)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public AccessConfigOrBuilder getIpv6AccessConfigsOrBuilder(int index)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;getIpv6AccessConfigsOrBuilder in interface NetworkInterfaceOrBuilderpublic List<? extends AccessConfigOrBuilder> getIpv6AccessConfigsOrBuilderList()
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;getIpv6AccessConfigsOrBuilderList in interface NetworkInterfaceOrBuilderpublic AccessConfig.Builder addIpv6AccessConfigsBuilder()
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public AccessConfig.Builder addIpv6AccessConfigsBuilder(int index)
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public List<AccessConfig.Builder> getIpv6AccessConfigsBuilderList()
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
repeated .google.cloud.compute.v1.AccessConfig ipv6_access_configs = 483472110;public boolean hasIpv6AccessType()
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;hasIpv6AccessType in interface NetworkInterfaceOrBuilderpublic String getIpv6AccessType()
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;getIpv6AccessType in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getIpv6AccessTypeBytes()
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;getIpv6AccessTypeBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setIpv6AccessType(String value)
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;value - The ipv6AccessType to set.public NetworkInterface.Builder clearIpv6AccessType()
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;public NetworkInterface.Builder setIpv6AccessTypeBytes(com.google.protobuf.ByteString value)
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;value - The bytes for ipv6AccessType to set.public boolean hasIpv6Address()
An IPv6 internal network address for this network interface.
optional string ipv6_address = 341563804;hasIpv6Address in interface NetworkInterfaceOrBuilderpublic String getIpv6Address()
An IPv6 internal network address for this network interface.
optional string ipv6_address = 341563804;getIpv6Address in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getIpv6AddressBytes()
An IPv6 internal network address for this network interface.
optional string ipv6_address = 341563804;getIpv6AddressBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setIpv6Address(String value)
An IPv6 internal network address for this network interface.
optional string ipv6_address = 341563804;value - The ipv6Address to set.public NetworkInterface.Builder clearIpv6Address()
An IPv6 internal network address for this network interface.
optional string ipv6_address = 341563804;public NetworkInterface.Builder setIpv6AddressBytes(com.google.protobuf.ByteString value)
An IPv6 internal network address for this network interface.
optional string ipv6_address = 341563804;value - The bytes for ipv6Address to set.public boolean hasKind()
[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
optional string kind = 3292052;hasKind in interface NetworkInterfaceOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
optional string kind = 3292052;getKind in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
optional string kind = 3292052;getKindBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
optional string kind = 3292052;value - The kind to set.public NetworkInterface.Builder clearKind()
[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
optional string kind = 3292052;public NetworkInterface.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasName()
[Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
optional string name = 3373707;hasName in interface NetworkInterfaceOrBuilderpublic String getName()
[Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
optional string name = 3373707;getName in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
[Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
optional string name = 3373707;getNameBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setName(String value)
[Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
optional string name = 3373707;value - The name to set.public NetworkInterface.Builder clearName()
[Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
optional string name = 3373707;public NetworkInterface.Builder setNameBytes(com.google.protobuf.ByteString value)
[Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
optional string name = 3373707;value - The bytes for name to set.public boolean hasNetwork()
URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
optional string network = 232872494;hasNetwork in interface NetworkInterfaceOrBuilderpublic String getNetwork()
URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
optional string network = 232872494;getNetwork in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
optional string network = 232872494;getNetworkBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setNetwork(String value)
URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
optional string network = 232872494;value - The network to set.public NetworkInterface.Builder clearNetwork()
URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
optional string network = 232872494;public NetworkInterface.Builder setNetworkBytes(com.google.protobuf.ByteString value)
URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
optional string network = 232872494;value - The bytes for network to set.public boolean hasNetworkAttachment()
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
optional string network_attachment = 224644052;hasNetworkAttachment in interface NetworkInterfaceOrBuilderpublic String getNetworkAttachment()
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
optional string network_attachment = 224644052;getNetworkAttachment in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getNetworkAttachmentBytes()
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
optional string network_attachment = 224644052;getNetworkAttachmentBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setNetworkAttachment(String value)
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
optional string network_attachment = 224644052;value - The networkAttachment to set.public NetworkInterface.Builder clearNetworkAttachment()
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
optional string network_attachment = 224644052;public NetworkInterface.Builder setNetworkAttachmentBytes(com.google.protobuf.ByteString value)
The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
optional string network_attachment = 224644052;value - The bytes for networkAttachment to set.public boolean hasNetworkIP()
An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
optional string network_i_p = 207181961;hasNetworkIP in interface NetworkInterfaceOrBuilderpublic String getNetworkIP()
An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
optional string network_i_p = 207181961;getNetworkIP in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getNetworkIPBytes()
An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
optional string network_i_p = 207181961;getNetworkIPBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setNetworkIP(String value)
An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
optional string network_i_p = 207181961;value - The networkIP to set.public NetworkInterface.Builder clearNetworkIP()
An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
optional string network_i_p = 207181961;public NetworkInterface.Builder setNetworkIPBytes(com.google.protobuf.ByteString value)
An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
optional string network_i_p = 207181961;value - The bytes for networkIP to set.public boolean hasNicType()
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Check the NicType enum for the list of possible values.
optional string nic_type = 59810577;hasNicType in interface NetworkInterfaceOrBuilderpublic String getNicType()
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Check the NicType enum for the list of possible values.
optional string nic_type = 59810577;getNicType in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getNicTypeBytes()
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Check the NicType enum for the list of possible values.
optional string nic_type = 59810577;getNicTypeBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setNicType(String value)
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Check the NicType enum for the list of possible values.
optional string nic_type = 59810577;value - The nicType to set.public NetworkInterface.Builder clearNicType()
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Check the NicType enum for the list of possible values.
optional string nic_type = 59810577;public NetworkInterface.Builder setNicTypeBytes(com.google.protobuf.ByteString value)
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Check the NicType enum for the list of possible values.
optional string nic_type = 59810577;value - The bytes for nicType to set.public boolean hasQueueCount()
The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.
optional int32 queue_count = 503708769;hasQueueCount in interface NetworkInterfaceOrBuilderpublic int getQueueCount()
The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.
optional int32 queue_count = 503708769;getQueueCount in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setQueueCount(int value)
The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.
optional int32 queue_count = 503708769;value - The queueCount to set.public NetworkInterface.Builder clearQueueCount()
The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.
optional int32 queue_count = 503708769;public boolean hasStackType()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;hasStackType in interface NetworkInterfaceOrBuilderpublic String getStackType()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;getStackType in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getStackTypeBytes()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;getStackTypeBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setStackType(String value)
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;value - The stackType to set.public NetworkInterface.Builder clearStackType()
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;public NetworkInterface.Builder setStackTypeBytes(com.google.protobuf.ByteString value)
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;value - The bytes for stackType to set.public boolean hasSubnetwork()
The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork
optional string subnetwork = 307827694;hasSubnetwork in interface NetworkInterfaceOrBuilderpublic String getSubnetwork()
The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork
optional string subnetwork = 307827694;getSubnetwork in interface NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getSubnetworkBytes()
The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork
optional string subnetwork = 307827694;getSubnetworkBytes in interface NetworkInterfaceOrBuilderpublic NetworkInterface.Builder setSubnetwork(String value)
The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork
optional string subnetwork = 307827694;value - The subnetwork to set.public NetworkInterface.Builder clearSubnetwork()
The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork
optional string subnetwork = 307827694;public NetworkInterface.Builder setSubnetworkBytes(com.google.protobuf.ByteString value)
The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork
optional string subnetwork = 307827694;value - The bytes for subnetwork to set.public final NetworkInterface.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>public final NetworkInterface.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkInterface.Builder>Copyright © 2023 Google LLC. All rights reserved.