public static final class ListRecommendersRequest.Builder extends GeneratedMessageV3.Builder<ListRecommendersRequest.Builder> implements ListRecommendersRequestOrBuilder
Request for the ListRecommender
method.
Protobuf type google.cloud.recommender.v1beta1.ListRecommendersRequest
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRecommendersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListRecommendersRequest build()
buildPartial()
public ListRecommendersRequest buildPartial()
clear()
public ListRecommendersRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListRecommendersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRecommendersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPageSize()
public ListRecommendersRequest.Builder clearPageSize()
The number of RecommenderTypes to return per page. The service may return
fewer than this value.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
clearPageToken()
public ListRecommendersRequest.Builder clearPageToken()
A page token, received from a previous ListRecommenders
call.
Provide this to retrieve the subsequent page.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public ListRecommendersRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ListRecommendersRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPageSize()
The number of RecommenderTypes to return per page. The service may return
fewer than this value.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The pageSize.
|
getPageToken()
public String getPageToken()
A page token, received from a previous ListRecommenders
call.
Provide this to retrieve the subsequent page.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
A page token, received from a previous ListRecommenders
call.
Provide this to retrieve the subsequent page.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for pageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListRecommendersRequest other)
public ListRecommendersRequest.Builder mergeFrom(ListRecommendersRequest other)
public ListRecommendersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListRecommendersRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRecommendersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListRecommendersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPageSize(int value)
public ListRecommendersRequest.Builder setPageSize(int value)
The number of RecommenderTypes to return per page. The service may return
fewer than this value.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The pageSize to set.
|
setPageToken(String value)
public ListRecommendersRequest.Builder setPageToken(String value)
A page token, received from a previous ListRecommenders
call.
Provide this to retrieve the subsequent page.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The pageToken to set.
|
setPageTokenBytes(ByteString value)
public ListRecommendersRequest.Builder setPageTokenBytes(ByteString value)
A page token, received from a previous ListRecommenders
call.
Provide this to retrieve the subsequent page.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for pageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRecommendersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRecommendersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides