Package com.google.cloud.retail.v2alpha
Class AlertConfig.AlertPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AlertConfig.AlertPolicy.Builder>
com.google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Builder
- All Implemented Interfaces:
AlertConfig.AlertPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AlertConfig.AlertPolicy
public static final class AlertConfig.AlertPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AlertConfig.AlertPolicy.Builder>
implements AlertConfig.AlertPolicyOrBuilder
Alert policy for a customer.Protobuf type
google.cloud.retail.v2alpha.AlertConfig.AlertPolicy-
Method Summary
Modifier and TypeMethodDescriptionaddAllRecipients(Iterable<? extends AlertConfig.AlertPolicy.Recipient> values) Recipients for the alert policy.addRecipients(int index, AlertConfig.AlertPolicy.Recipient value) Recipients for the alert policy.addRecipients(int index, AlertConfig.AlertPolicy.Recipient.Builder builderForValue) Recipients for the alert policy.Recipients for the alert policy.addRecipients(AlertConfig.AlertPolicy.Recipient.Builder builderForValue) Recipients for the alert policy.Recipients for the alert policy.addRecipientsBuilder(int index) Recipients for the alert policy.build()clear()The feature that provides alerting capability.The enrollment status of a customer.Recipients for the alert policy.The feature that provides alerting capability.com.google.protobuf.ByteStringThe feature that provides alerting capability.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe enrollment status of a customer.intThe enrollment status of a customer.getRecipients(int index) Recipients for the alert policy.getRecipientsBuilder(int index) Recipients for the alert policy.Recipients for the alert policy.intRecipients for the alert policy.Recipients for the alert policy.getRecipientsOrBuilder(int index) Recipients for the alert policy.List<? extends AlertConfig.AlertPolicy.RecipientOrBuilder>Recipients for the alert policy.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AlertConfig.AlertPolicy other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeRecipients(int index) Recipients for the alert policy.setAlertGroup(String value) The feature that provides alerting capability.setAlertGroupBytes(com.google.protobuf.ByteString value) The feature that provides alerting capability.The enrollment status of a customer.setEnrollStatusValue(int value) The enrollment status of a customer.setRecipients(int index, AlertConfig.AlertPolicy.Recipient value) Recipients for the alert policy.setRecipients(int index, AlertConfig.AlertPolicy.Recipient.Builder builderForValue) Recipients for the alert policy.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AlertConfig.AlertPolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AlertConfig.AlertPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AlertConfig.AlertPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlertConfig.AlertPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AlertConfig.AlertPolicy.Builder>
-
mergeFrom
public AlertConfig.AlertPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlertConfig.AlertPolicy.Builder>- Throws:
IOException
-
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;- Specified by:
getAlertGroupin interfaceAlertConfig.AlertPolicyOrBuilder- Returns:
- The alertGroup.
-
getAlertGroupBytes
public com.google.protobuf.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;- Specified by:
getAlertGroupBytesin interfaceAlertConfig.AlertPolicyOrBuilder- Returns:
- The bytes for alertGroup.
-
setAlertGroup
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;- Parameters:
value- The alertGroup to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setAlertGroupBytes
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;- Parameters:
value- The bytes for alertGroup to set.- Returns:
- This builder for chaining.
-
getEnrollStatusValue
public int getEnrollStatusValue()The enrollment status of a customer.
.google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;- Specified by:
getEnrollStatusValuein interfaceAlertConfig.AlertPolicyOrBuilder- Returns:
- The enum numeric value on the wire for enrollStatus.
-
setEnrollStatusValue
The enrollment status of a customer.
.google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;- Parameters:
value- The enum numeric value on the wire for enrollStatus to set.- Returns:
- This builder for chaining.
-
getEnrollStatus
The enrollment status of a customer.
.google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;- Specified by:
getEnrollStatusin interfaceAlertConfig.AlertPolicyOrBuilder- Returns:
- The enrollStatus.
-
setEnrollStatus
The enrollment status of a customer.
.google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;- Parameters:
value- The enrollStatus to set.- Returns:
- This builder for chaining.
-
clearEnrollStatus
The enrollment status of a customer.
.google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;- Returns:
- This builder for chaining.
-
getRecipientsList
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3;- Specified by:
getRecipientsListin interfaceAlertConfig.AlertPolicyOrBuilder
-
getRecipientsCount
public int getRecipientsCount()Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3;- Specified by:
getRecipientsCountin interfaceAlertConfig.AlertPolicyOrBuilder
-
getRecipients
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3;- Specified by:
getRecipientsin interfaceAlertConfig.AlertPolicyOrBuilder
-
setRecipients
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.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
setRecipients
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.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
addRecipients
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
addRecipients
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.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
addRecipients
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.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
addRecipients
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.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
addAllRecipients
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.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
clearRecipients
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
removeRecipients
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
getRecipientsBuilder
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
getRecipientsOrBuilder
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3;- Specified by:
getRecipientsOrBuilderin interfaceAlertConfig.AlertPolicyOrBuilder
-
getRecipientsOrBuilderList
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3;- Specified by:
getRecipientsOrBuilderListin interfaceAlertConfig.AlertPolicyOrBuilder
-
addRecipientsBuilder
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
addRecipientsBuilder
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3; -
getRecipientsBuilderList
Recipients for the alert policy. One alert policy should not exceed 20 recipients.
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3;
-