Class CreateProductSetRequest.Builder (2.1.2)

public static final class CreateProductSetRequest.Builder extends GeneratedMessageV3.Builder<CreateProductSetRequest.Builder> implements CreateProductSetRequestOrBuilder

Request message for the CreateProductSet method.

Protobuf type google.cloud.vision.v1.CreateProductSetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateProductSetRequest build()
Returns
TypeDescription
CreateProductSetRequest

buildPartial()

public CreateProductSetRequest buildPartial()
Returns
TypeDescription
CreateProductSetRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateProductSetRequest.Builder clearParent()

Required. The project in which the ProductSet should be created. Format is projects/PROJECT_ID/locations/LOC_ID.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateProductSetRequest.Builder

This builder for chaining.