public static final class UpdateMessageRequest.Builder extends GeneratedMessageV3.Builder<UpdateMessageRequest.Builder> implements UpdateMessageRequestOrBuilder
Protobuf type google.chat.v1.UpdateMessageRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateMessageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateMessageRequest build()
buildPartial()
public UpdateMessageRequest buildPartial()
clear()
public UpdateMessageRequest.Builder clear()
Overrides
clearAllowMissing()
public UpdateMessageRequest.Builder clearAllowMissing()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateMessageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessage()
public UpdateMessageRequest.Builder clearMessage()
Required. Message with fields updated.
.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateMessageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateMessageRequest.Builder clearUpdateMask()
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;
clone()
public UpdateMessageRequest.Builder clone()
Overrides
getAllowMissing()
public 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.
|
getDefaultInstanceForType()
public UpdateMessageRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessage()
public Message getMessage()
Required. Message with fields updated.
.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Message | The message.
|
getMessageBuilder()
public Message.Builder getMessageBuilder()
Required. Message with fields updated.
.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];
getMessageOrBuilder()
public MessageOrBuilder getMessageOrBuilder()
Required. Message with fields updated.
.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public 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.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
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;
getUpdateMaskOrBuilder()
public 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;
hasMessage()
public 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateMessageRequest other)
public UpdateMessageRequest.Builder mergeFrom(UpdateMessageRequest other)
public UpdateMessageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateMessageRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMessage(Message value)
public UpdateMessageRequest.Builder mergeMessage(Message value)
Required. Message with fields updated.
.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Message
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateMessageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateMessageRequest.Builder mergeUpdateMask(FieldMask value)
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;
setAllowMissing(boolean value)
public UpdateMessageRequest.Builder setAllowMissing(boolean value)
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];
Parameter |
---|
Name | Description |
value | boolean
The allowMissing to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateMessageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMessage(Message value)
public UpdateMessageRequest.Builder setMessage(Message value)
Required. Message with fields updated.
.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Message
|
setMessage(Message.Builder builderForValue)
public UpdateMessageRequest.Builder setMessage(Message.Builder builderForValue)
Required. Message with fields updated.
.google.chat.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateMessageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateMessageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateMessageRequest.Builder setUpdateMask(FieldMask value)
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;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateMessageRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
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;
Parameter |
---|
Name | Description |
builderForValue | Builder
|