public static final class RetrievalConfig.Builder extends GeneratedMessage.Builder<RetrievalConfig.Builder> implements RetrievalConfigOrBuilderRetrieval config.
Protobuf type google.cloud.vertexai.v1.RetrievalConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RetrievalConfig.BuilderImplements
RetrievalConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RetrievalConfig build()| Returns | |
|---|---|
| Type | Description |
RetrievalConfig |
|
buildPartial()
public RetrievalConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
RetrievalConfig |
|
clear()
public RetrievalConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
|
clearLanguageCode()
public RetrievalConfig.Builder clearLanguageCode()The language code of the user.
optional string language_code = 2;
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
This builder for chaining. |
clearLatLng()
public RetrievalConfig.Builder clearLatLng()The location of the user.
optional .google.type.LatLng lat_lng = 1;
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
|
getDefaultInstanceForType()
public RetrievalConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RetrievalConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLanguageCode()
public String getLanguageCode()The language code of the user.
optional string language_code = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()The language code of the user.
optional string language_code = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for languageCode. |
getLatLng()
public LatLng getLatLng()The location of the user.
optional .google.type.LatLng lat_lng = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.type.LatLng |
The latLng. |
getLatLngBuilder()
public LatLng.Builder getLatLngBuilder()The location of the user.
optional .google.type.LatLng lat_lng = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.type.LatLng.Builder |
|
getLatLngOrBuilder()
public LatLngOrBuilder getLatLngOrBuilder()The location of the user.
optional .google.type.LatLng lat_lng = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.type.LatLngOrBuilder |
|
hasLanguageCode()
public boolean hasLanguageCode()The language code of the user.
optional string language_code = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the languageCode field is set. |
hasLatLng()
public boolean hasLatLng()The location of the user.
optional .google.type.LatLng lat_lng = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the latLng field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RetrievalConfig other)
public RetrievalConfig.Builder mergeFrom(RetrievalConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
RetrievalConfig |
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetrievalConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RetrievalConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
|
mergeLatLng(LatLng value)
public RetrievalConfig.Builder mergeLatLng(LatLng value)The location of the user.
optional .google.type.LatLng lat_lng = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.LatLng |
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
|
setLanguageCode(String value)
public RetrievalConfig.Builder setLanguageCode(String value)The language code of the user.
optional string language_code = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public RetrievalConfig.Builder setLanguageCodeBytes(ByteString value)The language code of the user.
optional string language_code = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
This builder for chaining. |
setLatLng(LatLng value)
public RetrievalConfig.Builder setLatLng(LatLng value)The location of the user.
optional .google.type.LatLng lat_lng = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.LatLng |
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
|
setLatLng(LatLng.Builder builderForValue)
public RetrievalConfig.Builder setLatLng(LatLng.Builder builderForValue)The location of the user.
optional .google.type.LatLng lat_lng = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.LatLng.Builder |
| Returns | |
|---|---|
| Type | Description |
RetrievalConfig.Builder |
|