public static final class UpdateConversationRequest.Builder extends GeneratedMessage.Builder<UpdateConversationRequest.Builder> implements UpdateConversationRequestOrBuilderRequest for updating a conversation.
Protobuf type google.cloud.geminidataanalytics.v1beta.UpdateConversationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateConversationRequest.BuilderImplements
UpdateConversationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateConversationRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest |
|
buildPartial()
public UpdateConversationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest |
|
clear()
public UpdateConversationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
clearConversation()
public UpdateConversationRequest.Builder clearConversation()Required. The resource being updated.
.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
clearRequestId()
public UpdateConversationRequest.Builder clearRequestId()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public UpdateConversationRequest.Builder clearUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the Conversation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields with non-default values present in the request will be overwritten. If a wildcard mask is provided, all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
getConversation()
public Conversation getConversation()Required. The resource being updated.
.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Conversation |
The conversation. |
getConversationBuilder()
public Conversation.Builder getConversationBuilder()Required. The resource being updated.
.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Conversation.Builder |
|
getConversationOrBuilder()
public ConversationOrBuilder getConversationOrBuilder()Required. The resource being updated.
.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConversationOrBuilder |
|
getDefaultInstanceForType()
public UpdateConversationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRequestId()
public String getRequestId()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
getUpdateMask()
public FieldMask getUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the Conversation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields with non-default values present in the request will be overwritten. If a wildcard mask is provided, all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. Field mask is used to specify the fields to be overwritten in the Conversation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields with non-default values present in the request will be overwritten. If a wildcard mask is provided, all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. Field mask is used to specify the fields to be overwritten in the Conversation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields with non-default values present in the request will be overwritten. If a wildcard mask is provided, all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasConversation()
public boolean hasConversation()Required. The resource being updated.
.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the conversation field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the Conversation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields with non-default values present in the request will be overwritten. If a wildcard mask is provided, all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConversation(Conversation value)
public UpdateConversationRequest.Builder mergeConversation(Conversation value)Required. The resource being updated.
.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Conversation |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
mergeFrom(UpdateConversationRequest other)
public UpdateConversationRequest.Builder mergeFrom(UpdateConversationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateConversationRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateConversationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateConversationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateConversationRequest.Builder mergeUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the Conversation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields with non-default values present in the request will be overwritten. If a wildcard mask is provided, all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
setConversation(Conversation value)
public UpdateConversationRequest.Builder setConversation(Conversation value)Required. The resource being updated.
.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Conversation |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
setConversation(Conversation.Builder builderForValue)
public UpdateConversationRequest.Builder setConversation(Conversation.Builder builderForValue)Required. The resource being updated.
.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Conversation.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
setRequestId(String value)
public UpdateConversationRequest.Builder setRequestId(String value)Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public UpdateConversationRequest.Builder setRequestIdBytes(ByteString value)Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
This builder for chaining. |
setUpdateMask(FieldMask value)
public UpdateConversationRequest.Builder setUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the Conversation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields with non-default values present in the request will be overwritten. If a wildcard mask is provided, all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateConversationRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. Field mask is used to specify the fields to be overwritten in the Conversation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields with non-default values present in the request will be overwritten. If a wildcard mask is provided, all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateConversationRequest.Builder |
|