Class ListInsightsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListInsightsResponse.Builder>
com.google.cloud.recommender.v1beta1.ListInsightsResponse.Builder
- All Implemented Interfaces:
ListInsightsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListInsightsResponse
public static final class ListInsightsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListInsightsResponse.Builder>
implements ListInsightsResponseOrBuilder
Response to the `ListInsights` method.Protobuf type
google.cloud.recommender.v1beta1.ListInsightsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllInsights(Iterable<? extends Insight> values) The set of insights for the `parent` resource.addInsights(int index, Insight value) The set of insights for the `parent` resource.addInsights(int index, Insight.Builder builderForValue) The set of insights for the `parent` resource.addInsights(Insight value) The set of insights for the `parent` resource.addInsights(Insight.Builder builderForValue) The set of insights for the `parent` resource.The set of insights for the `parent` resource.addInsightsBuilder(int index) The set of insights for the `parent` resource.build()clear()The set of insights for the `parent` resource.A token that can be used to request the next page of results.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInsights(int index) The set of insights for the `parent` resource.getInsightsBuilder(int index) The set of insights for the `parent` resource.The set of insights for the `parent` resource.intThe set of insights for the `parent` resource.The set of insights for the `parent` resource.getInsightsOrBuilder(int index) The set of insights for the `parent` resource.List<? extends InsightOrBuilder>The set of insights for the `parent` resource.A token that can be used to request the next page of results.com.google.protobuf.ByteStringA token that can be used to request the next page of results.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListInsightsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeInsights(int index) The set of insights for the `parent` resource.setInsights(int index, Insight value) The set of insights for the `parent` resource.setInsights(int index, Insight.Builder builderForValue) The set of insights for the `parent` resource.setNextPageToken(String value) A token that can be used to request the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token that can be used to request the next page of results.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListInsightsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListInsightsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListInsightsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInsightsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListInsightsResponse.Builder>
-
mergeFrom
public ListInsightsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInsightsResponse.Builder>- Throws:
IOException
-
getInsightsList
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;- Specified by:
getInsightsListin interfaceListInsightsResponseOrBuilder
-
getInsightsCount
public int getInsightsCount()The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;- Specified by:
getInsightsCountin interfaceListInsightsResponseOrBuilder
-
getInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;- Specified by:
getInsightsin interfaceListInsightsResponseOrBuilder
-
setInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
setInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
addInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
addInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
addInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
addInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
addAllInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
clearInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
removeInsights
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
getInsightsBuilder
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
getInsightsOrBuilder
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;- Specified by:
getInsightsOrBuilderin interfaceListInsightsResponseOrBuilder
-
getInsightsOrBuilderList
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1;- Specified by:
getInsightsOrBuilderListin interfaceListInsightsResponseOrBuilder
-
addInsightsBuilder
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
addInsightsBuilder
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
getInsightsBuilderList
The set of insights for the `parent` resource.
repeated .google.cloud.recommender.v1beta1.Insight insights = 1; -
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:
getNextPageTokenin interfaceListInsightsResponseOrBuilder- 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:
getNextPageTokenBytesin interfaceListInsightsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
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:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-