Package com.google.cloud.retail.v2alpha
Interface ProjectOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Project,Project.Builder
@Generated
public interface ProjectOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEnrolledSolutions(int index) Output only.intOutput only.Output only.intgetEnrolledSolutionsValue(int index) Output only.Output only.getName()Output only.com.google.protobuf.ByteStringOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getEnrolledSolutionsList
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:
- A list containing the enrolledSolutions.
-
getEnrolledSolutionsCount
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:
- The count of enrolledSolutions.
-
getEnrolledSolutions
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];- Parameters:
index- The index of the element to return.- Returns:
- The enrolledSolutions at the given index.
-
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:
- A list containing the enum numeric values on the wire for enrolledSolutions.
-
getEnrolledSolutionsValue
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];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of enrolledSolutions at the given index.
-