public static final class AlertConfig.AlertPolicy.Builder extends GeneratedMessageV3.Builder<AlertConfig.AlertPolicy.Builder> implements AlertConfig.AlertPolicyOrBuilder
Alert policy for a customer.
Protobuf type google.cloud.retail.v2beta.AlertConfig.AlertPolicy
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
addAllRecipients(Iterable<? extends AlertConfig.AlertPolicy.Recipient> values)
public AlertConfig.AlertPolicy.Builder addAllRecipients(Iterable<? extends AlertConfig.AlertPolicy.Recipient> values)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient>
|
addRecipients(AlertConfig.AlertPolicy.Recipient value)
public AlertConfig.AlertPolicy.Builder addRecipients(AlertConfig.AlertPolicy.Recipient value)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
addRecipients(AlertConfig.AlertPolicy.Recipient.Builder builderForValue)
public AlertConfig.AlertPolicy.Builder addRecipients(AlertConfig.AlertPolicy.Recipient.Builder builderForValue)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
addRecipients(int index, AlertConfig.AlertPolicy.Recipient value)
public AlertConfig.AlertPolicy.Builder addRecipients(int index, AlertConfig.AlertPolicy.Recipient value)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
addRecipients(int index, AlertConfig.AlertPolicy.Recipient.Builder builderForValue)
public AlertConfig.AlertPolicy.Builder addRecipients(int index, AlertConfig.AlertPolicy.Recipient.Builder builderForValue)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
addRecipientsBuilder()
public AlertConfig.AlertPolicy.Recipient.Builder addRecipientsBuilder()
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
addRecipientsBuilder(int index)
public AlertConfig.AlertPolicy.Recipient.Builder addRecipientsBuilder(int index)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AlertConfig.AlertPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AlertConfig.AlertPolicy build()
buildPartial()
public AlertConfig.AlertPolicy buildPartial()
clear()
public AlertConfig.AlertPolicy.Builder clear()
Overrides
clearAlertGroup()
public AlertConfig.AlertPolicy.Builder clearAlertGroup()
The feature that provides alerting capability.
Supported value:
search-data-quality
for retail search customers.
conv-data-quality
for retail conversation customers.
string alert_group = 1;
clearEnrollStatus()
public AlertConfig.AlertPolicy.Builder clearEnrollStatus()
The enrollment status of a customer.
.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;
clearField(Descriptors.FieldDescriptor field)
public AlertConfig.AlertPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AlertConfig.AlertPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRecipients()
public AlertConfig.AlertPolicy.Builder clearRecipients()
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
clone()
public AlertConfig.AlertPolicy.Builder clone()
Overrides
getAlertGroup()
public String getAlertGroup()
The feature that provides alerting capability.
Supported value:
search-data-quality
for retail search customers.
conv-data-quality
for retail conversation customers.
string alert_group = 1;
Returns |
Type |
Description |
String |
The alertGroup.
|
getAlertGroupBytes()
public ByteString getAlertGroupBytes()
The feature that provides alerting capability.
Supported value:
search-data-quality
for retail search customers.
conv-data-quality
for retail conversation customers.
string alert_group = 1;
Returns |
Type |
Description |
ByteString |
The bytes for alertGroup.
|
getDefaultInstanceForType()
public AlertConfig.AlertPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnrollStatus()
public AlertConfig.AlertPolicy.EnrollStatus getEnrollStatus()
The enrollment status of a customer.
.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;
getEnrollStatusValue()
public int getEnrollStatusValue()
The enrollment status of a customer.
.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for enrollStatus.
|
getRecipients(int index)
public AlertConfig.AlertPolicy.Recipient getRecipients(int index)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
Parameter |
Name |
Description |
index |
int
|
getRecipientsBuilder(int index)
public AlertConfig.AlertPolicy.Recipient.Builder getRecipientsBuilder(int index)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
Parameter |
Name |
Description |
index |
int
|
getRecipientsBuilderList()
public List<AlertConfig.AlertPolicy.Recipient.Builder> getRecipientsBuilderList()
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
getRecipientsCount()
public int getRecipientsCount()
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
Returns |
Type |
Description |
int |
|
getRecipientsList()
public List<AlertConfig.AlertPolicy.Recipient> getRecipientsList()
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
getRecipientsOrBuilder(int index)
public AlertConfig.AlertPolicy.RecipientOrBuilder getRecipientsOrBuilder(int index)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
Parameter |
Name |
Description |
index |
int
|
getRecipientsOrBuilderList()
public List<? extends AlertConfig.AlertPolicy.RecipientOrBuilder> getRecipientsOrBuilderList()
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.RecipientOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AlertConfig.AlertPolicy other)
public AlertConfig.AlertPolicy.Builder mergeFrom(AlertConfig.AlertPolicy other)
public AlertConfig.AlertPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AlertConfig.AlertPolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlertConfig.AlertPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRecipients(int index)
public AlertConfig.AlertPolicy.Builder removeRecipients(int index)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
Parameter |
Name |
Description |
index |
int
|
setAlertGroup(String value)
public AlertConfig.AlertPolicy.Builder setAlertGroup(String value)
The feature that provides alerting capability.
Supported value:
search-data-quality
for retail search customers.
conv-data-quality
for retail conversation customers.
string alert_group = 1;
Parameter |
Name |
Description |
value |
String
The alertGroup to set.
|
setAlertGroupBytes(ByteString value)
public AlertConfig.AlertPolicy.Builder setAlertGroupBytes(ByteString value)
The feature that provides alerting capability.
Supported value:
search-data-quality
for retail search customers.
conv-data-quality
for retail conversation customers.
string alert_group = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for alertGroup to set.
|
setEnrollStatus(AlertConfig.AlertPolicy.EnrollStatus value)
public AlertConfig.AlertPolicy.Builder setEnrollStatus(AlertConfig.AlertPolicy.EnrollStatus value)
The enrollment status of a customer.
.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;
setEnrollStatusValue(int value)
public AlertConfig.AlertPolicy.Builder setEnrollStatusValue(int value)
The enrollment status of a customer.
.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for enrollStatus to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AlertConfig.AlertPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRecipients(int index, AlertConfig.AlertPolicy.Recipient value)
public AlertConfig.AlertPolicy.Builder setRecipients(int index, AlertConfig.AlertPolicy.Recipient value)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
setRecipients(int index, AlertConfig.AlertPolicy.Recipient.Builder builderForValue)
public AlertConfig.AlertPolicy.Builder setRecipients(int index, AlertConfig.AlertPolicy.Recipient.Builder builderForValue)
Recipients for the alert policy.
One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlertConfig.AlertPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AlertConfig.AlertPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides