public static final class AllocationPolicy.NetworkPolicy extends GeneratedMessageV3 implements AllocationPolicy.NetworkPolicyOrBuilder
NetworkPolicy describes VM instance network configurations.
Protobuf type google.cloud.batch.v1alpha.AllocationPolicy.NetworkPolicy
Static Fields
NETWORK_INTERFACES_FIELD_NUMBER
public static final int NETWORK_INTERFACES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AllocationPolicy.NetworkPolicy getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AllocationPolicy.NetworkPolicy.Builder newBuilder()
Returns
newBuilder(AllocationPolicy.NetworkPolicy prototype)
public static AllocationPolicy.NetworkPolicy.Builder newBuilder(AllocationPolicy.NetworkPolicy prototype)
Parameter
Returns
public static AllocationPolicy.NetworkPolicy parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AllocationPolicy.NetworkPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AllocationPolicy.NetworkPolicy parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AllocationPolicy.NetworkPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AllocationPolicy.NetworkPolicy parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AllocationPolicy.NetworkPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AllocationPolicy.NetworkPolicy parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AllocationPolicy.NetworkPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AllocationPolicy.NetworkPolicy parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AllocationPolicy.NetworkPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AllocationPolicy.NetworkPolicy parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AllocationPolicy.NetworkPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AllocationPolicy.NetworkPolicy> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AllocationPolicy.NetworkPolicy getDefaultInstanceForType()
Returns
getNetworkInterfaces(int index)
public AllocationPolicy.NetworkInterface getNetworkInterfaces(int index)
Network configurations.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterface network_interfaces = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()
Network configurations.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterface network_interfaces = 1;
Returns
getNetworkInterfacesList()
public List<AllocationPolicy.NetworkInterface> getNetworkInterfacesList()
Network configurations.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterface network_interfaces = 1;
Returns
getNetworkInterfacesOrBuilder(int index)
public AllocationPolicy.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
Network configurations.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterface network_interfaces = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getNetworkInterfacesOrBuilderList()
public List<? extends AllocationPolicy.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
Network configurations.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterface network_interfaces = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.batch.v1alpha.AllocationPolicy.NetworkInterfaceOrBuilder> |
|
getParserForType()
public Parser<AllocationPolicy.NetworkPolicy> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AllocationPolicy.NetworkPolicy.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AllocationPolicy.NetworkPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AllocationPolicy.NetworkPolicy.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions