public static final class ListInsightTypesResponse.Builder extends GeneratedMessageV3.Builder<ListInsightTypesResponse.Builder> implements ListInsightTypesResponseOrBuilder
Response for the ListInsightTypes
method.
Protobuf type google.cloud.recommender.v1beta1.ListInsightTypesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addInsightTypes(InsightType value)
public ListInsightTypesResponse.Builder addInsightTypes(InsightType value)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
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;
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;
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;
addInsightTypesBuilder()
public InsightType.Builder addInsightTypesBuilder()
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInsightTypesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListInsightTypesResponse build()
buildPartial()
public ListInsightTypesResponse buildPartial()
clear()
public ListInsightTypesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListInsightTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInsightTypes()
public ListInsightTypesResponse.Builder clearInsightTypes()
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInsightTypesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListInsightTypesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListInsightTypesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
getInsightTypesBuilderList()
public List<InsightType.Builder> getInsightTypesBuilderList()
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.InsightType insight_types = 1;
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;
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
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListInsightTypesResponse other)
public ListInsightTypesResponse.Builder mergeFrom(ListInsightTypesResponse other)
public ListInsightTypesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListInsightTypesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInsightTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListInsightTypesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
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 | String
The nextPageToken to set.
|
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 | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListInsightTypesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInsightTypesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides