public final class ListEnrolledSolutionsResponse extends GeneratedMessage implements ListEnrolledSolutionsResponseOrBuilderResponse for ListEnrolledSolutions method.
Protobuf type google.cloud.retail.v2alpha.ListEnrolledSolutionsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ListEnrolledSolutionsResponseImplements
ListEnrolledSolutionsResponseOrBuilderStatic Fields
ENROLLED_SOLUTIONS_FIELD_NUMBER
public static final int ENROLLED_SOLUTIONS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ListEnrolledSolutionsResponse getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ListEnrolledSolutionsResponse.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
|
newBuilder(ListEnrolledSolutionsResponse prototype)
public static ListEnrolledSolutionsResponse.Builder newBuilder(ListEnrolledSolutionsResponse prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ListEnrolledSolutionsResponse |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
|
parseDelimitedFrom(InputStream input)
public static ListEnrolledSolutionsResponse parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListEnrolledSolutionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ListEnrolledSolutionsResponse parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListEnrolledSolutionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ListEnrolledSolutionsResponse parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListEnrolledSolutionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ListEnrolledSolutionsResponse parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListEnrolledSolutionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ListEnrolledSolutionsResponse parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListEnrolledSolutionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ListEnrolledSolutionsResponse parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListEnrolledSolutionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ListEnrolledSolutionsResponse> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ListEnrolledSolutionsResponse> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ListEnrolledSolutionsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse |
|
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 |
intThe 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 |
intThe 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. |
getParserForType()
public Parser<ListEnrolledSolutionsResponse> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ListEnrolledSolutionsResponse> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ListEnrolledSolutionsResponse.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ListEnrolledSolutionsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
|
toBuilder()
public ListEnrolledSolutionsResponse.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ListEnrolledSolutionsResponse.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|