public final class ListInsightsResponse extends GeneratedMessageV3 implements ListInsightsResponseOrBuilder
Response to the ListInsights
method.
Protobuf type google.cloud.recommender.v1beta1.ListInsightsResponse
Static Fields
INSIGHTS_FIELD_NUMBER
public static final int INSIGHTS_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListInsightsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListInsightsResponse.Builder newBuilder()
Returns
newBuilder(ListInsightsResponse prototype)
public static ListInsightsResponse.Builder newBuilder(ListInsightsResponse prototype)
Parameter
Returns
public static ListInsightsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListInsightsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListInsightsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListInsightsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListInsightsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListInsightsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListInsightsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListInsightsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListInsightsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListInsightsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListInsightsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListInsightsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListInsightsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListInsightsResponse getDefaultInstanceForType()
Returns
getInsights(int index)
public Insight getInsights(int index)
The set of insights for the parent
resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;
Parameter
Returns
getInsightsCount()
public int getInsightsCount()
The set of insights for the parent
resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;
Returns
getInsightsList()
public List<Insight> getInsightsList()
The set of insights for the parent
resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;
Returns
getInsightsOrBuilder(int index)
public InsightOrBuilder getInsightsOrBuilder(int index)
The set of insights for the parent
resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;
Parameter
Returns
getInsightsOrBuilderList()
public List<? extends InsightOrBuilder> getInsightsOrBuilderList()
The set of insights for the parent
resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;
Returns
Type | Description |
List<? extends com.google.cloud.recommender.v1beta1.InsightOrBuilder> | |
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;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public 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;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListInsightsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListInsightsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListInsightsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListInsightsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions