public static final class UpdateAlertConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateAlertConfigRequest.Builder> implements UpdateAlertConfigRequestOrBuilderRequest for ProjectService.UpdateAlertConfig method.
Protobuf type google.cloud.retail.v2beta.UpdateAlertConfigRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateAlertConfigRequest.BuilderImplements
UpdateAlertConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAlertConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
build()
public UpdateAlertConfigRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest |
|
buildPartial()
public UpdateAlertConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest |
|
clear()
public UpdateAlertConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
clearAlertConfig()
public UpdateAlertConfigRequest.Builder clearAlertConfig()Required. The AlertConfig to update.
If the caller does not have permission to update the AlertConfig, then a PERMISSION_DENIED error is returned.
If the AlertConfig to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2beta.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public UpdateAlertConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAlertConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
clearUpdateMask()
public UpdateAlertConfigRequest.Builder clearUpdateMask()Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
clone()
public UpdateAlertConfigRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
getAlertConfig()
public AlertConfig getAlertConfig()Required. The AlertConfig to update.
If the caller does not have permission to update the AlertConfig, then a PERMISSION_DENIED error is returned.
If the AlertConfig to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2beta.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AlertConfig |
The alertConfig. |
getAlertConfigBuilder()
public AlertConfig.Builder getAlertConfigBuilder()Required. The AlertConfig to update.
If the caller does not have permission to update the AlertConfig, then a PERMISSION_DENIED error is returned.
If the AlertConfig to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2beta.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AlertConfig.Builder |
|
getAlertConfigOrBuilder()
public AlertConfigOrBuilder getAlertConfigOrBuilder()Required. The AlertConfig to update.
If the caller does not have permission to update the AlertConfig, then a PERMISSION_DENIED error is returned.
If the AlertConfig to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2beta.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AlertConfigOrBuilder |
|
getDefaultInstanceForType()
public UpdateAlertConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasAlertConfig()
public boolean hasAlertConfig()Required. The AlertConfig to update.
If the caller does not have permission to update the AlertConfig, then a PERMISSION_DENIED error is returned.
If the AlertConfig to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2beta.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the alertConfig field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAlertConfig(AlertConfig value)
public UpdateAlertConfigRequest.Builder mergeAlertConfig(AlertConfig value)Required. The AlertConfig to update.
If the caller does not have permission to update the AlertConfig, then a PERMISSION_DENIED error is returned.
If the AlertConfig to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2beta.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AlertConfig |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
mergeFrom(UpdateAlertConfigRequest other)
public UpdateAlertConfigRequest.Builder mergeFrom(UpdateAlertConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateAlertConfigRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAlertConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateAlertConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAlertConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateAlertConfigRequest.Builder mergeUpdateMask(FieldMask value)Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
setAlertConfig(AlertConfig value)
public UpdateAlertConfigRequest.Builder setAlertConfig(AlertConfig value)Required. The AlertConfig to update.
If the caller does not have permission to update the AlertConfig, then a PERMISSION_DENIED error is returned.
If the AlertConfig to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2beta.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AlertConfig |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
setAlertConfig(AlertConfig.Builder builderForValue)
public UpdateAlertConfigRequest.Builder setAlertConfig(AlertConfig.Builder builderForValue)Required. The AlertConfig to update.
If the caller does not have permission to update the AlertConfig, then a PERMISSION_DENIED error is returned.
If the AlertConfig to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2beta.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AlertConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAlertConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAlertConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAlertConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateAlertConfigRequest.Builder setUpdateMask(FieldMask value)Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAlertConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAlertConfigRequest.Builder |
|