Class SearchResponse.GeoSearchDebugInfo.Builder (0.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchResponse.GeoSearchDebugInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

build()

public SearchResponse.GeoSearchDebugInfo build()
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo

buildPartial()

public SearchResponse.GeoSearchDebugInfo buildPartial()
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo

clear()

public SearchResponse.GeoSearchDebugInfo.Builder clear()
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

clearErrorMessage()

public SearchResponse.GeoSearchDebugInfo.Builder clearErrorMessage()

The error produced.

string error_message = 2;

Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SearchResponse.GeoSearchDebugInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchResponse.GeoSearchDebugInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder

This builder for chaining.

clone()

public SearchResponse.GeoSearchDebugInfo.Builder clone()
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

getDefaultInstanceForType()

public SearchResponse.GeoSearchDebugInfo getDefaultInstanceForType()
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorMessage()

public String getErrorMessage()

The error produced.

string error_message = 2;

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

The error produced.

string error_message = 2;

Returns
TypeDescription
ByteString

The bytes for errorMessage.

getOriginalAddressQuery()

public String getOriginalAddressQuery()

The address from which forward geocoding ingestion produced issues.

string original_address_query = 1;

Returns
TypeDescription
String

The originalAddressQuery.

getOriginalAddressQueryBytes()

public ByteString getOriginalAddressQueryBytes()

The address from which forward geocoding ingestion produced issues.

string original_address_query = 1;

Returns
TypeDescription
ByteString

The bytes for originalAddressQuery.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchResponse.GeoSearchDebugInfo other)

public SearchResponse.GeoSearchDebugInfo.Builder mergeFrom(SearchResponse.GeoSearchDebugInfo other)
Parameter
NameDescription
otherSearchResponse.GeoSearchDebugInfo
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchResponse.GeoSearchDebugInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchResponse.GeoSearchDebugInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchResponse.GeoSearchDebugInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

setErrorMessage(String value)

public SearchResponse.GeoSearchDebugInfo.Builder setErrorMessage(String value)

The error produced.

string error_message = 2;

Parameter
NameDescription
valueString

The errorMessage to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for errorMessage to set.

Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SearchResponse.GeoSearchDebugInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The originalAddressQuery to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for originalAddressQuery to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchResponse.GeoSearchDebugInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchResponse.GeoSearchDebugInfo.Builder
Overrides