public static final class UpdateAssistantRequest.Builder extends GeneratedMessage.Builder<UpdateAssistantRequest.Builder> implements UpdateAssistantRequestOrBuilderRequest message for the AssistantService.UpdateAssistant method.
Protobuf type google.cloud.discoveryengine.v1beta.UpdateAssistantRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateAssistantRequest.BuilderImplements
UpdateAssistantRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateAssistantRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest |
|
buildPartial()
public UpdateAssistantRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest |
|
clear()
public UpdateAssistantRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
clearAssistant()
public UpdateAssistantRequest.Builder clearAssistant()Required. The Assistant to update.
The Assistant's name
field is used to identify the
Assistant to update.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the Assistant to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
clearUpdateMask()
public UpdateAssistantRequest.Builder clearUpdateMask()The list of fields to update.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
getAssistant()
public Assistant getAssistant()Required. The Assistant to update.
The Assistant's name
field is used to identify the
Assistant to update.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the Assistant to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Assistant |
The assistant. |
getAssistantBuilder()
public Assistant.Builder getAssistantBuilder()Required. The Assistant to update.
The Assistant's name
field is used to identify the
Assistant to update.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the Assistant to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Assistant.Builder |
|
getAssistantOrBuilder()
public AssistantOrBuilder getAssistantOrBuilder()Required. The Assistant to update.
The Assistant's name
field is used to identify the
Assistant to update.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the Assistant to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AssistantOrBuilder |
|
getDefaultInstanceForType()
public UpdateAssistantRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()The list of fields to update.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()The list of fields to update.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()The list of fields to update.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasAssistant()
public boolean hasAssistant()Required. The Assistant to update.
The Assistant's name
field is used to identify the
Assistant to update.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the Assistant to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the assistant field is set. |
hasUpdateMask()
public boolean hasUpdateMask()The list of fields to update.
.google.protobuf.FieldMask update_mask = 2;
| 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 |
|
mergeAssistant(Assistant value)
public UpdateAssistantRequest.Builder mergeAssistant(Assistant value)Required. The Assistant to update.
The Assistant's name
field is used to identify the
Assistant to update.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the Assistant to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Assistant |
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
mergeFrom(UpdateAssistantRequest other)
public UpdateAssistantRequest.Builder mergeFrom(UpdateAssistantRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateAssistantRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAssistantRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateAssistantRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateAssistantRequest.Builder mergeUpdateMask(FieldMask value)The list of fields to update.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
setAssistant(Assistant value)
public UpdateAssistantRequest.Builder setAssistant(Assistant value)Required. The Assistant to update.
The Assistant's name
field is used to identify the
Assistant to update.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the Assistant to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Assistant |
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
setAssistant(Assistant.Builder builderForValue)
public UpdateAssistantRequest.Builder setAssistant(Assistant.Builder builderForValue)Required. The Assistant to update.
The Assistant's name
field is used to identify the
Assistant to update.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the Assistant to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Assistant.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateAssistantRequest.Builder setUpdateMask(FieldMask value)The list of fields to update.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAssistantRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)The list of fields to update.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAssistantRequest.Builder |
|