public static final class UpdateSearchConfigRequest.Builder extends GeneratedMessage.Builder<UpdateSearchConfigRequest.Builder> implements UpdateSearchConfigRequestOrBuilderRequest message for UpdateSearchConfig.
Protobuf type google.cloud.visionai.v1.UpdateSearchConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateSearchConfigRequest.BuilderImplements
UpdateSearchConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
getDefaultInstanceForType()
public UpdateSearchConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateSearchConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateSearchConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateSearchConfigRequest.Builder |
|
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 |
|
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 |
|
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 |
|
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 |
|