public static final class AlertPolicyConfig.AlertEnrollment.Builder extends GeneratedMessage.Builder<AlertPolicyConfig.AlertEnrollment.Builder> implements AlertPolicyConfig.AlertEnrollmentOrBuilderThe alert enrollment status.
Protobuf type google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AlertPolicyConfig.AlertEnrollment.BuilderImplements
AlertPolicyConfig.AlertEnrollmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AlertPolicyConfig.AlertEnrollment build()| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment |
|
buildPartial()
public AlertPolicyConfig.AlertEnrollment buildPartial()| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment |
|
clear()
public AlertPolicyConfig.AlertEnrollment.Builder clear()| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
|
clearAlertId()
public AlertPolicyConfig.AlertEnrollment.Builder clearAlertId()Immutable. The id of an alert.
string alert_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
This builder for chaining. |
clearEnrollState()
public AlertPolicyConfig.AlertEnrollment.Builder clearEnrollState()Required. The enrollment status of a customer.
.google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment.EnrollStates enroll_state = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
This builder for chaining. |
getAlertId()
public String getAlertId()Immutable. The id of an alert.
string alert_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The alertId. |
getAlertIdBytes()
public ByteString getAlertIdBytes()Immutable. The id of an alert.
string alert_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for alertId. |
getDefaultInstanceForType()
public AlertPolicyConfig.AlertEnrollment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnrollState()
public AlertPolicyConfig.AlertEnrollment.EnrollStates getEnrollState()Required. The enrollment status of a customer.
.google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment.EnrollStates enroll_state = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.EnrollStates |
The enrollState. |
getEnrollStateValue()
public int getEnrollStateValue()Required. The enrollment status of a customer.
.google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment.EnrollStates enroll_state = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for enrollState. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AlertPolicyConfig.AlertEnrollment other)
public AlertPolicyConfig.AlertEnrollment.Builder mergeFrom(AlertPolicyConfig.AlertEnrollment other)| Parameter | |
|---|---|
| Name | Description |
other |
AlertPolicyConfig.AlertEnrollment |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AlertPolicyConfig.AlertEnrollment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AlertPolicyConfig.AlertEnrollment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
|
setAlertId(String value)
public AlertPolicyConfig.AlertEnrollment.Builder setAlertId(String value)Immutable. The id of an alert.
string alert_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe alertId to set. |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
This builder for chaining. |
setAlertIdBytes(ByteString value)
public AlertPolicyConfig.AlertEnrollment.Builder setAlertIdBytes(ByteString value)Immutable. The id of an alert.
string alert_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for alertId to set. |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
This builder for chaining. |
setEnrollState(AlertPolicyConfig.AlertEnrollment.EnrollStates value)
public AlertPolicyConfig.AlertEnrollment.Builder setEnrollState(AlertPolicyConfig.AlertEnrollment.EnrollStates value)Required. The enrollment status of a customer.
.google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment.EnrollStates enroll_state = 5 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AlertPolicyConfig.AlertEnrollment.EnrollStatesThe enrollState to set. |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
This builder for chaining. |
setEnrollStateValue(int value)
public AlertPolicyConfig.AlertEnrollment.Builder setEnrollStateValue(int value)Required. The enrollment status of a customer.
.google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment.EnrollStates enroll_state = 5 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for enrollState to set. |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment.Builder |
This builder for chaining. |