public static final class EnrollSolutionResponse.Builder extends GeneratedMessageV3.Builder<EnrollSolutionResponse.Builder> implements EnrollSolutionResponseOrBuilder
Response for EnrollSolution method.
Protobuf type google.cloud.retail.v2alpha.EnrollSolutionResponse
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EnrollSolutionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EnrollSolutionResponse build()
buildPartial()
public EnrollSolutionResponse buildPartial()
clear()
public EnrollSolutionResponse.Builder clear()
Overrides
clearEnrolledSolution()
public EnrollSolutionResponse.Builder clearEnrolledSolution()
Retail API solution that the project has enrolled.
.google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
clearField(Descriptors.FieldDescriptor field)
public EnrollSolutionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EnrollSolutionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EnrollSolutionResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public EnrollSolutionResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnrolledSolution()
public SolutionType getEnrolledSolution()
Retail API solution that the project has enrolled.
.google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
getEnrolledSolutionValue()
public int getEnrolledSolutionValue()
Retail API solution that the project has enrolled.
.google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for enrolledSolution.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EnrollSolutionResponse other)
public EnrollSolutionResponse.Builder mergeFrom(EnrollSolutionResponse other)
public EnrollSolutionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EnrollSolutionResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EnrollSolutionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnrolledSolution(SolutionType value)
public EnrollSolutionResponse.Builder setEnrolledSolution(SolutionType value)
Retail API solution that the project has enrolled.
.google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
Parameter |
Name |
Description |
value |
SolutionType
The enrolledSolution to set.
|
setEnrolledSolutionValue(int value)
public EnrollSolutionResponse.Builder setEnrolledSolutionValue(int value)
Retail API solution that the project has enrolled.
.google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for enrolledSolution to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public EnrollSolutionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EnrollSolutionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EnrollSolutionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides