Interface RemoveSuggestionRequestOrBuilder (0.90.0)

public interface RemoveSuggestionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompletionConfig()

public abstract String getCompletionConfig()

Required. The completion_config of the parent engine resource name for which the search history suggestion is to be removed, such as projects/*/locations/global/collections/default_collection/engines/*/completionConfig.

string completion_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The completionConfig.

getCompletionConfigBytes()

public abstract ByteString getCompletionConfigBytes()

Required. The completion_config of the parent engine resource name for which the search history suggestion is to be removed, such as projects/*/locations/global/collections/default_collection/engines/*/completionConfig.

string completion_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for completionConfig.

getRemoveAllSearchHistorySuggestions()

public abstract boolean getRemoveAllSearchHistorySuggestions()

Remove all search history suggestions for the user.

bool remove_all_search_history_suggestions = 6;

Returns
Type Description
boolean

The removeAllSearchHistorySuggestions.

getRemoveTime()

public abstract Timestamp getRemoveTime()

Required. Time at which the suggestion was removed. If not set, the current time will be used.

.google.protobuf.Timestamp remove_time = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The removeTime.

getRemoveTimeOrBuilder()

public abstract TimestampOrBuilder getRemoveTimeOrBuilder()

Required. Time at which the suggestion was removed. If not set, the current time will be used.

.google.protobuf.Timestamp remove_time = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getSearchHistorySuggestion()

public abstract String getSearchHistorySuggestion()

The search history suggestion to be removed.

string search_history_suggestion = 2;

Returns
Type Description
String

The searchHistorySuggestion.

getSearchHistorySuggestionBytes()

public abstract ByteString getSearchHistorySuggestionBytes()

The search history suggestion to be removed.

string search_history_suggestion = 2;

Returns
Type Description
ByteString

The bytes for searchHistorySuggestion.

getSuggestionCase()

public abstract RemoveSuggestionRequest.SuggestionCase getSuggestionCase()
Returns
Type Description
RemoveSuggestionRequest.SuggestionCase

getUserInfo()

public abstract UserInfo getUserInfo()

Optional. Information about the end user.

This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info.

.google.cloud.discoveryengine.v1beta.UserInfo user_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UserInfo

The userInfo.

getUserInfoOrBuilder()

public abstract UserInfoOrBuilder getUserInfoOrBuilder()

Optional. Information about the end user.

This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info.

.google.cloud.discoveryengine.v1beta.UserInfo user_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UserInfoOrBuilder

getUserPseudoId()

public abstract String getUserPseudoId()

Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website.

This field should NOT have a fixed value such as unknown_visitor.

This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id.

The field must be a UTF-8 encoded string with a length limit of 128.

string user_pseudo_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The userPseudoId.

getUserPseudoIdBytes()

public abstract ByteString getUserPseudoIdBytes()

Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website.

This field should NOT have a fixed value such as unknown_visitor.

This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id.

The field must be a UTF-8 encoded string with a length limit of 128.

string user_pseudo_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for userPseudoId.

hasRemoveAllSearchHistorySuggestions()

public abstract boolean hasRemoveAllSearchHistorySuggestions()

Remove all search history suggestions for the user.

bool remove_all_search_history_suggestions = 6;

Returns
Type Description
boolean

Whether the removeAllSearchHistorySuggestions field is set.

hasRemoveTime()

public abstract boolean hasRemoveTime()

Required. Time at which the suggestion was removed. If not set, the current time will be used.

.google.protobuf.Timestamp remove_time = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the removeTime field is set.

hasSearchHistorySuggestion()

public abstract boolean hasSearchHistorySuggestion()

The search history suggestion to be removed.

string search_history_suggestion = 2;

Returns
Type Description
boolean

Whether the searchHistorySuggestion field is set.

hasUserInfo()

public abstract boolean hasUserInfo()

Optional. Information about the end user.

This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info.

.google.cloud.discoveryengine.v1beta.UserInfo user_info = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the userInfo field is set.