- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class CompletionDetail.Builder extends GeneratedMessageV3.Builder<CompletionDetail.Builder> implements CompletionDetailOrBuilder
Detailed completion information including completion attribution token and clicked completion info.
Protobuf type google.cloud.retail.v2beta.CompletionDetail
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CompletionDetail.BuilderImplements
CompletionDetailOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CompletionDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CompletionDetail.Builder |
build()
public CompletionDetail build()
Type | Description |
CompletionDetail |
buildPartial()
public CompletionDetail buildPartial()
Type | Description |
CompletionDetail |
clear()
public CompletionDetail.Builder clear()
Type | Description |
CompletionDetail.Builder |
clearCompletionAttributionToken()
public CompletionDetail.Builder clearCompletionAttributionToken()
Completion attribution token in CompleteQueryResponse.attribution_token.
string completion_attribution_token = 1;
Type | Description |
CompletionDetail.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CompletionDetail.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CompletionDetail.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CompletionDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CompletionDetail.Builder |
clearSelectedPosition()
public CompletionDetail.Builder clearSelectedPosition()
End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.
int32 selected_position = 3;
Type | Description |
CompletionDetail.Builder | This builder for chaining. |
clearSelectedSuggestion()
public CompletionDetail.Builder clearSelectedSuggestion()
End user selected CompleteQueryResponse.CompletionResult.suggestion.
string selected_suggestion = 2;
Type | Description |
CompletionDetail.Builder | This builder for chaining. |
clone()
public CompletionDetail.Builder clone()
Type | Description |
CompletionDetail.Builder |
getCompletionAttributionToken()
public String getCompletionAttributionToken()
Completion attribution token in CompleteQueryResponse.attribution_token.
string completion_attribution_token = 1;
Type | Description |
String | The completionAttributionToken. |
getCompletionAttributionTokenBytes()
public ByteString getCompletionAttributionTokenBytes()
Completion attribution token in CompleteQueryResponse.attribution_token.
string completion_attribution_token = 1;
Type | Description |
ByteString | The bytes for completionAttributionToken. |
getDefaultInstanceForType()
public CompletionDetail getDefaultInstanceForType()
Type | Description |
CompletionDetail |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSelectedPosition()
public int getSelectedPosition()
End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.
int32 selected_position = 3;
Type | Description |
int | The selectedPosition. |
getSelectedSuggestion()
public String getSelectedSuggestion()
End user selected CompleteQueryResponse.CompletionResult.suggestion.
string selected_suggestion = 2;
Type | Description |
String | The selectedSuggestion. |
getSelectedSuggestionBytes()
public ByteString getSelectedSuggestionBytes()
End user selected CompleteQueryResponse.CompletionResult.suggestion.
string selected_suggestion = 2;
Type | Description |
ByteString | The bytes for selectedSuggestion. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CompletionDetail other)
public CompletionDetail.Builder mergeFrom(CompletionDetail other)
Name | Description |
other | CompletionDetail |
Type | Description |
CompletionDetail.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CompletionDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CompletionDetail.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CompletionDetail.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CompletionDetail.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CompletionDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CompletionDetail.Builder |
setCompletionAttributionToken(String value)
public CompletionDetail.Builder setCompletionAttributionToken(String value)
Completion attribution token in CompleteQueryResponse.attribution_token.
string completion_attribution_token = 1;
Name | Description |
value | String The completionAttributionToken to set. |
Type | Description |
CompletionDetail.Builder | This builder for chaining. |
setCompletionAttributionTokenBytes(ByteString value)
public CompletionDetail.Builder setCompletionAttributionTokenBytes(ByteString value)
Completion attribution token in CompleteQueryResponse.attribution_token.
string completion_attribution_token = 1;
Name | Description |
value | ByteString The bytes for completionAttributionToken to set. |
Type | Description |
CompletionDetail.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CompletionDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CompletionDetail.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CompletionDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CompletionDetail.Builder |
setSelectedPosition(int value)
public CompletionDetail.Builder setSelectedPosition(int value)
End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.
int32 selected_position = 3;
Name | Description |
value | int The selectedPosition to set. |
Type | Description |
CompletionDetail.Builder | This builder for chaining. |
setSelectedSuggestion(String value)
public CompletionDetail.Builder setSelectedSuggestion(String value)
End user selected CompleteQueryResponse.CompletionResult.suggestion.
string selected_suggestion = 2;
Name | Description |
value | String The selectedSuggestion to set. |
Type | Description |
CompletionDetail.Builder | This builder for chaining. |
setSelectedSuggestionBytes(ByteString value)
public CompletionDetail.Builder setSelectedSuggestionBytes(ByteString value)
End user selected CompleteQueryResponse.CompletionResult.suggestion.
string selected_suggestion = 2;
Name | Description |
value | ByteString The bytes for selectedSuggestion to set. |
Type | Description |
CompletionDetail.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CompletionDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CompletionDetail.Builder |