public static final class ListEnrolledSolutionsResponse.Builder extends GeneratedMessageV3.Builder<ListEnrolledSolutionsResponse.Builder> implements ListEnrolledSolutionsResponseOrBuilder
Response for ListEnrolledSolutions method.
Protobuf type google.cloud.retail.v2alpha.ListEnrolledSolutionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.
|
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.
|
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 |
SolutionType
The enrolledSolutions to add.
|
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 |
int
The enum numeric value on the wire for enrolledSolutions to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEnrolledSolutionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListEnrolledSolutionsResponse build()
buildPartial()
public ListEnrolledSolutionsResponse buildPartial()
clear()
public ListEnrolledSolutionsResponse.Builder clear()
Overrides
clearEnrolledSolutions()
public ListEnrolledSolutionsResponse.Builder clearEnrolledSolutions()
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;
clearField(Descriptors.FieldDescriptor field)
public ListEnrolledSolutionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEnrolledSolutionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListEnrolledSolutionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListEnrolledSolutionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
int
The 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 |
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 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListEnrolledSolutionsResponse other)
public ListEnrolledSolutionsResponse.Builder mergeFrom(ListEnrolledSolutionsResponse other)
public ListEnrolledSolutionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListEnrolledSolutionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEnrolledSolutionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
int
The index to set the value at.
|
value |
SolutionType
The enrolledSolutions to set.
|
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 |
int
The index to set the value at.
|
value |
int
The enum numeric value on the wire for enrolledSolutions to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListEnrolledSolutionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListEnrolledSolutionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEnrolledSolutionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides