public static final class ResourcesConsumed.Builder extends GeneratedMessageV3.Builder<ResourcesConsumed.Builder> implements ResourcesConsumedOrBuilder
Statistics information about resource consumption.
Protobuf type google.cloud.vertexai.v1.ResourcesConsumed
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcesConsumed.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResourcesConsumed build()
buildPartial()
public ResourcesConsumed buildPartial()
clear()
public ResourcesConsumed.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResourcesConsumed.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcesConsumed.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReplicaHours()
public ResourcesConsumed.Builder clearReplicaHours()
Output only. The number of replica hours used. Note that many replicas may
run in parallel, and additionally any given work may be queued for some
time. Therefore this value is not strictly related to wall time.
double replica_hours = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public ResourcesConsumed.Builder clone()
Overrides
getDefaultInstanceForType()
public ResourcesConsumed getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReplicaHours()
public double getReplicaHours()
Output only. The number of replica hours used. Note that many replicas may
run in parallel, and additionally any given work may be queued for some
time. Therefore this value is not strictly related to wall time.
double replica_hours = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
double |
The replicaHours.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResourcesConsumed other)
public ResourcesConsumed.Builder mergeFrom(ResourcesConsumed other)
public ResourcesConsumed.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourcesConsumed.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcesConsumed.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcesConsumed.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcesConsumed.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReplicaHours(double value)
public ResourcesConsumed.Builder setReplicaHours(double value)
Output only. The number of replica hours used. Note that many replicas may
run in parallel, and additionally any given work may be queued for some
time. Therefore this value is not strictly related to wall time.
double replica_hours = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
double
The replicaHours to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcesConsumed.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides