Class SearchResponse.GeoSearchDebugInfo.Builder (0.43.0)

public static final class SearchResponse.GeoSearchDebugInfo.Builder extends GeneratedMessageV3.Builder<SearchResponse.GeoSearchDebugInfo.Builder> implements SearchResponse.GeoSearchDebugInfoOrBuilder

Debug information specifically related to forward geocoding issues arising from Geolocation Search.

Protobuf type google.cloud.discoveryengine.v1alpha.SearchResponse.GeoSearchDebugInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchResponse.GeoSearchDebugInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

build()

public SearchResponse.GeoSearchDebugInfo build()
Returns
Type Description
SearchResponse.GeoSearchDebugInfo

buildPartial()

public SearchResponse.GeoSearchDebugInfo buildPartial()
Returns
Type Description
SearchResponse.GeoSearchDebugInfo

clear()

public SearchResponse.GeoSearchDebugInfo.Builder clear()
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

clearErrorMessage()

public SearchResponse.GeoSearchDebugInfo.Builder clearErrorMessage()

The error produced.

string error_message = 2;

Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SearchResponse.GeoSearchDebugInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchResponse.GeoSearchDebugInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

clearOriginalAddressQuery()

public SearchResponse.GeoSearchDebugInfo.Builder clearOriginalAddressQuery()

The address from which forward geocoding ingestion produced issues.

string original_address_query = 1;

Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder

This builder for chaining.

clone()

public SearchResponse.GeoSearchDebugInfo.Builder clone()
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

getDefaultInstanceForType()

public SearchResponse.GeoSearchDebugInfo getDefaultInstanceForType()
Returns
Type Description
SearchResponse.GeoSearchDebugInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorMessage()

public String getErrorMessage()

The error produced.

string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

The error produced.

string error_message = 2;

Returns
Type Description
ByteString

The bytes for errorMessage.

getOriginalAddressQuery()

public String getOriginalAddressQuery()

The address from which forward geocoding ingestion produced issues.

string original_address_query = 1;

Returns
Type Description
String

The originalAddressQuery.

getOriginalAddressQueryBytes()

public ByteString getOriginalAddressQueryBytes()

The address from which forward geocoding ingestion produced issues.

string original_address_query = 1;

Returns
Type Description
ByteString

The bytes for originalAddressQuery.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchResponse.GeoSearchDebugInfo other)

public SearchResponse.GeoSearchDebugInfo.Builder mergeFrom(SearchResponse.GeoSearchDebugInfo other)
Parameter
Name Description
other SearchResponse.GeoSearchDebugInfo
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchResponse.GeoSearchDebugInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchResponse.GeoSearchDebugInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchResponse.GeoSearchDebugInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

setErrorMessage(String value)

public SearchResponse.GeoSearchDebugInfo.Builder setErrorMessage(String value)

The error produced.

string error_message = 2;

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public SearchResponse.GeoSearchDebugInfo.Builder setErrorMessageBytes(ByteString value)

The error produced.

string error_message = 2;

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SearchResponse.GeoSearchDebugInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

setOriginalAddressQuery(String value)

public SearchResponse.GeoSearchDebugInfo.Builder setOriginalAddressQuery(String value)

The address from which forward geocoding ingestion produced issues.

string original_address_query = 1;

Parameter
Name Description
value String

The originalAddressQuery to set.

Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder

This builder for chaining.

setOriginalAddressQueryBytes(ByteString value)

public SearchResponse.GeoSearchDebugInfo.Builder setOriginalAddressQueryBytes(ByteString value)

The address from which forward geocoding ingestion produced issues.

string original_address_query = 1;

Parameter
Name Description
value ByteString

The bytes for originalAddressQuery to set.

Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchResponse.GeoSearchDebugInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchResponse.GeoSearchDebugInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchResponse.GeoSearchDebugInfo.Builder
Overrides