public static final class UpdateProductRequest.Builder extends GeneratedMessageV3.Builder<UpdateProductRequest.Builder> implements UpdateProductRequestOrBuilder
Request message for the `UpdateProduct` method.Protobuf type
google.cloud.vision.v1p4beta1.UpdateProductRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public UpdateProductRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public UpdateProductRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public UpdateProductRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest.Builder mergeFrom(UpdateProductRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public UpdateProductRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateProductRequest.Builder>
IOException
public boolean hasProduct()
Required. The Product resource which replaces the one on the server. product.name is immutable.
.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
hasProduct
in interface UpdateProductRequestOrBuilder
public Product getProduct()
Required. The Product resource which replaces the one on the server. product.name is immutable.
.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
getProduct
in interface UpdateProductRequestOrBuilder
public UpdateProductRequest.Builder setProduct(Product value)
Required. The Product resource which replaces the one on the server. product.name is immutable.
.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateProductRequest.Builder setProduct(Product.Builder builderForValue)
Required. The Product resource which replaces the one on the server. product.name is immutable.
.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateProductRequest.Builder mergeProduct(Product value)
Required. The Product resource which replaces the one on the server. product.name is immutable.
.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateProductRequest.Builder clearProduct()
Required. The Product resource which replaces the one on the server. product.name is immutable.
.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
public Product.Builder getProductBuilder()
Required. The Product resource which replaces the one on the server. product.name is immutable.
.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
public ProductOrBuilder getProductOrBuilder()
Required. The Product resource which replaces the one on the server. product.name is immutable.
.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
getProductOrBuilder
in interface UpdateProductRequestOrBuilder
public boolean hasUpdateMask()
The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.
.google.protobuf.FieldMask update_mask = 2;
hasUpdateMask
in interface UpdateProductRequestOrBuilder
public FieldMask getUpdateMask()
The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMask
in interface UpdateProductRequestOrBuilder
public UpdateProductRequest.Builder setUpdateMask(FieldMask value)
The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.
.google.protobuf.FieldMask update_mask = 2;
public UpdateProductRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.
.google.protobuf.FieldMask update_mask = 2;
public UpdateProductRequest.Builder mergeUpdateMask(FieldMask value)
The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.
.google.protobuf.FieldMask update_mask = 2;
public UpdateProductRequest.Builder clearUpdateMask()
The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.
.google.protobuf.FieldMask update_mask = 2;
public FieldMask.Builder getUpdateMaskBuilder()
The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.
.google.protobuf.FieldMask update_mask = 2;
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder
in interface UpdateProductRequestOrBuilder
public final UpdateProductRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
public final UpdateProductRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<UpdateProductRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.