public static final class UpdateSearchConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateSearchConfigRequest.Builder> implements UpdateSearchConfigRequestOrBuilder
Request message for UpdateSearchConfig.
Protobuf type google.cloud.visionai.v1.UpdateSearchConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSearchConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSearchConfigRequest build()
buildPartial()
public UpdateSearchConfigRequest buildPartial()
clear()
public UpdateSearchConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSearchConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSearchConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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;
clone()
public UpdateSearchConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSearchConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateSearchConfigRequest other)
public UpdateSearchConfigRequest.Builder mergeFrom(UpdateSearchConfigRequest other)
public UpdateSearchConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSearchConfigRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSearchConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSearchConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSearchConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSearchConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|