public static final class DeployResponse.Builder extends GeneratedMessageV3.Builder<DeployResponse.Builder> implements DeployResponseOrBuilder
Response message for ModelGardenService.Deploy.
Protobuf type google.cloud.aiplatform.v1.DeployResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeployResponse.BuilderImplements
DeployResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
build()
public DeployResponse build()
Returns | |
---|---|
Type | Description |
DeployResponse |
buildPartial()
public DeployResponse buildPartial()
Returns | |
---|---|
Type | Description |
DeployResponse |
clear()
public DeployResponse.Builder clear()
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
clearEndpoint()
public DeployResponse.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 |
DeployResponse.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DeployResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
clearModel()
public DeployResponse.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 |
DeployResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
clearPublisherModel()
public DeployResponse.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 |
DeployResponse.Builder |
This builder for chaining. |
clone()
public DeployResponse.Builder clone()
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
getDefaultInstanceForType()
public DeployResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DeployResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DeployResponse other)
public DeployResponse.Builder mergeFrom(DeployResponse other)
Parameter | |
---|---|
Name | Description |
other |
DeployResponse |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DeployResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
setEndpoint(String value)
public DeployResponse.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 |
DeployResponse.Builder |
This builder for chaining. |
setEndpointBytes(ByteString value)
public DeployResponse.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 |
DeployResponse.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeployResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
setModel(String value)
public DeployResponse.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 |
DeployResponse.Builder |
This builder for chaining. |
setModelBytes(ByteString value)
public DeployResponse.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 |
DeployResponse.Builder |
This builder for chaining. |
setPublisherModel(String value)
public DeployResponse.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 |
DeployResponse.Builder |
This builder for chaining. |
setPublisherModelBytes(ByteString value)
public DeployResponse.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 |
DeployResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeployResponse.Builder |