Package com.google.cloud.batch.v1alpha
Class AllocationPolicy.InstancePolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy
-
- All Implemented Interfaces:
AllocationPolicy.InstancePolicyOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- AllocationPolicy
public static final class AllocationPolicy.InstancePolicy extends com.google.protobuf.GeneratedMessageV3 implements AllocationPolicy.InstancePolicyOrBuilder
InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.
Protobuf typegoogle.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AllocationPolicy.InstancePolicy.Builder
InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCELERATORS_FIELD_NUMBER
static int
ALLOWED_MACHINE_TYPES_FIELD_NUMBER
static int
BOOT_DISK_FIELD_NUMBER
static int
DISKS_FIELD_NUMBER
static int
MACHINE_TYPE_FIELD_NUMBER
static int
MIN_CPU_PLATFORM_FIELD_NUMBER
static int
PROVISIONING_MODEL_FIELD_NUMBER
static int
RESERVATION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
AllocationPolicy.Accelerator
getAccelerators(int index)
The accelerators attached to each VM instance.int
getAcceleratorsCount()
The accelerators attached to each VM instance.List<AllocationPolicy.Accelerator>
getAcceleratorsList()
The accelerators attached to each VM instance.AllocationPolicy.AcceleratorOrBuilder
getAcceleratorsOrBuilder(int index)
The accelerators attached to each VM instance.List<? extends AllocationPolicy.AcceleratorOrBuilder>
getAcceleratorsOrBuilderList()
The accelerators attached to each VM instance.String
getAllowedMachineTypes(int index)
Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is deprecated.com.google.protobuf.ByteString
getAllowedMachineTypesBytes(int index)
Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is deprecated.int
getAllowedMachineTypesCount()
Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is deprecated.com.google.protobuf.ProtocolStringList
getAllowedMachineTypesList()
Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is deprecated.AllocationPolicy.Disk
getBootDisk()
Boot disk to be created and attached to each VM by this InstancePolicy.AllocationPolicy.DiskOrBuilder
getBootDiskOrBuilder()
Boot disk to be created and attached to each VM by this InstancePolicy.static AllocationPolicy.InstancePolicy
getDefaultInstance()
AllocationPolicy.InstancePolicy
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
AllocationPolicy.AttachedDisk
getDisks(int index)
Non-boot disks to be attached for each VM created by this InstancePolicy.int
getDisksCount()
Non-boot disks to be attached for each VM created by this InstancePolicy.List<AllocationPolicy.AttachedDisk>
getDisksList()
Non-boot disks to be attached for each VM created by this InstancePolicy.AllocationPolicy.AttachedDiskOrBuilder
getDisksOrBuilder(int index)
Non-boot disks to be attached for each VM created by this InstancePolicy.List<? extends AllocationPolicy.AttachedDiskOrBuilder>
getDisksOrBuilderList()
Non-boot disks to be attached for each VM created by this InstancePolicy.String
getMachineType()
The Compute Engine machine type.com.google.protobuf.ByteString
getMachineTypeBytes()
The Compute Engine machine type.String
getMinCpuPlatform()
The minimum CPU platform.com.google.protobuf.ByteString
getMinCpuPlatformBytes()
The minimum CPU platform.com.google.protobuf.Parser<AllocationPolicy.InstancePolicy>
getParserForType()
AllocationPolicy.ProvisioningModel
getProvisioningModel()
The provisioning model.int
getProvisioningModelValue()
The provisioning model.String
getReservation()
If specified, VMs will consume only the specified reservation.com.google.protobuf.ByteString
getReservationBytes()
If specified, VMs will consume only the specified reservation.int
getSerializedSize()
boolean
hasBootDisk()
Boot disk to be created and attached to each VM by this InstancePolicy.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static AllocationPolicy.InstancePolicy.Builder
newBuilder()
static AllocationPolicy.InstancePolicy.Builder
newBuilder(AllocationPolicy.InstancePolicy prototype)
AllocationPolicy.InstancePolicy.Builder
newBuilderForType()
protected AllocationPolicy.InstancePolicy.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AllocationPolicy.InstancePolicy
parseDelimitedFrom(InputStream input)
static AllocationPolicy.InstancePolicy
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationPolicy.InstancePolicy
parseFrom(byte[] data)
static AllocationPolicy.InstancePolicy
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationPolicy.InstancePolicy
parseFrom(com.google.protobuf.ByteString data)
static AllocationPolicy.InstancePolicy
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationPolicy.InstancePolicy
parseFrom(com.google.protobuf.CodedInputStream input)
static AllocationPolicy.InstancePolicy
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationPolicy.InstancePolicy
parseFrom(InputStream input)
static AllocationPolicy.InstancePolicy
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationPolicy.InstancePolicy
parseFrom(ByteBuffer data)
static AllocationPolicy.InstancePolicy
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AllocationPolicy.InstancePolicy>
parser()
AllocationPolicy.InstancePolicy.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ALLOWED_MACHINE_TYPES_FIELD_NUMBER
public static final int ALLOWED_MACHINE_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIN_CPU_PLATFORM_FIELD_NUMBER
public static final int MIN_CPU_PLATFORM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVISIONING_MODEL_FIELD_NUMBER
public static final int PROVISIONING_MODEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCELERATORS_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOT_DISK_FIELD_NUMBER
public static final int BOOT_DISK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESERVATION_FIELD_NUMBER
public static final int RESERVATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getAllowedMachineTypesList
@Deprecated public com.google.protobuf.ProtocolStringList getAllowedMachineTypesList()
Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is deprecated. See google/cloud/batch/v1alpha/job.proto;l=417Deprecated: please use machine_type instead.
repeated string allowed_machine_types = 1 [deprecated = true];
- Specified by:
getAllowedMachineTypesList
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- A list containing the allowedMachineTypes.
-
getAllowedMachineTypesCount
@Deprecated public int getAllowedMachineTypesCount()
Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is deprecated. See google/cloud/batch/v1alpha/job.proto;l=417Deprecated: please use machine_type instead.
repeated string allowed_machine_types = 1 [deprecated = true];
- Specified by:
getAllowedMachineTypesCount
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The count of allowedMachineTypes.
-
getAllowedMachineTypes
@Deprecated public String getAllowedMachineTypes(int index)
Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is deprecated. See google/cloud/batch/v1alpha/job.proto;l=417Deprecated: please use machine_type instead.
repeated string allowed_machine_types = 1 [deprecated = true];
- Specified by:
getAllowedMachineTypes
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowedMachineTypes at the given index.
-
getAllowedMachineTypesBytes
@Deprecated public com.google.protobuf.ByteString getAllowedMachineTypesBytes(int index)
Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is deprecated. See google/cloud/batch/v1alpha/job.proto;l=417Deprecated: please use machine_type instead.
repeated string allowed_machine_types = 1 [deprecated = true];
- Specified by:
getAllowedMachineTypesBytes
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowedMachineTypes at the given index.
-
getMachineType
public String getMachineType()
The Compute Engine machine type.
string machine_type = 2;
- Specified by:
getMachineType
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()
The Compute Engine machine type.
string machine_type = 2;
- Specified by:
getMachineTypeBytes
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The bytes for machineType.
-
getMinCpuPlatform
public String getMinCpuPlatform()
The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
string min_cpu_platform = 3;
- Specified by:
getMinCpuPlatform
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
public com.google.protobuf.ByteString getMinCpuPlatformBytes()
The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
string min_cpu_platform = 3;
- Specified by:
getMinCpuPlatformBytes
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The bytes for minCpuPlatform.
-
getProvisioningModelValue
public int getProvisioningModelValue()
The provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 4;
- Specified by:
getProvisioningModelValue
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The enum numeric value on the wire for provisioningModel.
-
getProvisioningModel
public AllocationPolicy.ProvisioningModel getProvisioningModel()
The provisioning model.
.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 4;
- Specified by:
getProvisioningModel
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The provisioningModel.
-
getAcceleratorsList
public List<AllocationPolicy.Accelerator> getAcceleratorsList()
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.Accelerator accelerators = 5;
- Specified by:
getAcceleratorsList
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getAcceleratorsOrBuilderList
public List<? extends AllocationPolicy.AcceleratorOrBuilder> getAcceleratorsOrBuilderList()
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.Accelerator accelerators = 5;
- Specified by:
getAcceleratorsOrBuilderList
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getAcceleratorsCount
public int getAcceleratorsCount()
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.Accelerator accelerators = 5;
- Specified by:
getAcceleratorsCount
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getAccelerators
public AllocationPolicy.Accelerator getAccelerators(int index)
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.Accelerator accelerators = 5;
- Specified by:
getAccelerators
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getAcceleratorsOrBuilder
public AllocationPolicy.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.Accelerator accelerators = 5;
- Specified by:
getAcceleratorsOrBuilder
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
hasBootDisk
public boolean hasBootDisk()
Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.
.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 8;
- Specified by:
hasBootDisk
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- Whether the bootDisk field is set.
-
getBootDisk
public AllocationPolicy.Disk getBootDisk()
Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.
.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 8;
- Specified by:
getBootDisk
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The bootDisk.
-
getBootDiskOrBuilder
public AllocationPolicy.DiskOrBuilder getBootDiskOrBuilder()
Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.
.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 8;
- Specified by:
getBootDiskOrBuilder
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getDisksList
public List<AllocationPolicy.AttachedDisk> getDisksList()
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk disks = 6;
- Specified by:
getDisksList
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getDisksOrBuilderList
public List<? extends AllocationPolicy.AttachedDiskOrBuilder> getDisksOrBuilderList()
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk disks = 6;
- Specified by:
getDisksOrBuilderList
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getDisksCount
public int getDisksCount()
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk disks = 6;
- Specified by:
getDisksCount
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getDisks
public AllocationPolicy.AttachedDisk getDisks(int index)
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk disks = 6;
- Specified by:
getDisks
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getDisksOrBuilder
public AllocationPolicy.AttachedDiskOrBuilder getDisksOrBuilder(int index)
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1alpha.AllocationPolicy.AttachedDisk disks = 6;
- Specified by:
getDisksOrBuilder
in interfaceAllocationPolicy.InstancePolicyOrBuilder
-
getReservation
public String getReservation()
If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
string reservation = 7;
- Specified by:
getReservation
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The reservation.
-
getReservationBytes
public com.google.protobuf.ByteString getReservationBytes()
If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
string reservation = 7;
- Specified by:
getReservationBytes
in interfaceAllocationPolicy.InstancePolicyOrBuilder
- Returns:
- The bytes for reservation.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AllocationPolicy.InstancePolicy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AllocationPolicy.InstancePolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AllocationPolicy.InstancePolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AllocationPolicy.InstancePolicy.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AllocationPolicy.InstancePolicy.Builder newBuilder()
-
newBuilder
public static AllocationPolicy.InstancePolicy.Builder newBuilder(AllocationPolicy.InstancePolicy prototype)
-
toBuilder
public AllocationPolicy.InstancePolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AllocationPolicy.InstancePolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AllocationPolicy.InstancePolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AllocationPolicy.InstancePolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<AllocationPolicy.InstancePolicy> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AllocationPolicy.InstancePolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-