Interface CreateProductSetRequestOrBuilder (3.30.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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getProductSet()

public abstract ProductSet getProductSet()

Required. The ProductSet to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for productSetId.

getProductSetOrBuilder()

public abstract ProductSetOrBuilder getProductSetOrBuilder()

Required. The ProductSet to create.

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

Returns
TypeDescription
ProductSetOrBuilder

hasProductSet()

public abstract boolean hasProductSet()

Required. The ProductSet to create.

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

Returns
TypeDescription
boolean

Whether the productSet field is set.