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
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 UpdateProductSetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateProductSetRequest build()
buildPartial()
public UpdateProductSetRequest buildPartial()
clear()
public UpdateProductSetRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateProductSetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateProductSetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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;
clone()
public UpdateProductSetRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateProductSetRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ProductSet |
The productSet.
|
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];
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];
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 |
Type |
Description |
FieldMask |
The updateMask.
|
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateProductSetRequest other)
public UpdateProductSetRequest.Builder mergeFrom(UpdateProductSetRequest other)
public UpdateProductSetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateProductSetRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProductSetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateProductSetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateProductSetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProductSetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|