Interface CreateProductSetRequestOrBuilder (3.46.0)

public interface CreateProductSetRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

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
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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
Type Description
ByteString

The bytes for parent.

getProductSet()

public abstract ProductSet getProductSet()

Required. The ProductSet to create.

.google.cloud.vision.v1p3beta1.ProductSet product_set = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductSet

The productSet.

getProductSetId()

public abstract String getProductSetId()

A user-supplied resource id for this ProductSet. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character /.

string product_set_id = 3;

Returns
Type Description
String

The productSetId.

getProductSetIdBytes()

public abstract ByteString getProductSetIdBytes()

A user-supplied resource id for this ProductSet. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character /.

string product_set_id = 3;

Returns
Type Description
ByteString

The bytes for productSetId.

getProductSetOrBuilder()

public abstract ProductSetOrBuilder getProductSetOrBuilder()

Required. The ProductSet to create.

.google.cloud.vision.v1p3beta1.ProductSet product_set = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductSetOrBuilder

hasProductSet()

public abstract boolean hasProductSet()

Required. The ProductSet to create.

.google.cloud.vision.v1p3beta1.ProductSet product_set = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the productSet field is set.