Send feedback
Class UpdateProductSetRequest.Builder (2.0.29)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.0.29 keyboard_arrow_down
public static final class UpdateProductSetRequest . Builder extends GeneratedMessageV3 . Builder<UpdateProductSetRequest . Builder > implements UpdateProductSetRequestOrBuilder
Request message for the UpdateProductSet
method.
Protobuf type google.cloud.vision.v1.UpdateProductSetRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateProductSetRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateProductSetRequest build ()
Returns
buildPartial()
public UpdateProductSetRequest buildPartial ()
Returns
clear()
public UpdateProductSetRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateProductSetRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateProductSetRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearProductSet()
public UpdateProductSetRequest . Builder clearProductSet ()
Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateProductSetRequest . Builder clearUpdateMask ()
The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is display_name
.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateProductSetRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public UpdateProductSetRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getProductSet()
public ProductSet getProductSet ()
Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getProductSetBuilder()
public ProductSet . Builder getProductSetBuilder ()
Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getProductSetOrBuilder()
public ProductSetOrBuilder getProductSetOrBuilder ()
Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask ()
The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is display_name
.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is display_name
.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is display_name
.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasProductSet()
public boolean hasProductSet ()
Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the productSet field is set.
hasUpdateMask()
public boolean hasUpdateMask ()
The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is display_name
.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type Description boolean Whether the updateMask field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(UpdateProductSetRequest other)
public UpdateProductSetRequest . Builder mergeFrom ( UpdateProductSetRequest other )
Parameter
Returns
public UpdateProductSetRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateProductSetRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeProductSet(ProductSet value)
public UpdateProductSetRequest . Builder mergeProductSet ( ProductSet value )
Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProductSetRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateProductSetRequest . Builder mergeUpdateMask ( FieldMask value )
The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is display_name
.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateProductSetRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setProductSet(ProductSet value)
public UpdateProductSetRequest . Builder setProductSet ( ProductSet value )
Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setProductSet(ProductSet.Builder builderForValue)
public UpdateProductSetRequest . Builder setProductSet ( ProductSet . Builder builderForValue )
Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateProductSetRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProductSetRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateProductSetRequest . Builder setUpdateMask ( FieldMask value )
The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is display_name
.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateProductSetRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is display_name
.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name Description builderForValue Builder
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]