- 2.87.0 (latest)
- 2.85.0
- 2.84.0
- 2.82.0
- 2.80.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class AlertConfig.AlertPolicy.Builder extends GeneratedMessage.Builder<AlertConfig.AlertPolicy.Builder> implements AlertConfig.AlertPolicyOrBuilderAlert policy for a customer.
Protobuf type google.cloud.retail.v2beta.AlertConfig.AlertPolicy
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AlertConfig.AlertPolicy.BuilderImplements
AlertConfig.AlertPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AlertConfig.AlertPolicy.Recipient |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AlertConfig.AlertPolicy.Recipient.Builder |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AlertConfig.AlertPolicy.Recipient |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AlertConfig.AlertPolicy.Recipient.Builder |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Recipient.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Recipient.Builder |
|
build()
public AlertConfig.AlertPolicy build()| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy |
|
buildPartial()
public AlertConfig.AlertPolicy buildPartial()| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy |
|
clear()
public AlertConfig.AlertPolicy.Builder clear()| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
clearAlertGroup()
public AlertConfig.AlertPolicy.Builder clearAlertGroup()The feature that provides alerting capability. Supported value:
search-data-qualityfor retail search customers.conv-data-qualityfor retail conversation customers.
string alert_group = 1;
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
This builder for chaining. |
clearEnrollStatus()
public AlertConfig.AlertPolicy.Builder clearEnrollStatus()The enrollment status of a customer.
.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
getAlertGroup()
public String getAlertGroup()The feature that provides alerting capability. Supported value:
search-data-qualityfor retail search customers.conv-data-qualityfor 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-qualityfor retail search customers.conv-data-qualityfor retail conversation customers.
string alert_group = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for alertGroup. |
getDefaultInstanceForType()
public AlertConfig.AlertPolicy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnrollStatus()
public AlertConfig.AlertPolicy.EnrollStatus getEnrollStatus()The enrollment status of a customer.
.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.EnrollStatus |
The enrollStatus. |
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 |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Recipient |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Recipient.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Recipient> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.RecipientOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AlertConfig.AlertPolicy other)
public AlertConfig.AlertPolicy.Builder mergeFrom(AlertConfig.AlertPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
AlertConfig.AlertPolicy |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AlertConfig.AlertPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AlertConfig.AlertPolicy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
setAlertGroup(String value)
public AlertConfig.AlertPolicy.Builder setAlertGroup(String value)The feature that provides alerting capability. Supported value:
search-data-qualityfor retail search customers.conv-data-qualityfor retail conversation customers.
string alert_group = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe alertGroup to set. |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
This builder for chaining. |
setAlertGroupBytes(ByteString value)
public AlertConfig.AlertPolicy.Builder setAlertGroupBytes(ByteString value)The feature that provides alerting capability. Supported value:
search-data-qualityfor retail search customers.conv-data-qualityfor retail conversation customers.
string alert_group = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for alertGroup to set. |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AlertConfig.AlertPolicy.EnrollStatusThe enrollStatus to set. |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for enrollStatus to set. |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
This builder for chaining. |
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AlertConfig.AlertPolicy.Recipient |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AlertConfig.AlertPolicy.Recipient.Builder |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|