public final class RemoveSuggestionRequest extends GeneratedMessage implements RemoveSuggestionRequestOrBuilder
Request message for
CompletionService.RemoveSuggestion
method.
Protobuf type google.cloud.discoveryengine.v1beta.RemoveSuggestionRequest
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
COMPLETION_CONFIG_FIELD_NUMBER
public static final int COMPLETION_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REMOVE_ALL_SEARCH_HISTORY_SUGGESTIONS_FIELD_NUMBER
public static final int REMOVE_ALL_SEARCH_HISTORY_SUGGESTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REMOVE_TIME_FIELD_NUMBER
public static final int REMOVE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SEARCH_HISTORY_SUGGESTION_FIELD_NUMBER
public static final int SEARCH_HISTORY_SUGGESTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_INFO_FIELD_NUMBER
public static final int USER_INFO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_PSEUDO_ID_FIELD_NUMBER
public static final int USER_PSEUDO_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RemoveSuggestionRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RemoveSuggestionRequest.Builder newBuilder()
newBuilder(RemoveSuggestionRequest prototype)
public static RemoveSuggestionRequest.Builder newBuilder(RemoveSuggestionRequest prototype)
public static RemoveSuggestionRequest parseDelimitedFrom(InputStream input)
public static RemoveSuggestionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RemoveSuggestionRequest parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RemoveSuggestionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RemoveSuggestionRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RemoveSuggestionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RemoveSuggestionRequest parseFrom(CodedInputStream input)
public static RemoveSuggestionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RemoveSuggestionRequest parseFrom(InputStream input)
public static RemoveSuggestionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RemoveSuggestionRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RemoveSuggestionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RemoveSuggestionRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCompletionConfig()
public 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 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.
|
getDefaultInstanceForType()
public RemoveSuggestionRequest getDefaultInstanceForType()
getParserForType()
public Parser<RemoveSuggestionRequest> getParserForType()
Overrides
getRemoveAllSearchHistorySuggestions()
public 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 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 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];
getSearchHistorySuggestion()
public String getSearchHistorySuggestion()
The search history suggestion to be removed.
string search_history_suggestion = 2;
| Returns |
| Type |
Description |
String |
The searchHistorySuggestion.
|
getSearchHistorySuggestionBytes()
public ByteString getSearchHistorySuggestionBytes()
The search history suggestion to be removed.
string search_history_suggestion = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for searchHistorySuggestion.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSuggestionCase()
public RemoveSuggestionRequest.SuggestionCase getSuggestionCase()
getUserInfo()
public 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 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];
getUserPseudoId()
public 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 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 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 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 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 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RemoveSuggestionRequest.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RemoveSuggestionRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public RemoveSuggestionRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides