public static final class ListRecommendersResponse.Builder extends GeneratedMessageV3.Builder<ListRecommendersResponse.Builder> implements ListRecommendersResponseOrBuilder
Response for the ListRecommender
method.
Protobuf type google.cloud.recommender.v1beta1.ListRecommendersResponse
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
addAllRecommenders(Iterable<? extends RecommenderType> values)
public ListRecommendersResponse.Builder addAllRecommenders(Iterable<? extends RecommenderType> values)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.recommender.v1beta1.RecommenderType>
|
addRecommenders(RecommenderType value)
public ListRecommendersResponse.Builder addRecommenders(RecommenderType value)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
addRecommenders(RecommenderType.Builder builderForValue)
public ListRecommendersResponse.Builder addRecommenders(RecommenderType.Builder builderForValue)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
addRecommenders(int index, RecommenderType value)
public ListRecommendersResponse.Builder addRecommenders(int index, RecommenderType value)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
addRecommenders(int index, RecommenderType.Builder builderForValue)
public ListRecommendersResponse.Builder addRecommenders(int index, RecommenderType.Builder builderForValue)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
addRecommendersBuilder()
public RecommenderType.Builder addRecommendersBuilder()
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
addRecommendersBuilder(int index)
public RecommenderType.Builder addRecommendersBuilder(int index)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRecommendersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListRecommendersResponse build()
buildPartial()
public ListRecommendersResponse buildPartial()
clear()
public ListRecommendersResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListRecommendersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListRecommendersResponse.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 ListRecommendersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRecommenders()
public ListRecommendersResponse.Builder clearRecommenders()
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
clone()
public ListRecommendersResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListRecommendersResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getRecommenders(int index)
public RecommenderType getRecommenders(int index)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
Parameter |
Name |
Description |
index |
int
|
getRecommendersBuilder(int index)
public RecommenderType.Builder getRecommendersBuilder(int index)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
Parameter |
Name |
Description |
index |
int
|
getRecommendersBuilderList()
public List<RecommenderType.Builder> getRecommendersBuilderList()
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
getRecommendersCount()
public int getRecommendersCount()
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
Returns |
Type |
Description |
int |
|
getRecommendersList()
public List<RecommenderType> getRecommendersList()
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
getRecommendersOrBuilder(int index)
public RecommenderTypeOrBuilder getRecommendersOrBuilder(int index)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
Parameter |
Name |
Description |
index |
int
|
getRecommendersOrBuilderList()
public List<? extends RecommenderTypeOrBuilder> getRecommendersOrBuilderList()
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.recommender.v1beta1.RecommenderTypeOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListRecommendersResponse other)
public ListRecommendersResponse.Builder mergeFrom(ListRecommendersResponse other)
public ListRecommendersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListRecommendersResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRecommendersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRecommenders(int index)
public ListRecommendersResponse.Builder removeRecommenders(int index)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListRecommendersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListRecommendersResponse.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 ListRecommendersResponse.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.
|
setRecommenders(int index, RecommenderType value)
public ListRecommendersResponse.Builder setRecommenders(int index, RecommenderType value)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
setRecommenders(int index, RecommenderType.Builder builderForValue)
public ListRecommendersResponse.Builder setRecommenders(int index, RecommenderType.Builder builderForValue)
The set of recommenders available
repeated .google.cloud.recommender.v1beta1.RecommenderType recommenders = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRecommendersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRecommendersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides