Class DeployPublisherModelResponse.Builder (3.57.0)

public static final class DeployPublisherModelResponse.Builder extends GeneratedMessageV3.Builder<DeployPublisherModelResponse.Builder> implements DeployPublisherModelResponseOrBuilder

Response message for ModelGardenService.DeployPublisherModel.

Protobuf type google.cloud.aiplatform.v1beta1.DeployPublisherModelResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployPublisherModelResponse build()
Returns
Type Description
DeployPublisherModelResponse

buildPartial()

public DeployPublisherModelResponse buildPartial()
Returns
Type Description
DeployPublisherModelResponse

clear()

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

clearEndpoint()

public DeployPublisherModelResponse.Builder clearEndpoint()

Output only. The name of the Endpoint created. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeployPublisherModelResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearModel()

public DeployPublisherModelResponse.Builder clearModel()

Output only. The name of the Model created. Format: projects/{project}/locations/{location}/models/{model}

string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeployPublisherModelResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPublisherModel()

public DeployPublisherModelResponse.Builder clearPublisherModel()

Output only. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeployPublisherModelResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DeployPublisherModelResponse getDefaultInstanceForType()
Returns
Type Description
DeployPublisherModelResponse

getDescriptorForType()

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

getEndpoint()

public String getEndpoint()

Output only. The name of the Endpoint created. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Output only. The name of the Endpoint created. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for endpoint.

getModel()

public String getModel()

Output only. The name of the Model created. Format: projects/{project}/locations/{location}/models/{model}

string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

Output only. The name of the Model created. Format: projects/{project}/locations/{location}/models/{model}

string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for model.

getPublisherModel()

public String getPublisherModel()

Output only. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The publisherModel.

getPublisherModelBytes()

public ByteString getPublisherModelBytes()

Output only. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for publisherModel.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployPublisherModelResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndpoint(String value)

public DeployPublisherModelResponse.Builder setEndpoint(String value)

Output only. The name of the Endpoint created. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The endpoint to set.

Returns
Type Description
DeployPublisherModelResponse.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public DeployPublisherModelResponse.Builder setEndpointBytes(ByteString value)

Output only. The name of the Endpoint created. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
DeployPublisherModelResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setModel(String value)

public DeployPublisherModelResponse.Builder setModel(String value)

Output only. The name of the Model created. Format: projects/{project}/locations/{location}/models/{model}

string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The model to set.

Returns
Type Description
DeployPublisherModelResponse.Builder

This builder for chaining.

setModelBytes(ByteString value)

public DeployPublisherModelResponse.Builder setModelBytes(ByteString value)

Output only. The name of the Model created. Format: projects/{project}/locations/{location}/models/{model}

string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for model to set.

Returns
Type Description
DeployPublisherModelResponse.Builder

This builder for chaining.

setPublisherModel(String value)

public DeployPublisherModelResponse.Builder setPublisherModel(String value)

Output only. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The publisherModel to set.

Returns
Type Description
DeployPublisherModelResponse.Builder

This builder for chaining.

setPublisherModelBytes(ByteString value)

public DeployPublisherModelResponse.Builder setPublisherModelBytes(ByteString value)

Output only. The name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001

string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for publisherModel to set.

Returns
Type Description
DeployPublisherModelResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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