public static final class FetchModelsRequest.Builder extends GeneratedMessage.Builder<FetchModelsRequest.Builder> implements FetchModelsRequestOrBuilderRequest message for GkeInferenceQuickstart.FetchModels.
Protobuf type google.cloud.gkerecommender.v1.FetchModelsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchModelsRequest.BuilderImplements
FetchModelsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchModelsRequest build()| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest |
|
buildPartial()
public FetchModelsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest |
|
clear()
public FetchModelsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest.Builder |
|
clearPageSize()
public FetchModelsRequest.Builder clearPageSize()Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
optional int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest.Builder |
This builder for chaining. |
clearPageToken()
public FetchModelsRequest.Builder clearPageToken() Optional. The value of
next_page_token
received from a previous FetchModelsRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelsRequest must match the call that provided the page token.
optional string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchModelsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
optional int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. The value of
next_page_token
received from a previous FetchModelsRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelsRequest must match the call that provided the page token.
optional string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. The value of
next_page_token
received from a previous FetchModelsRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelsRequest must match the call that provided the page token.
optional string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
hasPageSize()
public boolean hasPageSize()Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
optional int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pageSize field is set. |
hasPageToken()
public boolean hasPageToken() Optional. The value of
next_page_token
received from a previous FetchModelsRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelsRequest must match the call that provided the page token.
optional string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pageToken field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchModelsRequest other)
public FetchModelsRequest.Builder mergeFrom(FetchModelsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchModelsRequest |
| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchModelsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchModelsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest.Builder |
|
setPageSize(int value)
public FetchModelsRequest.Builder setPageSize(int value)Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
optional int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public FetchModelsRequest.Builder setPageToken(String value) Optional. The value of
next_page_token
received from a previous FetchModelsRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelsRequest must match the call that provided the page token.
optional string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public FetchModelsRequest.Builder setPageTokenBytes(ByteString value) Optional. The value of
next_page_token
received from a previous FetchModelsRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelsRequest must match the call that provided the page token.
optional string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchModelsRequest.Builder |
This builder for chaining. |