Class CreateProductRequest.Builder (2.1.4)

public static final class CreateProductRequest.Builder extends GeneratedMessageV3.Builder<CreateProductRequest.Builder> implements CreateProductRequestOrBuilder

Request message for the CreateProduct method.

Protobuf type google.cloud.vision.v1p4beta1.CreateProductRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateProductRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateProductRequest.Builder
Overrides

build()

public CreateProductRequest build()
Returns
TypeDescription
CreateProductRequest

buildPartial()

public CreateProductRequest buildPartial()
Returns
TypeDescription
CreateProductRequest

clear()

public CreateProductRequest.Builder clear()
Returns
TypeDescription
CreateProductRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateProductRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateProductRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateProductRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription