Interface UpdateMessageRequestOrBuilder (0.10.0)

public interface UpdateMessageRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

public abstract boolean getAllowMissing()

Optional. If true and the message isn't found, a new message is created and updateMask is ignored. The specified message ID must be client-assigned or the request fails.

bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMissing.

getMessage()

public abstract Message getMessage()

Required. Message with fields updated.

.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Message

The message.

getMessageOrBuilder()

public abstract MessageOrBuilder getMessageOrBuilder()

Required. Message with fields updated.

.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MessageOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. The field paths to update. Separate multiple values with commas or use * to update all field paths.

Currently supported field paths:

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The field paths to update. Separate multiple values with commas or use * to update all field paths.

Currently supported field paths:

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasMessage()

public abstract boolean hasMessage()

Required. Message with fields updated.

.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the message field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. The field paths to update. Separate multiple values with commas or use * to update all field paths.

Currently supported field paths:

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.