public static final class ListEnrolledSolutionsResponse.Builder extends GeneratedMessage.Builder<ListEnrolledSolutionsResponse.Builder> implements ListEnrolledSolutionsResponseOrBuilderResponse for ListEnrolledSolutions method.
Protobuf type google.cloud.retail.v2alpha.ListEnrolledSolutionsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListEnrolledSolutionsResponse.BuilderImplements
ListEnrolledSolutionsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllEnrolledSolutions(Iterable<? extends SolutionType> values)
public ListEnrolledSolutionsResponse.Builder addAllEnrolledSolutions(Iterable<? extends SolutionType> values)Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.retail.v2alpha.SolutionType>The enrolledSolutions to add. |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
This builder for chaining. |
addAllEnrolledSolutionsValue(Iterable<Integer> values)
public ListEnrolledSolutionsResponse.Builder addAllEnrolledSolutionsValue(Iterable<Integer> values)Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for enrolledSolutions to add. |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
This builder for chaining. |
addEnrolledSolutions(SolutionType value)
public ListEnrolledSolutionsResponse.Builder addEnrolledSolutions(SolutionType value)Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SolutionTypeThe enrolledSolutions to add. |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
This builder for chaining. |
addEnrolledSolutionsValue(int value)
public ListEnrolledSolutionsResponse.Builder addEnrolledSolutionsValue(int value)Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for enrolledSolutions to add. |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
This builder for chaining. |
build()
public ListEnrolledSolutionsResponse build()| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
buildPartial()
public ListEnrolledSolutionsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
clear()
public ListEnrolledSolutionsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
|
clearEnrolledSolutions()
public ListEnrolledSolutionsResponse.Builder clearEnrolledSolutions()Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListEnrolledSolutionsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnrolledSolutions(int index)
public SolutionType getEnrolledSolutions(int index)Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
SolutionType |
The enrolledSolutions at the given index. |
getEnrolledSolutionsCount()
public int getEnrolledSolutionsCount()Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of enrolledSolutions. |
getEnrolledSolutionsList()
public List<SolutionType> getEnrolledSolutionsList()Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Returns | |
|---|---|
| Type | Description |
List<SolutionType> |
A list containing the enrolledSolutions. |
getEnrolledSolutionsValue(int index)
public int getEnrolledSolutionsValue(int index)Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 List<Integer> getEnrolledSolutionsValueList()Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for enrolledSolutions. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListEnrolledSolutionsResponse other)
public ListEnrolledSolutionsResponse.Builder mergeFrom(ListEnrolledSolutionsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListEnrolledSolutionsResponse |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListEnrolledSolutionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListEnrolledSolutionsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
|
setEnrolledSolutions(int index, SolutionType value)
public ListEnrolledSolutionsResponse.Builder setEnrolledSolutions(int index, SolutionType value)Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
SolutionTypeThe enrolledSolutions to set. |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
This builder for chaining. |
setEnrolledSolutionsValue(int index, int value)
public ListEnrolledSolutionsResponse.Builder setEnrolledSolutionsValue(int index, int value)Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for enrolledSolutions to set. |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
This builder for chaining. |