public static final class UpdateProductSetRequest.Builder extends GeneratedMessage.Builder<UpdateProductSetRequest.Builder> implements UpdateProductSetRequestOrBuilder Request message for the UpdateProductSet method.
Protobuf type google.cloud.vision.v1p4beta1.UpdateProductSetRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateProductSetRequest.BuilderImplements
UpdateProductSetRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateProductSetRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest |
|
buildPartial()
public UpdateProductSetRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest |
|
clear()
public UpdateProductSetRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
clearProductSet()
public UpdateProductSetRequest.Builder clearProductSet()Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1p4beta1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
getDefaultInstanceForType()
public UpdateProductSetRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProductSet()
public ProductSet getProductSet()Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1p4beta1.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.v1p4beta1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProductSet.Builder |
|
getProductSetOrBuilder()
public ProductSetOrBuilder getProductSetOrBuilder()Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1p4beta1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProductSetOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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 | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasProductSet()
public boolean hasProductSet()Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1p4beta1.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateProductSetRequest other)
public UpdateProductSetRequest.Builder mergeFrom(UpdateProductSetRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateProductSetRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateProductSetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateProductSetRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
mergeProductSet(ProductSet value)
public UpdateProductSetRequest.Builder mergeProductSet(ProductSet value)Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1p4beta1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ProductSet |
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
setProductSet(ProductSet value)
public UpdateProductSetRequest.Builder setProductSet(ProductSet value)Required. The ProductSet resource which replaces the one on the server.
.google.cloud.vision.v1p4beta1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ProductSet |
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
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.v1p4beta1.ProductSet product_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProductSet.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateProductSetRequest.Builder |
|