public interface CreateProductRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
Product |
getProduct()
Required.
|
String |
getProductId()
A user-supplied resource id for this Product.
|
ByteString |
getProductIdBytes()
A user-supplied resource id for this Product.
|
ProductOrBuilder |
getProductOrBuilder()
Required.
|
boolean |
hasProduct()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getParent()
Required. The project in which the Product should be created. Format is `projects/PROJECT_ID/locations/LOC_ID`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getParentBytes()
Required. The project in which the Product should be created. Format is `projects/PROJECT_ID/locations/LOC_ID`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasProduct()
Required. The product to create.
.google.cloud.vision.v1p3beta1.Product product = 2 [(.google.api.field_behavior) = REQUIRED];
Product getProduct()
Required. The product to create.
.google.cloud.vision.v1p3beta1.Product product = 2 [(.google.api.field_behavior) = REQUIRED];
ProductOrBuilder getProductOrBuilder()
Required. The product to create.
.google.cloud.vision.v1p3beta1.Product product = 2 [(.google.api.field_behavior) = REQUIRED];
String getProductId()
A user-supplied resource id for this Product. 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_id = 3;
ByteString getProductIdBytes()
A user-supplied resource id for this Product. 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_id = 3;
Copyright © 2022 Google LLC. All rights reserved.