Class CreateModelMonitorRequest.Builder (3.44.0)

public static final class CreateModelMonitorRequest.Builder extends GeneratedMessageV3.Builder<CreateModelMonitorRequest.Builder> implements CreateModelMonitorRequestOrBuilder

Request message for ModelMonitoringService.CreateModelMonitor.

Protobuf type google.cloud.aiplatform.v1beta1.CreateModelMonitorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateModelMonitorRequest build()
Returns
Type Description
CreateModelMonitorRequest

buildPartial()

public CreateModelMonitorRequest buildPartial()
Returns
Type Description
CreateModelMonitorRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelMonitor()

public CreateModelMonitorRequest.Builder clearModelMonitor()

Required. The ModelMonitor to create.

.google.cloud.aiplatform.v1beta1.ModelMonitor model_monitor = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateModelMonitorRequest.Builder

clearModelMonitorId()

public CreateModelMonitorRequest.Builder clearModelMonitorId()

Optional. The ID to use for the Model Monitor, which will become the final component of the model monitor resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitor_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateModelMonitorRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateModelMonitorRequest.Builder clearParent()

Required. The resource name of the Location to create the ModelMonitor in. Format: projects/{project}/locations/{location}

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

Returns
Type Description
CreateModelMonitorRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateModelMonitorRequest getDefaultInstanceForType()
Returns
Type Description
CreateModelMonitorRequest

getDescriptorForType()

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

getModelMonitor()

public ModelMonitor getModelMonitor()

Required. The ModelMonitor to create.

.google.cloud.aiplatform.v1beta1.ModelMonitor model_monitor = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelMonitor

The modelMonitor.

getModelMonitorBuilder()

public ModelMonitor.Builder getModelMonitorBuilder()

Required. The ModelMonitor to create.

.google.cloud.aiplatform.v1beta1.ModelMonitor model_monitor = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelMonitor.Builder

getModelMonitorId()

public String getModelMonitorId()

Optional. The ID to use for the Model Monitor, which will become the final component of the model monitor resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitor_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The modelMonitorId.

getModelMonitorIdBytes()

public ByteString getModelMonitorIdBytes()

Optional. The ID to use for the Model Monitor, which will become the final component of the model monitor resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitor_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for modelMonitorId.

getModelMonitorOrBuilder()

public ModelMonitorOrBuilder getModelMonitorOrBuilder()

Required. The ModelMonitor to create.

.google.cloud.aiplatform.v1beta1.ModelMonitor model_monitor = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelMonitorOrBuilder

getParent()

public String getParent()

Required. The resource name of the Location to create the ModelMonitor in. Format: projects/{project}/locations/{location}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location to create the ModelMonitor in. Format: projects/{project}/locations/{location}

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

Returns
Type Description
ByteString

The bytes for parent.

hasModelMonitor()

public boolean hasModelMonitor()

Required. The ModelMonitor to create.

.google.cloud.aiplatform.v1beta1.ModelMonitor model_monitor = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the modelMonitor field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateModelMonitorRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeModelMonitor(ModelMonitor value)

public CreateModelMonitorRequest.Builder mergeModelMonitor(ModelMonitor value)

Required. The ModelMonitor to create.

.google.cloud.aiplatform.v1beta1.ModelMonitor model_monitor = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ModelMonitor
Returns
Type Description
CreateModelMonitorRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelMonitor(ModelMonitor value)

public CreateModelMonitorRequest.Builder setModelMonitor(ModelMonitor value)

Required. The ModelMonitor to create.

.google.cloud.aiplatform.v1beta1.ModelMonitor model_monitor = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ModelMonitor
Returns
Type Description
CreateModelMonitorRequest.Builder

setModelMonitor(ModelMonitor.Builder builderForValue)

public CreateModelMonitorRequest.Builder setModelMonitor(ModelMonitor.Builder builderForValue)

Required. The ModelMonitor to create.

.google.cloud.aiplatform.v1beta1.ModelMonitor model_monitor = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ModelMonitor.Builder
Returns
Type Description
CreateModelMonitorRequest.Builder

setModelMonitorId(String value)

public CreateModelMonitorRequest.Builder setModelMonitorId(String value)

Optional. The ID to use for the Model Monitor, which will become the final component of the model monitor resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitor_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The modelMonitorId to set.

Returns
Type Description
CreateModelMonitorRequest.Builder

This builder for chaining.

setModelMonitorIdBytes(ByteString value)

public CreateModelMonitorRequest.Builder setModelMonitorIdBytes(ByteString value)

Optional. The ID to use for the Model Monitor, which will become the final component of the model monitor resource name.

The maximum length is 63 characters, and valid characters are /^a-z?$/.

string model_monitor_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for modelMonitorId to set.

Returns
Type Description
CreateModelMonitorRequest.Builder

This builder for chaining.

setParent(String value)

public CreateModelMonitorRequest.Builder setParent(String value)

Required. The resource name of the Location to create the ModelMonitor in. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateModelMonitorRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateModelMonitorRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the ModelMonitor in. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateModelMonitorRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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