Class QueryDeployedModelsResponse.Builder (3.55.0)

public static final class QueryDeployedModelsResponse.Builder extends GeneratedMessageV3.Builder<QueryDeployedModelsResponse.Builder> implements QueryDeployedModelsResponseOrBuilder

Response message for QueryDeployedModels method.

Protobuf type google.cloud.aiplatform.v1beta1.QueryDeployedModelsResponse

Static Methods

getDescriptor()

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

Methods

addAllDeployedModelRefs(Iterable<? extends DeployedModelRef> values)

public QueryDeployedModelsResponse.Builder addAllDeployedModelRefs(Iterable<? extends DeployedModelRef> values)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.DeployedModelRef>
Returns
Type Description
QueryDeployedModelsResponse.Builder

addAllDeployedModels(Iterable<? extends DeployedModel> values) (deprecated)

public QueryDeployedModelsResponse.Builder addAllDeployedModels(Iterable<? extends DeployedModel> values)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.DeployedModel>
Returns
Type Description
QueryDeployedModelsResponse.Builder

addDeployedModelRefs(DeployedModelRef value)

public QueryDeployedModelsResponse.Builder addDeployedModelRefs(DeployedModelRef value)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameter
Name Description
value DeployedModelRef
Returns
Type Description
QueryDeployedModelsResponse.Builder

addDeployedModelRefs(DeployedModelRef.Builder builderForValue)

public QueryDeployedModelsResponse.Builder addDeployedModelRefs(DeployedModelRef.Builder builderForValue)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameter
Name Description
builderForValue DeployedModelRef.Builder
Returns
Type Description
QueryDeployedModelsResponse.Builder

addDeployedModelRefs(int index, DeployedModelRef value)

public QueryDeployedModelsResponse.Builder addDeployedModelRefs(int index, DeployedModelRef value)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameters
Name Description
index int
value DeployedModelRef
Returns
Type Description
QueryDeployedModelsResponse.Builder

addDeployedModelRefs(int index, DeployedModelRef.Builder builderForValue)

public QueryDeployedModelsResponse.Builder addDeployedModelRefs(int index, DeployedModelRef.Builder builderForValue)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameters
Name Description
index int
builderForValue DeployedModelRef.Builder
Returns
Type Description
QueryDeployedModelsResponse.Builder

addDeployedModelRefsBuilder()

public DeployedModelRef.Builder addDeployedModelRefsBuilder()

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Returns
Type Description
DeployedModelRef.Builder

addDeployedModelRefsBuilder(int index)

public DeployedModelRef.Builder addDeployedModelRefsBuilder(int index)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameter
Name Description
index int
Returns
Type Description
DeployedModelRef.Builder

addDeployedModels(DeployedModel value) (deprecated)

public QueryDeployedModelsResponse.Builder addDeployedModels(DeployedModel value)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameter
Name Description
value DeployedModel
Returns
Type Description
QueryDeployedModelsResponse.Builder

addDeployedModels(DeployedModel.Builder builderForValue) (deprecated)

public QueryDeployedModelsResponse.Builder addDeployedModels(DeployedModel.Builder builderForValue)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameter
Name Description
builderForValue DeployedModel.Builder
Returns
Type Description
QueryDeployedModelsResponse.Builder

addDeployedModels(int index, DeployedModel value) (deprecated)

public QueryDeployedModelsResponse.Builder addDeployedModels(int index, DeployedModel value)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameters
Name Description
index int
value DeployedModel
Returns
Type Description
QueryDeployedModelsResponse.Builder

addDeployedModels(int index, DeployedModel.Builder builderForValue) (deprecated)

public QueryDeployedModelsResponse.Builder addDeployedModels(int index, DeployedModel.Builder builderForValue)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameters
Name Description
index int
builderForValue DeployedModel.Builder
Returns
Type Description
QueryDeployedModelsResponse.Builder

addDeployedModelsBuilder() (deprecated)

public DeployedModel.Builder addDeployedModelsBuilder()

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Returns
Type Description
DeployedModel.Builder

addDeployedModelsBuilder(int index) (deprecated)

public DeployedModel.Builder addDeployedModelsBuilder(int index)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
DeployedModel.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryDeployedModelsResponse build()
Returns
Type Description
QueryDeployedModelsResponse

buildPartial()

public QueryDeployedModelsResponse buildPartial()
Returns
Type Description
QueryDeployedModelsResponse

clear()

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

clearDeployedModelRefs()

public QueryDeployedModelsResponse.Builder clearDeployedModelRefs()

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Returns
Type Description
QueryDeployedModelsResponse.Builder

clearDeployedModels() (deprecated)

public QueryDeployedModelsResponse.Builder clearDeployedModels()

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Returns
Type Description
QueryDeployedModelsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public QueryDeployedModelsResponse.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;

Returns
Type Description
QueryDeployedModelsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalDeployedModelCount()

public QueryDeployedModelsResponse.Builder clearTotalDeployedModelCount()

The total number of DeployedModels on this DeploymentResourcePool.

int32 total_deployed_model_count = 4;

Returns
Type Description
QueryDeployedModelsResponse.Builder

This builder for chaining.

clearTotalEndpointCount()

public QueryDeployedModelsResponse.Builder clearTotalEndpointCount()

The total number of Endpoints that have DeployedModels on this DeploymentResourcePool.

int32 total_endpoint_count = 5;

Returns
Type Description
QueryDeployedModelsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public QueryDeployedModelsResponse getDefaultInstanceForType()
Returns
Type Description
QueryDeployedModelsResponse

getDeployedModelRefs(int index)

