- 2.85.0 (latest)
- 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.Builder extends GeneratedMessage.Builder<AlertConfig.Builder> implements AlertConfigOrBuilderProject level alert config.
Protobuf type google.cloud.retail.v2alpha.AlertConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AlertConfig.BuilderImplements
AlertConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAlertPolicies(AlertConfig.AlertPolicy value)
public AlertConfig.Builder addAlertPolicies(AlertConfig.AlertPolicy value)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AlertConfig.AlertPolicy |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
addAlertPolicies(AlertConfig.AlertPolicy.Builder builderForValue)
public AlertConfig.Builder addAlertPolicies(AlertConfig.AlertPolicy.Builder builderForValue)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AlertConfig.AlertPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
addAlertPolicies(int index, AlertConfig.AlertPolicy value)
public AlertConfig.Builder addAlertPolicies(int index, AlertConfig.AlertPolicy value)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AlertConfig.AlertPolicy |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
addAlertPolicies(int index, AlertConfig.AlertPolicy.Builder builderForValue)
public AlertConfig.Builder addAlertPolicies(int index, AlertConfig.AlertPolicy.Builder builderForValue)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AlertConfig.AlertPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
addAlertPoliciesBuilder()
public AlertConfig.AlertPolicy.Builder addAlertPoliciesBuilder()Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
addAlertPoliciesBuilder(int index)
public AlertConfig.AlertPolicy.Builder addAlertPoliciesBuilder(int index)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
addAllAlertPolicies(Iterable<? extends AlertConfig.AlertPolicy> values)
public AlertConfig.Builder addAllAlertPolicies(Iterable<? extends AlertConfig.AlertPolicy> values)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.retail.v2alpha.AlertConfig.AlertPolicy> |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
build()
public AlertConfig build()| Returns | |
|---|---|
| Type | Description |
AlertConfig |
|
buildPartial()
public AlertConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
AlertConfig |
|
clear()
public AlertConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
clearAlertPolicies()
public AlertConfig.Builder clearAlertPolicies()Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
clearName()
public AlertConfig.Builder clearName()Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
This builder for chaining. |
getAlertPolicies(int index)
public AlertConfig.AlertPolicy getAlertPolicies(int index)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy |
|
getAlertPoliciesBuilder(int index)
public AlertConfig.AlertPolicy.Builder getAlertPoliciesBuilder(int index)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicy.Builder |
|
getAlertPoliciesBuilderList()
public List<AlertConfig.AlertPolicy.Builder> getAlertPoliciesBuilderList()Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAlertPoliciesCount()
public int getAlertPoliciesCount()Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAlertPoliciesList()
public List<AlertConfig.AlertPolicy> getAlertPoliciesList()Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Returns | |
|---|---|
| Type | Description |
List<AlertPolicy> |
|
getAlertPoliciesOrBuilder(int index)
public AlertConfig.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.AlertPolicyOrBuilder |
|
getAlertPoliciesOrBuilderList()
public List<? extends AlertConfig.AlertPolicyOrBuilder> getAlertPoliciesOrBuilderList()Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.retail.v2alpha.AlertConfig.AlertPolicyOrBuilder> |
|
getDefaultInstanceForType()
public AlertConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AlertConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AlertConfig other)
public AlertConfig.Builder mergeFrom(AlertConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
AlertConfig |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AlertConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AlertConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
removeAlertPolicies(int index)
public AlertConfig.Builder removeAlertPolicies(int index)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
setAlertPolicies(int index, AlertConfig.AlertPolicy value)
public AlertConfig.Builder setAlertPolicies(int index, AlertConfig.AlertPolicy value)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AlertConfig.AlertPolicy |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
setAlertPolicies(int index, AlertConfig.AlertPolicy.Builder builderForValue)
public AlertConfig.Builder setAlertPolicies(int index, AlertConfig.AlertPolicy.Builder builderForValue)Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AlertConfig.AlertPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
setName(String value)
public AlertConfig.Builder setName(String value)Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AlertConfig.Builder setNameBytes(ByteString value)Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
This builder for chaining. |