Class QueryDeployedModelsResponse.Builder (3.4.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.DeployedModelRef>
Returns
TypeDescription
QueryDeployedModelsResponse.Builder

addAllDeployedModels(Iterable<? extends DeployedModel> values)

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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.DeployedModel>
Returns
TypeDescription
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
NameDescription
valueDeployedModelRef
Returns
TypeDescription
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
NameDescription
builderForValueDeployedModelRef.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDeployedModelRef
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeployedModelRef.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DeployedModelRef.Builder

addDeployedModels(DeployedModel value)

public QueryDeployedModelsResponse.Builder addDeployedModels(DeployedModel value)

DEPRECATED Use deployed_model_refs instead.

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

Parameter
NameDescription
valueDeployedModel
Returns
TypeDescription
QueryDeployedModelsResponse.Builder

addDeployedModels(DeployedModel.Builder builderForValue)

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
NameDescription
builderForValueDeployedModel.Builder
Returns
TypeDescription
QueryDeployedModelsResponse.Builder

addDeployedModels(int index, DeployedModel value)

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
NameDescription
indexint
valueDeployedModel
Returns
TypeDescription
QueryDeployedModelsResponse.Builder

addDeployedModels(int index, DeployedModel.Builder builderForValue)

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
NameDescription
indexint
builderForValueDeployedModel.Builder
Returns
TypeDescription
QueryDeployedModelsResponse.Builder

addDeployedModelsBuilder()

public DeployedModel.Builder addDeployedModelsBuilder()

DEPRECATED Use deployed_model_refs instead.

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

Returns
TypeDescription
DeployedModel.Builder

addDeployedModelsBuilder(int index)

public DeployedModel.Builder addDeployedModelsBuilder(int index)

DEPRECATED Use deployed_model_refs instead.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployedModel.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryDeployedModelsResponse build()
Returns
TypeDescription
QueryDeployedModelsResponse

buildPartial()

public QueryDeployedModelsResponse buildPartial()
Returns
TypeDescription
QueryDeployedModelsResponse

clear()

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

clearDeployedModels()

public QueryDeployedModelsResponse.Builder clearDeployedModels()

DEPRECATED Use deployed_model_refs instead.

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

Returns
TypeDescription
QueryDeployedModelsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public QueryDeployedModelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
QueryDeployedModelsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryDeployedModelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
QueryDeployedModelsResponse.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public QueryDeployedModelsResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.DeployedModelRefOrBuilder>

getDeployedModels(int index)

public DeployedModel getDeployedModels(int index)

DEPRECATED Use deployed_model_refs instead.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployedModel

getDeployedModelsBuilder(int index)

public DeployedModel.Builder getDeployedModelsBuilder(int index)

DEPRECATED Use deployed_model_refs instead.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployedModel.Builder

getDeployedModelsBuilderList()

public List<DeployedModel.Builder> getDeployedModelsBuilderList()

DEPRECATED Use deployed_model_refs instead.

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

Returns
TypeDescription
List<Builder>

getDeployedModelsCount()

public int getDeployedModelsCount()

DEPRECATED Use deployed_model_refs instead.

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

Returns
TypeDescription
int

getDeployedModelsList()

public List<DeployedModel> getDeployedModelsList()

DEPRECATED Use deployed_model_refs instead.

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

Returns
TypeDescription
List<DeployedModel>

getDeployedModelsOrBuilder(int index)

public DeployedModelOrBuilder getDeployedModelsOrBuilder(int index)

DEPRECATED Use deployed_model_refs instead.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeployedModelOrBuilder

getDeployedModelsOrBuilderList()

public List<? extends DeployedModelOrBuilder> getDeployedModelsOrBuilderList()

DEPRECATED Use deployed_model_refs instead.

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

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

getDescriptorForType()

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

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryDeployedModelsResponse other)

public QueryDeployedModelsResponse.Builder mergeFrom(QueryDeployedModelsResponse other)
Parameter
NameDescription
otherQueryDeployedModelsResponse
Returns
TypeDescription
QueryDeployedModelsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDeployedModels(int index)

public QueryDeployedModelsResponse.Builder removeDeployedModels(int index)

DEPRECATED Use deployed_model_refs instead.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDeployedModelRef
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeployedModelRef.Builder
Returns
TypeDescription
QueryDeployedModelsResponse.Builder

setDeployedModels(int index, DeployedModel value)

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
NameDescription
indexint
valueDeployedModel
Returns
TypeDescription
QueryDeployedModelsResponse.Builder

setDeployedModels(int index, DeployedModel.Builder builderForValue)

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
NameDescription
indexint
builderForValueDeployedModel.Builder
Returns
TypeDescription
QueryDeployedModelsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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