Class RemoveProductFromProductSetRequest.Builder (2.1.2)

public static final class RemoveProductFromProductSetRequest.Builder extends GeneratedMessageV3.Builder<RemoveProductFromProductSetRequest.Builder> implements RemoveProductFromProductSetRequestOrBuilder

Request message for the RemoveProductFromProductSet method.

Protobuf type google.cloud.vision.v1.RemoveProductFromProductSetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveProductFromProductSetRequest build()
Returns
TypeDescription
RemoveProductFromProductSetRequest

buildPartial()

public RemoveProductFromProductSetRequest buildPartial()
Returns
TypeDescription
RemoveProductFromProductSetRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public RemoveProductFromProductSetRequest.Builder clearName()

Required. The resource name for the ProductSet to modify. Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

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

Returns
TypeDescription
RemoveProductFromProductSetRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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