public static final class AllocationPolicy.NetworkInterface extends com.google.protobuf.GeneratedMessageV3 implements AllocationPolicy.NetworkInterfaceOrBuilder
A network interface.Protobuf type
google.cloud.batch.v1.AllocationPolicy.NetworkInterface| Modifier and Type | Class and Description |
|---|---|
static class |
AllocationPolicy.NetworkInterface.Builder
A network interface.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NETWORK_FIELD_NUMBER |
static int |
NO_EXTERNAL_IP_ADDRESS_FIELD_NUMBER |
static int |
SUBNETWORK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AllocationPolicy.NetworkInterface |
getDefaultInstance() |
AllocationPolicy.NetworkInterface |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNetwork()
The URL of an existing network resource.
|
com.google.protobuf.ByteString |
getNetworkBytes()
The URL of an existing network resource.
|
boolean |
getNoExternalIpAddress()
Default is false (with an external IP address).
|
com.google.protobuf.Parser<AllocationPolicy.NetworkInterface> |
getParserForType() |
int |
getSerializedSize() |
String |
getSubnetwork()
The URL of an existing subnetwork resource in the network.
|
com.google.protobuf.ByteString |
getSubnetworkBytes()
The URL of an existing subnetwork resource in the network.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AllocationPolicy.NetworkInterface.Builder |
newBuilder() |
static AllocationPolicy.NetworkInterface.Builder |
newBuilder(AllocationPolicy.NetworkInterface prototype) |
AllocationPolicy.NetworkInterface.Builder |
newBuilderForType() |
protected AllocationPolicy.NetworkInterface.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AllocationPolicy.NetworkInterface |
parseDelimitedFrom(InputStream input) |
static AllocationPolicy.NetworkInterface |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationPolicy.NetworkInterface |
parseFrom(byte[] data) |
static AllocationPolicy.NetworkInterface |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationPolicy.NetworkInterface |
parseFrom(ByteBuffer data) |
static AllocationPolicy.NetworkInterface |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationPolicy.NetworkInterface |
parseFrom(com.google.protobuf.ByteString data) |
static AllocationPolicy.NetworkInterface |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationPolicy.NetworkInterface |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AllocationPolicy.NetworkInterface |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AllocationPolicy.NetworkInterface |
parseFrom(InputStream input) |
static AllocationPolicy.NetworkInterface |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AllocationPolicy.NetworkInterface> |
parser() |
AllocationPolicy.NetworkInterface.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
public static final int NO_EXTERNAL_IP_ADDRESS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getNetwork()
The URL of an existing network resource.
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/{network}
string network = 1;getNetwork in interface AllocationPolicy.NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
The URL of an existing network resource.
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/{network}
string network = 1;getNetworkBytes in interface AllocationPolicy.NetworkInterfaceOrBuilderpublic String getSubnetwork()
The URL of an existing subnetwork resource in the network.
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}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
string subnetwork = 2;getSubnetwork in interface AllocationPolicy.NetworkInterfaceOrBuilderpublic com.google.protobuf.ByteString getSubnetworkBytes()
The URL of an existing subnetwork resource in the network.
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}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
string subnetwork = 2;getSubnetworkBytes in interface AllocationPolicy.NetworkInterfaceOrBuilderpublic boolean getNoExternalIpAddress()
Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
bool no_external_ip_address = 3;getNoExternalIpAddress in interface AllocationPolicy.NetworkInterfaceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AllocationPolicy.NetworkInterface parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationPolicy.NetworkInterface parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationPolicy.NetworkInterface parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationPolicy.NetworkInterface parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationPolicy.NetworkInterface parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationPolicy.NetworkInterface parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AllocationPolicy.NetworkInterface parseFrom(InputStream input) throws IOException
IOExceptionpublic static AllocationPolicy.NetworkInterface parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AllocationPolicy.NetworkInterface parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AllocationPolicy.NetworkInterface parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AllocationPolicy.NetworkInterface parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AllocationPolicy.NetworkInterface parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AllocationPolicy.NetworkInterface.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AllocationPolicy.NetworkInterface.Builder newBuilder()
public static AllocationPolicy.NetworkInterface.Builder newBuilder(AllocationPolicy.NetworkInterface prototype)
public AllocationPolicy.NetworkInterface.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AllocationPolicy.NetworkInterface.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AllocationPolicy.NetworkInterface getDefaultInstance()
public static com.google.protobuf.Parser<AllocationPolicy.NetworkInterface> parser()
public com.google.protobuf.Parser<AllocationPolicy.NetworkInterface> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AllocationPolicy.NetworkInterface getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.