public DeployedModelRef getDeployedModelRefs(int index)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameter
Name Description
index int
Returns
Type Description
DeployedModelRef

getDeployedModelRefsBuilder(int index)

public DeployedModelRef.Builder getDeployedModelRefsBuilder(int index)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameter
Name Description
index int
Returns
Type Description
DeployedModelRef.Builder

getDeployedModelRefsBuilderList()

public List<DeployedModelRef.Builder> getDeployedModelRefsBuilderList()

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Returns
Type Description
List<Builder>

getDeployedModelRefsCount()

public int getDeployedModelRefsCount()

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Returns
Type Description
int

getDeployedModelRefsList()

public List<DeployedModelRef> getDeployedModelRefsList()

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Returns
Type Description
List<DeployedModelRef>

getDeployedModelRefsOrBuilder(int index)

public DeployedModelRefOrBuilder getDeployedModelRefsOrBuilder(int index)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameter
Name Description
index int
Returns
Type Description
DeployedModelRefOrBuilder

getDeployedModelRefsOrBuilderList()

public List<? extends DeployedModelRefOrBuilder> getDeployedModelRefsOrBuilderList()

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.DeployedModelRefOrBuilder>

getDeployedModels(int index) (deprecated)

public DeployedModel getDeployedModels(int index)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
DeployedModel

getDeployedModelsBuilder(int index) (deprecated)

public DeployedModel.Builder getDeployedModelsBuilder(int index)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
DeployedModel.Builder

getDeployedModelsBuilderList() (deprecated)

public List<DeployedModel.Builder> getDeployedModelsBuilderList()

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Returns
Type Description
List<Builder>

getDeployedModelsCount() (deprecated)

public int getDeployedModelsCount()

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Returns
Type Description
int

getDeployedModelsList() (deprecated)

public List<DeployedModel> getDeployedModelsList()

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Returns
Type Description
List<DeployedModel>

getDeployedModelsOrBuilder(int index) (deprecated)

public DeployedModelOrBuilder getDeployedModelsOrBuilder(int index)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
DeployedModelOrBuilder

getDeployedModelsOrBuilderList() (deprecated)

public List<? extends DeployedModelOrBuilder> getDeployedModelsOrBuilderList()

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.DeployedModelOrBuilder>

getDescriptorForType()

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

getTotalDeployedModelCount()

public int getTotalDeployedModelCount()

The total number of DeployedModels on this DeploymentResourcePool.

int32 total_deployed_model_count = 4;

Returns
Type Description
int

The totalDeployedModelCount.

getTotalEndpointCount()

public int getTotalEndpointCount()

The total number of Endpoints that have DeployedModels on this DeploymentResourcePool.

int32 total_endpoint_count = 5;

Returns
Type Description
int

The totalEndpointCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryDeployedModelsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDeployedModelRefs(int index)

public QueryDeployedModelsResponse.Builder removeDeployedModelRefs(int index)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameter
Name Description
index int
Returns
Type Description
QueryDeployedModelsResponse.Builder

removeDeployedModels(int index) (deprecated)

public QueryDeployedModelsResponse.Builder removeDeployedModels(int index)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
QueryDeployedModelsResponse.Builder

setDeployedModelRefs(int index, DeployedModelRef value)

public QueryDeployedModelsResponse.Builder setDeployedModelRefs(int index, DeployedModelRef value)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameters
Name Description
index int
value DeployedModelRef
Returns
Type Description
QueryDeployedModelsResponse.Builder

setDeployedModelRefs(int index, DeployedModelRef.Builder builderForValue)

public QueryDeployedModelsResponse.Builder setDeployedModelRefs(int index, DeployedModelRef.Builder builderForValue)

References to the DeployedModels that share the specified deploymentResourcePool.

repeated .google.cloud.aiplatform.v1beta1.DeployedModelRef deployed_model_refs = 3;

Parameters
Name Description
index int
builderForValue DeployedModelRef.Builder
Returns
Type Description
QueryDeployedModelsResponse.Builder

setDeployedModels(int index, DeployedModel value) (deprecated)

public QueryDeployedModelsResponse.Builder setDeployedModels(int index, DeployedModel value)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameters
Name Description
index int
value DeployedModel
Returns
Type Description
QueryDeployedModelsResponse.Builder

setDeployedModels(int index, DeployedModel.Builder builderForValue) (deprecated)

public QueryDeployedModelsResponse.Builder setDeployedModels(int index, DeployedModel.Builder builderForValue)

DEPRECATED Use deployed_model_refs instead.

repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 1 [deprecated = true];

Parameters
Name Description
index int
builderForValue DeployedModel.Builder
Returns
Type Description
QueryDeployedModelsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public QueryDeployedModelsResponse.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.

Returns
Type Description
QueryDeployedModelsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public QueryDeployedModelsResponse.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.

Returns
Type Description
QueryDeployedModelsResponse.Builder

This builder for chaining.

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

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

setTotalDeployedModelCount(int value)

public QueryDeployedModelsResponse.Builder setTotalDeployedModelCount(int value)

The total number of DeployedModels on this DeploymentResourcePool.

int32 total_deployed_model_count = 4;

Parameter
Name Description
value int

The totalDeployedModelCount to set.

Returns
Type Description
QueryDeployedModelsResponse.Builder

This builder for chaining.

setTotalEndpointCount(int value)

public QueryDeployedModelsResponse.Builder setTotalEndpointCount(int value)

The total number of Endpoints that have DeployedModels on this DeploymentResourcePool.

int32 total_endpoint_count = 5;

Parameter
Name Description
value int

The totalEndpointCount to set.

Returns
Type Description
QueryDeployedModelsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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