Interface UpdateMessageRequestOrBuilder (0.3.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasMessage()

public abstract boolean hasMessage()

Required. Message with fields updated.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.