public static final class UpdateSearchHypernymRequest.Builder extends GeneratedMessageV3.Builder<UpdateSearchHypernymRequest.Builder> implements UpdateSearchHypernymRequestOrBuilder
Request message for updating SearchHypernym.
Protobuf type google.cloud.visionai.v1.UpdateSearchHypernymRequest
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 UpdateSearchHypernymRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSearchHypernymRequest build()
buildPartial()
public UpdateSearchHypernymRequest buildPartial()
clear()
public UpdateSearchHypernymRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSearchHypernymRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSearchHypernymRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSearchHypernym()
public UpdateSearchHypernymRequest.Builder clearSearchHypernym()
Required. The SearchHypernym to update.
The search hypernym's name
field is used to identify the search hypernym
to be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateSearchHypernymRequest.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 UpdateSearchHypernymRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSearchHypernymRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSearchHypernym()
public SearchHypernym getSearchHypernym()
Required. The SearchHypernym to update.
The search hypernym's name
field is used to identify the search hypernym
to be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 1 [(.google.api.field_behavior) = REQUIRED];
getSearchHypernymBuilder()
public SearchHypernym.Builder getSearchHypernymBuilder()
Required. The SearchHypernym to update.
The search hypernym's name
field is used to identify the search hypernym
to be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 1 [(.google.api.field_behavior) = REQUIRED];
getSearchHypernymOrBuilder()
public SearchHypernymOrBuilder getSearchHypernymOrBuilder()
Required. The SearchHypernym to update.
The search hypernym's name
field is used to identify the search hypernym
to be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 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;
hasSearchHypernym()
public boolean hasSearchHypernym()
Required. The SearchHypernym to update.
The search hypernym's name
field is used to identify the search hypernym
to be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the searchHypernym 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(UpdateSearchHypernymRequest other)
public UpdateSearchHypernymRequest.Builder mergeFrom(UpdateSearchHypernymRequest other)
public UpdateSearchHypernymRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSearchHypernymRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSearchHypernym(SearchHypernym value)
public UpdateSearchHypernymRequest.Builder mergeSearchHypernym(SearchHypernym value)
Required. The SearchHypernym to update.
The search hypernym's name
field is used to identify the search hypernym
to be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSearchHypernymRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSearchHypernymRequest.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 UpdateSearchHypernymRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSearchHypernymRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSearchHypernym(SearchHypernym value)
public UpdateSearchHypernymRequest.Builder setSearchHypernym(SearchHypernym value)
Required. The SearchHypernym to update.
The search hypernym's name
field is used to identify the search hypernym
to be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 1 [(.google.api.field_behavior) = REQUIRED];
setSearchHypernym(SearchHypernym.Builder builderForValue)
public UpdateSearchHypernymRequest.Builder setSearchHypernym(SearchHypernym.Builder builderForValue)
Required. The SearchHypernym to update.
The search hypernym's name
field is used to identify the search hypernym
to be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSearchHypernymRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateSearchHypernymRequest.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 UpdateSearchHypernymRequest.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
|