Class UpdateAlertConfigRequest (2.50.0)

public final class UpdateAlertConfigRequest extends GeneratedMessageV3 implements UpdateAlertConfigRequestOrBuilder

Request for ProjectService.UpdateAlertConfig method.

Protobuf type google.cloud.retail.v2alpha.UpdateAlertConfigRequest

Static Fields

ALERT_CONFIG_FIELD_NUMBER

public static final int ALERT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateAlertConfigRequest getDefaultInstance()
Returns
Type Description
UpdateAlertConfigRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateAlertConfigRequest.Builder newBuilder()
Returns
Type Description
UpdateAlertConfigRequest.Builder

newBuilder(UpdateAlertConfigRequest prototype)

public static UpdateAlertConfigRequest.Builder newBuilder(UpdateAlertConfigRequest prototype)
Parameter
Name Description
prototype UpdateAlertConfigRequest
Returns
Type Description
UpdateAlertConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateAlertConfigRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAlertConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateAlertConfigRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateAlertConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateAlertConfigRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateAlertConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateAlertConfigRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAlertConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateAlertConfigRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAlertConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateAlertConfigRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateAlertConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAlertConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateAlertConfigRequest> parser()
Returns
Type Description
Parser<UpdateAlertConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AlertConfig

The alertConfig.

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.v2alpha.AlertConfig alert_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AlertConfigOrBuilder

getDefaultInstanceForType()

public UpdateAlertConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAlertConfigRequest

getParserForType()

public Parser<UpdateAlertConfigRequest> getParserForType()
Returns
Type Description
Parser<UpdateAlertConfigRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.v2alpha.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateAlertConfigRequest.Builder newBuilderForType()
Returns
Type Description
UpdateAlertConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateAlertConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateAlertConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateAlertConfigRequest.Builder toBuilder()
Returns
Type Description
UpdateAlertConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException