Class UpdateSearchConfigRequest.Builder (0.6.0)

public static final class UpdateSearchConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateSearchConfigRequest.Builder> implements UpdateSearchConfigRequestOrBuilder

Request message for UpdateSearchConfig.

Protobuf type google.cloud.visionai.v1.UpdateSearchConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateSearchConfigRequest build()
Returns
Type Description
UpdateSearchConfigRequest

buildPartial()

public UpdateSearchConfigRequest buildPartial()
Returns
Type Description
UpdateSearchConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSearchConfig()

public UpdateSearchConfigRequest.Builder clearSearchConfig()

Required. The search configuration to update.

The search configuration's name field is used to identify the resource to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

.google.cloud.visionai.v1.SearchConfig search_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSearchConfigRequest.Builder

clearUpdateMask()

public UpdateSearchConfigRequest.Builder clearUpdateMask()

The list of fields to be updated. If left unset, all field paths will be updated/overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateSearchConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateSearchConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSearchConfigRequest

getDescriptorForType()

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

getSearchConfig()

public SearchConfig getSearchConfig()

Required. The search configuration to update.

The search configuration's name field is used to identify the resource to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

.google.cloud.visionai.v1.SearchConfig search_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchConfig

The searchConfig.

getSearchConfigBuilder()

public SearchConfig.Builder getSearchConfigBuilder()

Required. The search configuration to update.

The search configuration's name field is used to identify the resource to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

.google.cloud.visionai.v1.SearchConfig search_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchConfig.Builder

getSearchConfigOrBuilder()

public SearchConfigOrBuilder getSearchConfigOrBuilder()

Required. The search configuration to update.

The search configuration's name field is used to identify the resource to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

.google.cloud.visionai.v1.SearchConfig search_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated. If left unset, all field paths will be updated/overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated. If left unset, all field paths will be updated/overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated. If left unset, all field paths will be updated/overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasSearchConfig()

public boolean hasSearchConfig()

Required. The search configuration to update.

The search configuration's name field is used to identify the resource to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

.google.cloud.visionai.v1.SearchConfig search_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the searchConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated. If left unset, all field paths will be updated/overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateSearchConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSearchConfig(SearchConfig value)

public UpdateSearchConfigRequest.Builder mergeSearchConfig(SearchConfig value)

Required. The search configuration to update.

The search configuration's name field is used to identify the resource to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

.google.cloud.visionai.v1.SearchConfig search_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SearchConfig
Returns
Type Description
UpdateSearchConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateSearchConfigRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated. If left unset, all field paths will be updated/overwritten.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSearchConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSearchConfig(SearchConfig value)

public UpdateSearchConfigRequest.Builder setSearchConfig(SearchConfig value)

Required. The search configuration to update.

The search configuration's name field is used to identify the resource to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

.google.cloud.visionai.v1.SearchConfig search_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SearchConfig
Returns
Type Description
UpdateSearchConfigRequest.Builder

setSearchConfig(SearchConfig.Builder builderForValue)

public UpdateSearchConfigRequest.Builder setSearchConfig(SearchConfig.Builder builderForValue)

Required. The search configuration to update.

The search configuration's name field is used to identify the resource to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

.google.cloud.visionai.v1.SearchConfig search_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SearchConfig.Builder
Returns
Type Description
UpdateSearchConfigRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateSearchConfigRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated. If left unset, all field paths will be updated/overwritten.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSearchConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSearchConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to be updated. If left unset, all field paths will be updated/overwritten.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateSearchConfigRequest.Builder