Send feedback
Class ListEnrolledSolutionsResponse.Builder (2.49.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.49.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]