Class QueryDeployedModelsRequest.Builder (3.46.0)

public static final class QueryDeployedModelsRequest.Builder extends GeneratedMessageV3.Builder<QueryDeployedModelsRequest.Builder> implements QueryDeployedModelsRequestOrBuilder

Request message for QueryDeployedModels method.

Protobuf type google.cloud.aiplatform.v1.QueryDeployedModelsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryDeployedModelsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides

build()

public QueryDeployedModelsRequest build()
Returns
Type Description
QueryDeployedModelsRequest

buildPartial()

public QueryDeployedModelsRequest buildPartial()
Returns
Type Description
QueryDeployedModelsRequest

clear()

public QueryDeployedModelsRequest.Builder clear()
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides

clearDeploymentResourcePool()

public QueryDeployedModelsRequest.Builder clearDeploymentResourcePool()

Required. The name of the target DeploymentResourcePool to query. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string deployment_resource_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QueryDeployedModelsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public QueryDeployedModelsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryDeployedModelsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides

clearPageSize()

public QueryDeployedModelsRequest.Builder clearPageSize()

The maximum number of DeployedModels to return. The service may return fewer than this value.

int32 page_size = 2;

Returns
Type Description
QueryDeployedModelsRequest.Builder

This builder for chaining.

clearPageToken()

public QueryDeployedModelsRequest.Builder clearPageToken()

A page token, received from a previous QueryDeployedModels call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDeployedModels must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
QueryDeployedModelsRequest.Builder

This builder for chaining.

clone()

public QueryDeployedModelsRequest.Builder clone()
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides

getDefaultInstanceForType()

public QueryDeployedModelsRequest getDefaultInstanceForType()
Returns
Type Description
QueryDeployedModelsRequest

getDeploymentResourcePool()

public String getDeploymentResourcePool()

Required. The name of the target DeploymentResourcePool to query. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string deployment_resource_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The deploymentResourcePool.

getDeploymentResourcePoolBytes()

public ByteString getDeploymentResourcePoolBytes()

Required. The name of the target DeploymentResourcePool to query. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string deployment_resource_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for deploymentResourcePool.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of DeployedModels to return. The service may return fewer than this value.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous QueryDeployedModels call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDeployedModels must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous QueryDeployedModels call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDeployedModels must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryDeployedModelsRequest other)

public QueryDeployedModelsRequest.Builder mergeFrom(QueryDeployedModelsRequest other)
Parameter
Name Description
other QueryDeployedModelsRequest
Returns
Type Description
QueryDeployedModelsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryDeployedModelsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryDeployedModelsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryDeployedModelsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides

setDeploymentResourcePool(String value)

public QueryDeployedModelsRequest.Builder setDeploymentResourcePool(String value)

Required. The name of the target DeploymentResourcePool to query. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string deployment_resource_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The deploymentResourcePool to set.

Returns
Type Description
QueryDeployedModelsRequest.Builder

This builder for chaining.

setDeploymentResourcePoolBytes(ByteString value)

public QueryDeployedModelsRequest.Builder setDeploymentResourcePoolBytes(ByteString value)

Required. The name of the target DeploymentResourcePool to query. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string deployment_resource_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for deploymentResourcePool to set.

Returns
Type Description
QueryDeployedModelsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public QueryDeployedModelsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides

setPageSize(int value)

public QueryDeployedModelsRequest.Builder setPageSize(int value)

The maximum number of DeployedModels to return. The service may return fewer than this value.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
QueryDeployedModelsRequest.Builder

This builder for chaining.

setPageToken(String value)

public QueryDeployedModelsRequest.Builder setPageToken(String value)

A page token, received from a previous QueryDeployedModels call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDeployedModels must match the call that provided the page token.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
QueryDeployedModelsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public QueryDeployedModelsRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous QueryDeployedModels call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDeployedModels must match the call that provided the page token.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
QueryDeployedModelsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QueryDeployedModelsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryDeployedModelsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryDeployedModelsRequest.Builder
Overrides