Class EvaluationJobAlertConfig (0.174.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
Type Description
int

MIN_ACCEPTABLE_MEAN_AVERAGE_PRECISION_FIELD_NUMBER

public static final int MIN_ACCEPTABLE_MEAN_AVERAGE_PRECISION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvaluationJobAlertConfig getDefaultInstance()
Returns
Type Description
EvaluationJobAlertConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EvaluationJobAlertConfig.Builder newBuilder()
Returns
Type Description
EvaluationJobAlertConfig.Builder

newBuilder(EvaluationJobAlertConfig prototype)

public static EvaluationJobAlertConfig.Builder newBuilder(EvaluationJobAlertConfig prototype)
Parameter
Name Description
prototype EvaluationJobAlertConfig
Returns
Type Description
EvaluationJobAlertConfig.Builder

parseDelimitedFrom(InputStream input)

public static EvaluationJobAlertConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationJobAlertConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EvaluationJobAlertConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvaluationJobAlertConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvaluationJobAlertConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvaluationJobAlertConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvaluationJobAlertConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationJobAlertConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EvaluationJobAlertConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationJobAlertConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EvaluationJobAlertConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvaluationJobAlertConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationJobAlertConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EvaluationJobAlertConfig> parser()
Returns
Type Description
Parser<EvaluationJobAlertConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EvaluationJobAlertConfig getDefaultInstanceForType()
Returns
Type Description
EvaluationJobAlertConfig

getEmail()

public String getEmail()

Required. An email address to send alerts to.

string email = 1;

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Required. An email address to send alerts to.

string email = 1;

Returns
Type Description
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
Type Description
double

The minAcceptableMeanAveragePrecision.

getParserForType()

public Parser<EvaluationJobAlertConfig> getParserForType()
Returns
Type Description
Parser<EvaluationJobAlertConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EvaluationJobAlertConfig.Builder newBuilderForType()
Returns
Type Description
EvaluationJobAlertConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EvaluationJobAlertConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EvaluationJobAlertConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EvaluationJobAlertConfig.Builder toBuilder()
Returns
Type Description
EvaluationJobAlertConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException