Package com.google.cloud.retail.v2alpha
Class ListEnrolledSolutionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListEnrolledSolutionsResponse.Builder>
com.google.cloud.retail.v2alpha.ListEnrolledSolutionsResponse.Builder
- All Implemented Interfaces:
ListEnrolledSolutionsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListEnrolledSolutionsResponse
public static final class ListEnrolledSolutionsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListEnrolledSolutionsResponse.Builder>
implements ListEnrolledSolutionsResponseOrBuilder
Response for ListEnrolledSolutions method.Protobuf type
google.cloud.retail.v2alpha.ListEnrolledSolutionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllEnrolledSolutions(Iterable<? extends SolutionType> values) Retail API solutions that the project has enrolled.addAllEnrolledSolutionsValue(Iterable<Integer> values) Retail API solutions that the project has enrolled.addEnrolledSolutions(SolutionType value) Retail API solutions that the project has enrolled.addEnrolledSolutionsValue(int value) Retail API solutions that the project has enrolled.build()clear()Retail API solutions that the project has enrolled.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEnrolledSolutions(int index) Retail API solutions that the project has enrolled.intRetail API solutions that the project has enrolled.Retail API solutions that the project has enrolled.intgetEnrolledSolutionsValue(int index) Retail API solutions that the project has enrolled.Retail API solutions that the project has enrolled.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEnrolledSolutions(int index, SolutionType value) Retail API solutions that the project has enrolled.setEnrolledSolutionsValue(int index, int value) Retail API solutions that the project has enrolled.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListEnrolledSolutionsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListEnrolledSolutionsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListEnrolledSolutionsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListEnrolledSolutionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListEnrolledSolutionsResponse.Builder>
-
mergeFrom
public ListEnrolledSolutionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListEnrolledSolutionsResponse.Builder>- Throws:
IOException
-
getEnrolledSolutionsList
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Specified by:
getEnrolledSolutionsListin interfaceListEnrolledSolutionsResponseOrBuilder- Returns:
- A list containing the enrolledSolutions.
-
getEnrolledSolutionsCount
public int getEnrolledSolutionsCount()Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Specified by:
getEnrolledSolutionsCountin interfaceListEnrolledSolutionsResponseOrBuilder- Returns:
- The count of enrolledSolutions.
-
getEnrolledSolutions
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Specified by:
getEnrolledSolutionsin interfaceListEnrolledSolutionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The enrolledSolutions at the given index.
-
setEnrolledSolutions
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Parameters:
index- The index to set the value at.value- The enrolledSolutions to set.- Returns:
- This builder for chaining.
-
addEnrolledSolutions
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Parameters:
value- The enrolledSolutions to add.- Returns:
- This builder for chaining.
-
addAllEnrolledSolutions
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;- Parameters:
values- The enrolledSolutions to add.- Returns:
- This builder for chaining.
-
clearEnrolledSolutions
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Returns:
- This builder for chaining.
-
getEnrolledSolutionsValueList
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Specified by:
getEnrolledSolutionsValueListin interfaceListEnrolledSolutionsResponseOrBuilder- Returns:
- A list containing the enum numeric values on the wire for enrolledSolutions.
-
getEnrolledSolutionsValue
public int getEnrolledSolutionsValue(int index) Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Specified by:
getEnrolledSolutionsValuein interfaceListEnrolledSolutionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of enrolledSolutions at the given index.
-
setEnrolledSolutionsValue
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for enrolledSolutions to set.- Returns:
- This builder for chaining.
-
addEnrolledSolutionsValue
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Parameters:
value- The enum numeric value on the wire for enrolledSolutions to add.- Returns:
- This builder for chaining.
-
addAllEnrolledSolutionsValue
Retail API solutions that the project has enrolled.
repeated .google.cloud.retail.v2alpha.SolutionType enrolled_solutions = 1;- Parameters:
values- The enum numeric values on the wire for enrolledSolutions to add.- Returns:
- This builder for chaining.
-