Class ResourcesConsumed (3.34.0)

public final class ResourcesConsumed extends GeneratedMessageV3 implements ResourcesConsumedOrBuilder

Statistics information about resource consumption.

Protobuf type google.cloud.aiplatform.v1.ResourcesConsumed

Static Fields

REPLICA_HOURS_FIELD_NUMBER

public static final int REPLICA_HOURS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourcesConsumed getDefaultInstance()
Returns
TypeDescription
ResourcesConsumed

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ResourcesConsumed.Builder newBuilder()
Returns
TypeDescription
ResourcesConsumed.Builder

newBuilder(ResourcesConsumed prototype)

public static ResourcesConsumed.Builder newBuilder(ResourcesConsumed prototype)
Parameter
NameDescription
prototypeResourcesConsumed
Returns
TypeDescription
ResourcesConsumed.Builder

parseDelimitedFrom(InputStream input)

public static ResourcesConsumed parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourcesConsumed parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ResourcesConsumed parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourcesConsumed parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourcesConsumed parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourcesConsumed parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourcesConsumed parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourcesConsumed parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ResourcesConsumed parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourcesConsumed parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ResourcesConsumed parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourcesConsumed parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcesConsumed
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ResourcesConsumed> parser()
Returns
TypeDescription
Parser<ResourcesConsumed>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ResourcesConsumed getDefaultInstanceForType()
Returns
TypeDescription
ResourcesConsumed

getParserForType()

public Parser<ResourcesConsumed> getParserForType()
Returns
TypeDescription
Parser<ResourcesConsumed>
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
TypeDescription
double

The replicaHours.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ResourcesConsumed.Builder newBuilderForType()
Returns
TypeDescription
ResourcesConsumed.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourcesConsumed.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ResourcesConsumed.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ResourcesConsumed.Builder toBuilder()
Returns
TypeDescription
ResourcesConsumed.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException