- 0.72.0 (latest)
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.66.0
- 0.64.0
- 0.63.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class AdvancedCompleteQueryResponse.ContentSuggestion.Builder extends GeneratedMessageV3.Builder<AdvancedCompleteQueryResponse.ContentSuggestion.Builder> implements AdvancedCompleteQueryResponse.ContentSuggestionOrBuilderSuggestions as content.
Protobuf type
google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AdvancedCompleteQueryResponse.ContentSuggestion.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
build()
public AdvancedCompleteQueryResponse.ContentSuggestion build()| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion |
|
buildPartial()
public AdvancedCompleteQueryResponse.ContentSuggestion buildPartial()| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion |
|
clear()
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder clear()| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
clearContentType()
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder clearContentType()The type of the content suggestion.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType content_type = 2;
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
This builder for chaining. |
clearDataStore()
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder clearDataStore()The name of the dataStore that this suggestion belongs to.
string data_store = 5 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
This builder for chaining. |
clearDocument()
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder clearDocument()The document data snippet in the suggestion. Only a subset of fields will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
clearSuggestion()
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder clearSuggestion()The suggestion for the query.
string suggestion = 1;
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
This builder for chaining. |
clone()
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder clone()| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
getContentType()
public AdvancedCompleteQueryResponse.ContentSuggestion.ContentType getContentType()The type of the content suggestion.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType content_type = 2;
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.ContentType |
The contentType. |
getContentTypeValue()
public int getContentTypeValue()The type of the content suggestion.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType content_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for contentType. |
getDataStore()
public String getDataStore()The name of the dataStore that this suggestion belongs to.
string data_store = 5 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The dataStore. |
getDataStoreBytes()
public ByteString getDataStoreBytes()The name of the dataStore that this suggestion belongs to.
string data_store = 5 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataStore. |
getDefaultInstanceForType()
public AdvancedCompleteQueryResponse.ContentSuggestion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDocument()
public Document getDocument()The document data snippet in the suggestion. Only a subset of fields will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Returns | |
|---|---|
| Type | Description |
Document |
The document. |
getDocumentBuilder()
public Document.Builder getDocumentBuilder()The document data snippet in the suggestion. Only a subset of fields will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Returns | |
|---|---|
| Type | Description |
Document.Builder |
|
getDocumentOrBuilder()
public DocumentOrBuilder getDocumentOrBuilder()The document data snippet in the suggestion. Only a subset of fields will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Returns | |
|---|---|
| Type | Description |
DocumentOrBuilder |
|
getSuggestion()
public String getSuggestion()The suggestion for the query.
string suggestion = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The suggestion. |
getSuggestionBytes()
public ByteString getSuggestionBytes()The suggestion for the query.
string suggestion = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for suggestion. |
hasDocument()
public boolean hasDocument()The document data snippet in the suggestion. Only a subset of fields will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the document field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDocument(Document value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder mergeDocument(Document value)The document data snippet in the suggestion. Only a subset of fields will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Document |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
mergeFrom(AdvancedCompleteQueryResponse.ContentSuggestion other)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder mergeFrom(AdvancedCompleteQueryResponse.ContentSuggestion other)| Parameter | |
|---|---|
| Name | Description |
other |
AdvancedCompleteQueryResponse.ContentSuggestion |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedCompleteQueryResponse.ContentSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
setContentType(AdvancedCompleteQueryResponse.ContentSuggestion.ContentType value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setContentType(AdvancedCompleteQueryResponse.ContentSuggestion.ContentType value)The type of the content suggestion.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType content_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AdvancedCompleteQueryResponse.ContentSuggestion.ContentTypeThe contentType to set. |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
This builder for chaining. |
setContentTypeValue(int value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setContentTypeValue(int value)The type of the content suggestion.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType content_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for contentType to set. |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
This builder for chaining. |
setDataStore(String value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setDataStore(String value)The name of the dataStore that this suggestion belongs to.
string data_store = 5 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataStore to set. |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
This builder for chaining. |
setDataStoreBytes(ByteString value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setDataStoreBytes(ByteString value)The name of the dataStore that this suggestion belongs to.
string data_store = 5 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataStore to set. |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
This builder for chaining. |
setDocument(Document value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setDocument(Document value)The document data snippet in the suggestion. Only a subset of fields will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Document |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
setDocument(Document.Builder builderForValue)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setDocument(Document.Builder builderForValue)The document data snippet in the suggestion. Only a subset of fields will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Document.Builder |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|
setSuggestion(String value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setSuggestion(String value)The suggestion for the query.
string suggestion = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe suggestion to set. |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
This builder for chaining. |
setSuggestionBytes(ByteString value)
public AdvancedCompleteQueryResponse.ContentSuggestion.Builder setSuggestionBytes(ByteString value)The suggestion for the query.
string suggestion = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for suggestion to set. |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedCompleteQueryResponse.ContentSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.Builder |
|