Interface ProjectOrBuilder (2.55.0)

public interface ProjectOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnrolledSolutions(int index)

public abstract SolutionType getEnrolledSolutions(int index)

Output only. Retail API solutions that the project has enrolled.

repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
SolutionType

The enrolledSolutions at the given index.

getEnrolledSolutionsCount()

public abstract int getEnrolledSolutionsCount()

Output only. Retail API solutions that the project has enrolled.

repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of enrolledSolutions.

getEnrolledSolutionsList()

public abstract List<SolutionType> getEnrolledSolutionsList()

Output only. Retail API solutions that the project has enrolled.

repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SolutionType>

A list containing the enrolledSolutions.

getEnrolledSolutionsValue(int index)

public abstract int getEnrolledSolutionsValue(int index)

Output only. Retail API solutions that the project has enrolled.

repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of enrolledSolutions at the given index.

getEnrolledSolutionsValueList()

public abstract List<Integer> getEnrolledSolutionsValueList()

Output only. Retail API solutions that the project has enrolled.

repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for enrolledSolutions.

getName()

public abstract String getName()

Output only. Full resource name of the retail project, such as projects/{project_id_or_number}/retailProject.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Full resource name of the retail project, such as projects/{project_id_or_number}/retailProject.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.