Class EvaluationJobAlertConfig (0.140.0)

public final class EvaluationJobAlertConfig extends GeneratedMessageV3 implements EvaluationJobAlertConfigOrBuilder

Provides details for how an evaluation job sends email alerts based on the results of a run.

Protobuf type google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig

Static Fields

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_ACCEPTABLE_MEAN_AVERAGE_PRECISION_FIELD_NUMBER

public static final int MIN_ACCEPTABLE_MEAN_AVERAGE_PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EvaluationJobAlertConfig getDefaultInstance()
Returns
TypeDescription
EvaluationJobAlertConfig

getDescriptor()

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

newBuilder()

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

newBuilder(EvaluationJobAlertConfig prototype)

public static EvaluationJobAlertConfig.Builder newBuilder(EvaluationJobAlertConfig prototype)
Parameter
NameDescription
prototypeEvaluationJobAlertConfig
Returns
TypeDescription
EvaluationJobAlertConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EvaluationJobAlertConfig getDefaultInstanceForType()
Returns
TypeDescription
EvaluationJobAlertConfig

getEmail()

public String getEmail()

Required. An email address to send alerts to.

string email = 1;

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Required. An email address to send alerts to.

string email = 1;

Returns
TypeDescription
ByteString

The bytes for email.

getMinAcceptableMeanAveragePrecision()

public double getMinAcceptableMeanAveragePrecision()

Required. A number between 0 and 1 that describes a minimum mean average precision threshold. When the evaluation job runs, if it calculates that your model version's predictions from the recent interval have meanAveragePrecision below this threshold, then it sends an alert to your specified email.

double min_acceptable_mean_average_precision = 2;

Returns
TypeDescription
double

The minAcceptableMeanAveragePrecision.

getParserForType()

public Parser<EvaluationJobAlertConfig> getParserForType()
Returns
TypeDescription
Parser<EvaluationJobAlertConfig>
Overrides

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 EvaluationJobAlertConfig.Builder newBuilderForType()
Returns
TypeDescription
EvaluationJobAlertConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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