Class EnrollSolutionResponse (2.55.0)

public final class EnrollSolutionResponse extends GeneratedMessageV3 implements EnrollSolutionResponseOrBuilder

Response for EnrollSolution method.

Protobuf type google.cloud.retail.v2alpha.EnrollSolutionResponse

Static Fields

ENROLLED_SOLUTION_FIELD_NUMBER

public static final int ENROLLED_SOLUTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EnrollSolutionResponse getDefaultInstance()
Returns
Type Description
EnrollSolutionResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EnrollSolutionResponse.Builder newBuilder()
Returns
Type Description
EnrollSolutionResponse.Builder

newBuilder(EnrollSolutionResponse prototype)

public static EnrollSolutionResponse.Builder newBuilder(EnrollSolutionResponse prototype)
Parameter
Name Description
prototype EnrollSolutionResponse
Returns
Type Description
EnrollSolutionResponse.Builder

parseDelimitedFrom(InputStream input)

public static EnrollSolutionResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnrollSolutionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EnrollSolutionResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EnrollSolutionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EnrollSolutionResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EnrollSolutionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EnrollSolutionResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EnrollSolutionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EnrollSolutionResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnrollSolutionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EnrollSolutionResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EnrollSolutionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnrollSolutionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EnrollSolutionResponse> parser()
Returns
Type Description
Parser<EnrollSolutionResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EnrollSolutionResponse getDefaultInstanceForType()
Returns
Type Description
EnrollSolutionResponse

getEnrolledSolution()

public SolutionType getEnrolledSolution()

Retail API solution that the project has enrolled.

.google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;

Returns
Type Description
SolutionType

The enrolledSolution.

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.

getParserForType()

public Parser<EnrollSolutionResponse> getParserForType()
Returns
Type Description
Parser<EnrollSolutionResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EnrollSolutionResponse.Builder newBuilderForType()
Returns
Type Description
EnrollSolutionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EnrollSolutionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EnrollSolutionResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EnrollSolutionResponse.Builder toBuilder()
Returns
Type Description
EnrollSolutionResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException