Class DeleteModelMonitorRequest.Builder (3.47.0)

public static final class DeleteModelMonitorRequest.Builder extends GeneratedMessageV3.Builder<DeleteModelMonitorRequest.Builder> implements DeleteModelMonitorRequestOrBuilder

Request message for ModelMonitoringService.DeleteModelMonitor.

Protobuf type google.cloud.aiplatform.v1beta1.DeleteModelMonitorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteModelMonitorRequest build()
Returns
Type Description
DeleteModelMonitorRequest

buildPartial()

public DeleteModelMonitorRequest buildPartial()
Returns
Type Description
DeleteModelMonitorRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearForce()

public DeleteModelMonitorRequest.Builder clearForce()

Optional. Force delete the model monitor with schedules.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeleteModelMonitorRequest.Builder

This builder for chaining.

clearName()

public DeleteModelMonitorRequest.Builder clearName()

Required. The name of the ModelMonitor resource to be deleted. Format: projects/{project}/locations/{location}/modelMonitords/{model_monitor}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeleteModelMonitorRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteModelMonitorRequest getDefaultInstanceForType()
Returns
Type Description
DeleteModelMonitorRequest

getDescriptorForType()

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

getForce()

public boolean getForce()

Optional. Force delete the model monitor with schedules.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The force.

getName()

public String getName()

Required. The name of the ModelMonitor resource to be deleted. Format: projects/{project}/locations/{location}/modelMonitords/{model_monitor}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the ModelMonitor resource to be deleted. Format: projects/{project}/locations/{location}/modelMonitords/{model_monitor}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteModelMonitorRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setForce(boolean value)

public DeleteModelMonitorRequest.Builder setForce(boolean value)

Optional. Force delete the model monitor with schedules.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The force to set.

Returns
Type Description
DeleteModelMonitorRequest.Builder

This builder for chaining.

setName(String value)

public DeleteModelMonitorRequest.Builder setName(String value)

Required. The name of the ModelMonitor resource to be deleted. Format: projects/{project}/locations/{location}/modelMonitords/{model_monitor}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteModelMonitorRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteModelMonitorRequest.Builder setNameBytes(ByteString value)

Required. The name of the ModelMonitor resource to be deleted. Format: projects/{project}/locations/{location}/modelMonitords/{model_monitor}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteModelMonitorRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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