Class ListRecommendationsResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.recommender.v1beta1.ListRecommendationsResponse
All Implemented Interfaces:
ListRecommendationsResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ListRecommendationsResponse extends com.google.protobuf.GeneratedMessage implements ListRecommendationsResponseOrBuilder
 Response to the `ListRecommendations` method.
 
Protobuf type google.cloud.recommender.v1beta1.ListRecommendationsResponse
See Also:
  • Field Details

    • RECOMMENDATIONS_FIELD_NUMBER

      public static final int RECOMMENDATIONS_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getRecommendationsList

      public List<Recommendation> getRecommendationsList()
       The set of recommendations for the `parent` resource.
       
      repeated .google.cloud.recommender.v1beta1.Recommendation recommendations = 1;
      Specified by:
      getRecommendationsList in interface ListRecommendationsResponseOrBuilder
    • getRecommendationsOrBuilderList

      public List<? extends RecommendationOrBuilder> getRecommendationsOrBuilderList()
       The set of recommendations for the `parent` resource.
       
      repeated .google.cloud.recommender.v1beta1.Recommendation recommendations = 1;
      Specified by:
      getRecommendationsOrBuilderList in interface ListRecommendationsResponseOrBuilder
    • getRecommendationsCount

      public int getRecommendationsCount()
       The set of recommendations for the `parent` resource.
       
      repeated .google.cloud.recommender.v1beta1.Recommendation recommendations = 1;
      Specified by:
      getRecommendationsCount in interface ListRecommendationsResponseOrBuilder
    • getRecommendations

      public Recommendation getRecommendations(int index)
       The set of recommendations for the `parent` resource.
       
      repeated .google.cloud.recommender.v1beta1.Recommendation recommendations = 1;
      Specified by:
      getRecommendations in interface ListRecommendationsResponseOrBuilder
    • getRecommendationsOrBuilder

      public RecommendationOrBuilder getRecommendationsOrBuilder(int index)
       The set of recommendations for the `parent` resource.
       
      repeated .google.cloud.recommender.v1beta1.Recommendation recommendations = 1;
      Specified by:
      getRecommendationsOrBuilder in interface ListRecommendationsResponseOrBuilder
    • getNextPageToken

      public 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;
      Specified by:
      getNextPageToken in interface ListRecommendationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public 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;
      Specified by:
      getNextPageTokenBytes in interface ListRecommendationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ListRecommendationsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListRecommendationsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListRecommendationsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListRecommendationsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListRecommendationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListRecommendationsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListRecommendationsResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListRecommendationsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListRecommendationsResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListRecommendationsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListRecommendationsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListRecommendationsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ListRecommendationsResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ListRecommendationsResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ListRecommendationsResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ListRecommendationsResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ListRecommendationsResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<ListRecommendationsResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ListRecommendationsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder