Class GetSearchConfigRequest.Builder (0.8.0)

public static final class GetSearchConfigRequest.Builder extends GeneratedMessageV3.Builder<GetSearchConfigRequest.Builder> implements GetSearchConfigRequestOrBuilder

Request message for GetSearchConfig.

Protobuf type google.cloud.visionai.v1.GetSearchConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetSearchConfigRequest build()
Returns
Type Description
GetSearchConfigRequest

buildPartial()

public GetSearchConfigRequest buildPartial()
Returns
Type Description
GetSearchConfigRequest

clear()

public GetSearchConfigRequest.Builder clear()
Returns
Type Description
GetSearchConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetSearchConfigRequest.Builder clearName()

Required. The name of the search configuration to retrieve. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetSearchConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GetSearchConfigRequest.Builder clone()
Returns
Type Description
GetSearchConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public GetSearchConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetSearchConfigRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the search configuration to retrieve. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the search configuration to retrieve. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetSearchConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetSearchConfigRequest.Builder setName(String value)

Required. The name of the search configuration to retrieve. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetSearchConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetSearchConfigRequest.Builder setNameBytes(ByteString value)

Required. The name of the search configuration to retrieve. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetSearchConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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