public static final class AllocationPolicy.NetworkPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AllocationPolicy.NetworkPolicy.Builder> implements AllocationPolicy.NetworkPolicyOrBuilder
NetworkPolicy describes VM instance network configurations.Protobuf type
google.cloud.batch.v1.AllocationPolicy.NetworkPolicygetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationPolicy.NetworkPolicy.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<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AllocationPolicy.NetworkPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AllocationPolicy.NetworkPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AllocationPolicy.NetworkPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy.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<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy.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<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy.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<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy.Builder mergeFrom(AllocationPolicy.NetworkPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationPolicy.NetworkPolicy.Builder>public AllocationPolicy.NetworkPolicy.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<AllocationPolicy.NetworkPolicy.Builder>IOExceptionpublic List<AllocationPolicy.NetworkInterface> getNetworkInterfacesList()
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
getNetworkInterfacesList in interface AllocationPolicy.NetworkPolicyOrBuilderpublic int getNetworkInterfacesCount()
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
getNetworkInterfacesCount in interface AllocationPolicy.NetworkPolicyOrBuilderpublic AllocationPolicy.NetworkInterface getNetworkInterfaces(int index)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
getNetworkInterfaces in interface AllocationPolicy.NetworkPolicyOrBuilderpublic AllocationPolicy.NetworkPolicy.Builder setNetworkInterfaces(int index, AllocationPolicy.NetworkInterface value)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkPolicy.Builder setNetworkInterfaces(int index, AllocationPolicy.NetworkInterface.Builder builderForValue)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkPolicy.Builder addNetworkInterfaces(AllocationPolicy.NetworkInterface value)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkPolicy.Builder addNetworkInterfaces(int index, AllocationPolicy.NetworkInterface value)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkPolicy.Builder addNetworkInterfaces(AllocationPolicy.NetworkInterface.Builder builderForValue)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkPolicy.Builder addNetworkInterfaces(int index, AllocationPolicy.NetworkInterface.Builder builderForValue)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkPolicy.Builder addAllNetworkInterfaces(Iterable<? extends AllocationPolicy.NetworkInterface> values)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkPolicy.Builder clearNetworkInterfaces()
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkPolicy.Builder removeNetworkInterfaces(int index)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkInterface.Builder getNetworkInterfacesBuilder(int index)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
getNetworkInterfacesOrBuilder in interface AllocationPolicy.NetworkPolicyOrBuilderpublic List<? extends AllocationPolicy.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
getNetworkInterfacesOrBuilderList in interface AllocationPolicy.NetworkPolicyOrBuilderpublic AllocationPolicy.NetworkInterface.Builder addNetworkInterfacesBuilder()
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public AllocationPolicy.NetworkInterface.Builder addNetworkInterfacesBuilder(int index)
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public List<AllocationPolicy.NetworkInterface.Builder> getNetworkInterfacesBuilderList()
Network configurations.
repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
public final AllocationPolicy.NetworkPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationPolicy.NetworkPolicy.Builder>public final AllocationPolicy.NetworkPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocationPolicy.NetworkPolicy.Builder>Copyright © 2025 Google LLC. All rights reserved.