public interface LogicalProductOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getLifecycleState()
public abstract LifecycleState getLifecycleState()Output only. Current Lifecycle state of the logical product.
.google.cloud.productregistry.v1.LifecycleState lifecycle_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LifecycleState |
The lifecycleState. |
getLifecycleStateValue()
public abstract int getLifecycleStateValue()Output only. Current Lifecycle state of the logical product.
.google.cloud.productregistry.v1.LifecycleState lifecycle_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for lifecycleState. |
getName()
public abstract String getName()Identifier. The resource name of the LogicalProduct. Format: logicalProducts/{logical_product}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Identifier. The resource name of the LogicalProduct. Format: logicalProducts/{logical_product}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getProductSuite()
public abstract String getProductSuite()Product suite associated with the logical product. Format: productSuites/{product_suite}.
string product_suite = 3 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The productSuite. |
getProductSuiteBytes()
public abstract ByteString getProductSuiteBytes()Product suite associated with the logical product. Format: productSuites/{product_suite}.
string product_suite = 3 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for productSuite. |
getReplaced()
public abstract boolean getReplaced() Output only. Indicates whether the logical product has been replaced. If
false, the product is active. If true, the product has been replaced by
another type, and the replacement field contains the resource name of
that replacement.
bool replaced = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The replaced. |
getReplacement()
public abstract String getReplacement()Output only. The resource name of the Logical Entity that the logical product is replaced by. This field is only populated when this logical product is replaced by some other type. Eg: logicalProducts/{logical_product}/variants/{variant}, productSuites/{product_suite}, etc.
string replacement = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The replacement. |
getReplacementBytes()
public abstract ByteString getReplacementBytes()Output only. The resource name of the Logical Entity that the logical product is replaced by. This field is only populated when this logical product is replaced by some other type. Eg: logicalProducts/{logical_product}/variants/{variant}, productSuites/{product_suite}, etc.
string replacement = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for replacement. |
getTitle()
public abstract String getTitle()Display name of the LogicalProduct.
string title = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()Display name of the LogicalProduct.
string title = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
getVariants(int index)
public abstract String getVariants(int index)Output only. Child variant resource references. Format: logicalProducts/{logical_product}/variants/{variant}
repeated string variants = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The variants at the given index. |
getVariantsBytes(int index)
public abstract ByteString getVariantsBytes(int index)Output only. Child variant resource references. Format: logicalProducts/{logical_product}/variants/{variant}
repeated string variants = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the variants at the given index. |
getVariantsCount()
public abstract int getVariantsCount()Output only. Child variant resource references. Format: logicalProducts/{logical_product}/variants/{variant}
repeated string variants = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of variants. |
getVariantsList()
public abstract List<String> getVariantsList()Output only. Child variant resource references. Format: logicalProducts/{logical_product}/variants/{variant}
repeated string variants = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the variants. |