- 0.51.0 (latest)
- 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.PersonSuggestion.Builder extends GeneratedMessageV3.Builder<AdvancedCompleteQueryResponse.PersonSuggestion.Builder> implements AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder
Suggestions as people.
Protobuf type
google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AdvancedCompleteQueryResponse.PersonSuggestion.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
build()
public AdvancedCompleteQueryResponse.PersonSuggestion build()
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion |
buildPartial()
public AdvancedCompleteQueryResponse.PersonSuggestion buildPartial()
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion |
clear()
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder clear()
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
clearDataStore()
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder clearDataStore()
The name of the dataStore that this suggestion belongs to.
string data_store = 5 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
This builder for chaining. |
clearDocument()
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder clearDocument()
The document data snippet in the suggestion. Only a subset of fields is populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
clearField(Descriptors.FieldDescriptor field)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
clearPersonType()
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder clearPersonType()
The type of the person.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType person_type = 2;
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
This builder for chaining. |
clearSuggestion()
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder clearSuggestion()
The suggestion for the query.
string suggestion = 1;
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
This builder for chaining. |
clone()
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder clone()
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
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.PersonSuggestion getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion |
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 is 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 is 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 is populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
Returns | |
---|---|
Type | Description |
DocumentOrBuilder |
getPersonType()
public AdvancedCompleteQueryResponse.PersonSuggestion.PersonType getPersonType()
The type of the person.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType person_type = 2;
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.PersonType |
The personType. |
getPersonTypeValue()
public int getPersonTypeValue()
The type of the person.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType person_type = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for personType. |
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 is 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.PersonSuggestion.Builder mergeDocument(Document value)
The document data snippet in the suggestion. Only a subset of fields is populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
Parameter | |
---|---|
Name | Description |
value |
Document |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
mergeFrom(AdvancedCompleteQueryResponse.PersonSuggestion other)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder mergeFrom(AdvancedCompleteQueryResponse.PersonSuggestion other)
Parameter | |
---|---|
Name | Description |
other |
AdvancedCompleteQueryResponse.PersonSuggestion |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedCompleteQueryResponse.PersonSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
setDataStore(String value)
public AdvancedCompleteQueryResponse.PersonSuggestion.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 |
String The dataStore to set. |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
This builder for chaining. |
setDataStoreBytes(ByteString value)
public AdvancedCompleteQueryResponse.PersonSuggestion.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 |
ByteString The bytes for dataStore to set. |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
This builder for chaining. |
setDocument(Document value)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder setDocument(Document value)
The document data snippet in the suggestion. Only a subset of fields is populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
Parameter | |
---|---|
Name | Description |
value |
Document |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
setDocument(Document.Builder builderForValue)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder setDocument(Document.Builder builderForValue)
The document data snippet in the suggestion. Only a subset of fields is populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Document.Builder |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
setPersonType(AdvancedCompleteQueryResponse.PersonSuggestion.PersonType value)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder setPersonType(AdvancedCompleteQueryResponse.PersonSuggestion.PersonType value)
The type of the person.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType person_type = 2;
Parameter | |
---|---|
Name | Description |
value |
AdvancedCompleteQueryResponse.PersonSuggestion.PersonType The personType to set. |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
This builder for chaining. |
setPersonTypeValue(int value)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder setPersonTypeValue(int value)
The type of the person.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType person_type = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for personType to set. |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
setSuggestion(String value)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder setSuggestion(String value)
The suggestion for the query.
string suggestion = 1;
Parameter | |
---|---|
Name | Description |
value |
String The suggestion to set. |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
This builder for chaining. |
setSuggestionBytes(ByteString value)
public AdvancedCompleteQueryResponse.PersonSuggestion.Builder setSuggestionBytes(ByteString value)
The suggestion for the query.
string suggestion = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for suggestion to set. |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedCompleteQueryResponse.PersonSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AdvancedCompleteQueryResponse.PersonSuggestion.Builder |