public static final class ListInsightTypesResponse.Builder extends GeneratedMessage.Builder<ListInsightTypesResponse.Builder> implements ListInsightTypesResponseOrBuilder Response for the ListInsightTypes method.
Protobuf type google.cloud.recommender.v1beta1.ListInsightTypesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListInsightTypesResponse.BuilderImplements
ListInsightTypesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllInsightTypes(Iterable<? extends InsightType> values)
public ListInsightTypesResponse.Builder addAllInsightTypes(Iterable<? extends InsightType> values)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.recommender.v1beta1.InsightType> |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
addInsightTypes(InsightType value)
public ListInsightTypesResponse.Builder addInsightTypes(InsightType value)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
InsightType |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
addInsightTypes(InsightType.Builder builderForValue)
public ListInsightTypesResponse.Builder addInsightTypes(InsightType.Builder builderForValue)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InsightType.Builder |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
addInsightTypes(int index, InsightType value)
public ListInsightTypesResponse.Builder addInsightTypes(int index, InsightType value)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
InsightType |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
addInsightTypes(int index, InsightType.Builder builderForValue)
public ListInsightTypesResponse.Builder addInsightTypes(int index, InsightType.Builder builderForValue)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
InsightType.Builder |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
addInsightTypesBuilder()
public InsightType.Builder addInsightTypesBuilder()The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Returns | |
|---|---|
| Type | Description |
InsightType.Builder |
|
addInsightTypesBuilder(int index)
public InsightType.Builder addInsightTypesBuilder(int index)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
InsightType.Builder |
|
build()
public ListInsightTypesResponse build()| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse |
|
buildPartial()
public ListInsightTypesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse |
|
clear()
public ListInsightTypesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
clearInsightTypes()
public ListInsightTypesResponse.Builder clearInsightTypes()The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
clearNextPageToken()
public ListInsightTypesResponse.Builder clearNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListInsightTypesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInsightTypes(int index)
public InsightType getInsightTypes(int index)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
InsightType |
|
getInsightTypesBuilder(int index)
public InsightType.Builder getInsightTypesBuilder(int index)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
InsightType.Builder |
|
getInsightTypesBuilderList()
public List<InsightType.Builder> getInsightTypesBuilderList()The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getInsightTypesCount()
public int getInsightTypesCount()The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getInsightTypesList()
public List<InsightType> getInsightTypesList()The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Returns | |
|---|---|
| Type | Description |
List<InsightType> |
|
getInsightTypesOrBuilder(int index)
public InsightTypeOrBuilder getInsightTypesOrBuilder(int index)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
InsightTypeOrBuilder |
|
getInsightTypesOrBuilderList()
public List<? extends InsightTypeOrBuilder> getInsightTypesOrBuilderList()The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.recommender.v1beta1.InsightTypeOrBuilder> |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListInsightTypesResponse other)
public ListInsightTypesResponse.Builder mergeFrom(ListInsightTypesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListInsightTypesResponse |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListInsightTypesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListInsightTypesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
removeInsightTypes(int index)
public ListInsightTypesResponse.Builder removeInsightTypes(int index)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
setInsightTypes(int index, InsightType value)
public ListInsightTypesResponse.Builder setInsightTypes(int index, InsightType value)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
InsightType |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
setInsightTypes(int index, InsightType.Builder builderForValue)
public ListInsightTypesResponse.Builder setInsightTypes(int index, InsightType.Builder builderForValue)The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
InsightType.Builder |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
|
setNextPageToken(String value)
public ListInsightTypesResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListInsightTypesResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListInsightTypesResponse.Builder |
This builder for chaining. |