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
MIN_ACCEPTABLE_MEAN_AVERAGE_PRECISION_FIELD_NUMBER
public static final int MIN_ACCEPTABLE_MEAN_AVERAGE_PRECISION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EvaluationJobAlertConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EvaluationJobAlertConfig.Builder newBuilder()
Returns
newBuilder(EvaluationJobAlertConfig prototype)
public static EvaluationJobAlertConfig.Builder newBuilder(EvaluationJobAlertConfig prototype)
Parameter
Returns
public static EvaluationJobAlertConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EvaluationJobAlertConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EvaluationJobAlertConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EvaluationJobAlertConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EvaluationJobAlertConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EvaluationJobAlertConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EvaluationJobAlertConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EvaluationJobAlertConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EvaluationJobAlertConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EvaluationJobAlertConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EvaluationJobAlertConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EvaluationJobAlertConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EvaluationJobAlertConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public EvaluationJobAlertConfig getDefaultInstanceForType()
Returns
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EvaluationJobAlertConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EvaluationJobAlertConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EvaluationJobAlertConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions