public final class BatchDedicatedResources extends GeneratedMessageV3 implements BatchDedicatedResourcesOrBuilder
A description of resources that are used for performing batch operations, are dedicated to a Model, and need manual configuration.
Protobuf type google.cloud.vertexai.v1.BatchDedicatedResources
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchDedicatedResourcesImplements
BatchDedicatedResourcesOrBuilderStatic Fields
MACHINE_SPEC_FIELD_NUMBER
public static final int MACHINE_SPEC_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MAX_REPLICA_COUNT_FIELD_NUMBER
public static final int MAX_REPLICA_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STARTING_REPLICA_COUNT_FIELD_NUMBER
public static final int STARTING_REPLICA_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static BatchDedicatedResources getDefaultInstance()
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static BatchDedicatedResources.Builder newBuilder()
Returns | |
---|---|
Type | Description |
BatchDedicatedResources.Builder |
newBuilder(BatchDedicatedResources prototype)
public static BatchDedicatedResources.Builder newBuilder(BatchDedicatedResources prototype)
Parameter | |
---|---|
Name | Description |
prototype |
BatchDedicatedResources |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources.Builder |
parseDelimitedFrom(InputStream input)
public static BatchDedicatedResources parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDedicatedResources parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static BatchDedicatedResources parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchDedicatedResources parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static BatchDedicatedResources parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchDedicatedResources parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static BatchDedicatedResources parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDedicatedResources parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static BatchDedicatedResources parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDedicatedResources parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static BatchDedicatedResources parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchDedicatedResources parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<BatchDedicatedResources> parser()
Returns | |
---|---|
Type | Description |
Parser<BatchDedicatedResources> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public BatchDedicatedResources getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BatchDedicatedResources |
getMachineSpec()
public MachineSpec getMachineSpec()
Required. Immutable. The specification of a single machine.
.google.cloud.vertexai.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
MachineSpec |
The machineSpec. |
getMachineSpecOrBuilder()
public MachineSpecOrBuilder getMachineSpecOrBuilder()
Required. Immutable. The specification of a single machine.
.google.cloud.vertexai.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
MachineSpecOrBuilder |
getMaxReplicaCount()
public int getMaxReplicaCount()
Immutable. The maximum number of machine replicas the batch operation may be scaled to. The default value is 10.
int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
int |
The maxReplicaCount. |
getParserForType()
public Parser<BatchDedicatedResources> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<BatchDedicatedResources> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getStartingReplicaCount()
public int getStartingReplicaCount()
Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count
int32 starting_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
int |
The startingReplicaCount. |
hasMachineSpec()
public boolean hasMachineSpec()
Required. Immutable. The specification of a single machine.
.google.cloud.vertexai.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
boolean |
Whether the machineSpec field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public BatchDedicatedResources.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
BatchDedicatedResources.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchDedicatedResources.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
BatchDedicatedResources.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public BatchDedicatedResources.Builder toBuilder()
Returns | |
---|---|
Type | Description |
BatchDedicatedResources.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |