public final class ListRecommendationsResponse extends com.google.protobuf.GeneratedMessageV3 implements ListRecommendationsResponseOrBuilder
Response to the `ListRecommendations` method.Protobuf type
google.cloud.recommender.v1.ListRecommendationsResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ListRecommendationsResponse.Builder
Response to the `ListRecommendations` method.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NEXT_PAGE_TOKEN_FIELD_NUMBER |
static int |
RECOMMENDATIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ListRecommendationsResponse |
getDefaultInstance() |
ListRecommendationsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNextPageToken()
A token that can be used to request the next page of results.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token that can be used to request the next page of results.
|
com.google.protobuf.Parser<ListRecommendationsResponse> |
getParserForType() |
Recommendation |
getRecommendations(int index)
The set of recommendations for the `parent` resource.
|
int |
getRecommendationsCount()
The set of recommendations for the `parent` resource.
|
List<Recommendation> |
getRecommendationsList()
The set of recommendations for the `parent` resource.
|
RecommendationOrBuilder |
getRecommendationsOrBuilder(int index)
The set of recommendations for the `parent` resource.
|
List<? extends RecommendationOrBuilder> |
getRecommendationsOrBuilderList()
The set of recommendations for the `parent` resource.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListRecommendationsResponse.Builder |
newBuilder() |
static ListRecommendationsResponse.Builder |
newBuilder(ListRecommendationsResponse prototype) |
ListRecommendationsResponse.Builder |
newBuilderForType() |
protected ListRecommendationsResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ListRecommendationsResponse |
parseDelimitedFrom(InputStream input) |
static ListRecommendationsResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListRecommendationsResponse |
parseFrom(byte[] data) |
static ListRecommendationsResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListRecommendationsResponse |
parseFrom(ByteBuffer data) |
static ListRecommendationsResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListRecommendationsResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ListRecommendationsResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListRecommendationsResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListRecommendationsResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListRecommendationsResponse |
parseFrom(InputStream input) |
static ListRecommendationsResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListRecommendationsResponse> |
parser() |
ListRecommendationsResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RECOMMENDATIONS_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<Recommendation> getRecommendationsList()
The set of recommendations for the `parent` resource.
repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;getRecommendationsList in interface ListRecommendationsResponseOrBuilderpublic List<? extends RecommendationOrBuilder> getRecommendationsOrBuilderList()
The set of recommendations for the `parent` resource.
repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;getRecommendationsOrBuilderList in interface ListRecommendationsResponseOrBuilderpublic int getRecommendationsCount()
The set of recommendations for the `parent` resource.
repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;getRecommendationsCount in interface ListRecommendationsResponseOrBuilderpublic Recommendation getRecommendations(int index)
The set of recommendations for the `parent` resource.
repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;getRecommendations in interface ListRecommendationsResponseOrBuilderpublic RecommendationOrBuilder getRecommendationsOrBuilder(int index)
The set of recommendations for the `parent` resource.
repeated .google.cloud.recommender.v1.Recommendation recommendations = 1;getRecommendationsOrBuilder in interface ListRecommendationsResponseOrBuilderpublic String getNextPageToken()
A token that can be used to request the next page of results. This field is empty if there are no additional results.
string next_page_token = 2;getNextPageToken in interface ListRecommendationsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
A token that can be used to request the next page of results. This field is empty if there are no additional results.
string next_page_token = 2;getNextPageTokenBytes in interface ListRecommendationsResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListRecommendationsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListRecommendationsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListRecommendationsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListRecommendationsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListRecommendationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListRecommendationsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListRecommendationsResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListRecommendationsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListRecommendationsResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListRecommendationsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListRecommendationsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListRecommendationsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListRecommendationsResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListRecommendationsResponse.Builder newBuilder()
public static ListRecommendationsResponse.Builder newBuilder(ListRecommendationsResponse prototype)
public ListRecommendationsResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListRecommendationsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListRecommendationsResponse getDefaultInstance()
public static com.google.protobuf.Parser<ListRecommendationsResponse> parser()
public com.google.protobuf.Parser<ListRecommendationsResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListRecommendationsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.