public final class UpdateModelRequest extends GeneratedMessageV3 implements UpdateModelRequestOrBuilder
Request message for ModelService.UpdateModel.
Protobuf type google.cloud.aiplatform.v1beta1.UpdateModelRequest
Fields
public static final int MODEL_FIELD_NUMBER
Field Value
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static UpdateModelRequest getDefaultInstance()
Returns
public UpdateModelRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
Required. The Model which replaces the resource on the server.
.google.cloud.aiplatform.v1beta1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
Model | The model.
|
public ModelOrBuilder getModelOrBuilder()
Required. The Model which replaces the resource on the server.
.google.cloud.aiplatform.v1beta1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public Parser<UpdateModelRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public FieldMask getUpdateMask()
Required. The update mask applies to the resource.
For the FieldMask
definition, see google.protobuf.FieldMask.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The update mask applies to the resource.
For the FieldMask
definition, see google.protobuf.FieldMask.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public boolean hasModel()
Required. The Model which replaces the resource on the server.
.google.cloud.aiplatform.v1beta1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the model field is set.
|
public boolean hasUpdateMask()
Required. The update mask applies to the resource.
For the FieldMask
definition, see google.protobuf.FieldMask.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static UpdateModelRequest.Builder newBuilder()
Returns
public static UpdateModelRequest.Builder newBuilder(UpdateModelRequest prototype)
Parameter
Returns
public UpdateModelRequest.Builder newBuilderForType()
Returns
protected UpdateModelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static UpdateModelRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateModelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateModelRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UpdateModelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateModelRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UpdateModelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateModelRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateModelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateModelRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateModelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateModelRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UpdateModelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UpdateModelRequest> parser()
Returns
public UpdateModelRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions