Class QueryDeployedModelsRequest.Builder (3.7.0)

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

Request message for QueryDeployedModels method.

Protobuf type google.cloud.aiplatform.v1beta1.QueryDeployedModelsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryDeployedModelsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueryDeployedModelsRequest.Builder
Overrides

build()

public QueryDeployedModelsRequest build()
Returns
TypeDescription
QueryDeployedModelsRequest

buildPartial()

public QueryDeployedModelsRequest buildPartial()
Returns
TypeDescription
QueryDeployedModelsRequest

clear()

public QueryDeployedModelsRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
QueryDeployedModelsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public QueryDeployedModelsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueryDeployedModelsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryDeployedModelsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
QueryDeployedModelsRequest.Builder

This builder for chaining.

clone()

public QueryDeployedModelsRequest.Builder clone()
Returns
TypeDescription
QueryDeployedModelsRequest.Builder
Overrides

getDefaultInstanceForType()

public QueryDeployedModelsRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for deploymentResourcePool.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryDeployedModelsRequest other)

public QueryDeployedModelsRequest.Builder mergeFrom(QueryDeployedModelsRequest other)
Parameter
NameDescription
otherQueryDeployedModelsRequest
Returns
TypeDescription
QueryDeployedModelsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryDeployedModelsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryDeployedModelsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QueryDeployedModelsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QueryDeployedModelsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryDeployedModelsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The deploymentResourcePool to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for deploymentResourcePool to set.

Returns
TypeDescription
QueryDeployedModelsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public QueryDeployedModelsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueryDeployedModelsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryDeployedModelsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryDeployedModelsRequest.Builder
Overrides