Class UpdateExplanationDatasetRequest.Builder (3.84.0)

public static final class UpdateExplanationDatasetRequest.Builder extends GeneratedMessage.Builder<UpdateExplanationDatasetRequest.Builder> implements UpdateExplanationDatasetRequestOrBuilder

Request message for ModelService.UpdateExplanationDataset.

Protobuf type google.cloud.aiplatform.v1.UpdateExplanationDatasetRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateExplanationDatasetRequest build()
Returns
Type Description
UpdateExplanationDatasetRequest

buildPartial()

public UpdateExplanationDatasetRequest buildPartial()
Returns
Type Description
UpdateExplanationDatasetRequest

clear()

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

clearExamples()

public UpdateExplanationDatasetRequest.Builder clearExamples()

The example config containing the location of the dataset.

.google.cloud.aiplatform.v1.Examples examples = 2;

Returns
Type Description
UpdateExplanationDatasetRequest.Builder

clearModel()

public UpdateExplanationDatasetRequest.Builder clearModel()

Required. The resource name of the Model to update. Format: projects/{project}/locations/{location}/models/{model}

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

Returns
Type Description
UpdateExplanationDatasetRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public UpdateExplanationDatasetRequest getDefaultInstanceForType()
Returns
Type Description
UpdateExplanationDatasetRequest

getDescriptorForType()

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

getExamples()

public Examples getExamples()

The example config containing the location of the dataset.

.google.cloud.aiplatform.v1.Examples examples = 2;

Returns
Type Description
Examples

The examples.

getExamplesBuilder()

public Examples.Builder getExamplesBuilder()

The example config containing the location of the dataset.

.google.cloud.aiplatform.v1.Examples examples = 2;

Returns
Type Description
Examples.Builder

getExamplesOrBuilder()

public ExamplesOrBuilder getExamplesOrBuilder()

The example config containing the location of the dataset.

.google.cloud.aiplatform.v1.Examples examples = 2;

Returns
Type Description
ExamplesOrBuilder

getModel()

public String getModel()

Required. The resource name of the Model to update. Format: projects/{project}/locations/{location}/models/{model}

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

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

Required. The resource name of the Model to update. Format: projects/{project}/locations/{location}/models/{model}

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

Returns
Type Description
ByteString

The bytes for model.

hasExamples()

public boolean hasExamples()

The example config containing the location of the dataset.

.google.cloud.aiplatform.v1.Examples examples = 2;

Returns
Type Description
boolean

Whether the examples field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExamples(Examples value)

public UpdateExplanationDatasetRequest.Builder mergeExamples(Examples value)

The example config containing the location of the dataset.

.google.cloud.aiplatform.v1.Examples examples = 2;

Parameter
Name Description
value Examples
Returns
Type Description
UpdateExplanationDatasetRequest.Builder

mergeFrom(UpdateExplanationDatasetRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setExamples(Examples value)

public UpdateExplanationDatasetRequest.Builder setExamples(Examples value)

The example config containing the location of the dataset.

.google.cloud.aiplatform.v1.Examples examples = 2;

Parameter
Name Description
value Examples
Returns
Type Description
UpdateExplanationDatasetRequest.Builder

setExamples(Examples.Builder builderForValue)

public UpdateExplanationDatasetRequest.Builder setExamples(Examples.Builder builderForValue)

The example config containing the location of the dataset.

.google.cloud.aiplatform.v1.Examples examples = 2;

Parameter
Name Description
builderForValue Examples.Builder
Returns
Type Description
UpdateExplanationDatasetRequest.Builder

setModel(String value)

public UpdateExplanationDatasetRequest.Builder setModel(String value)

Required. The resource name of the Model to update. Format: projects/{project}/locations/{location}/models/{model}

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

Parameter
Name Description
value String

The model to set.

Returns
Type Description
UpdateExplanationDatasetRequest.Builder

This builder for chaining.

setModelBytes(ByteString value)

public UpdateExplanationDatasetRequest.Builder setModelBytes(ByteString value)

Required. The resource name of the Model to update. Format: projects/{project}/locations/{location}/models/{model}

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

Parameter
Name Description
value ByteString

The bytes for model to set.

Returns
Type Description
UpdateExplanationDatasetRequest.Builder

This builder for chaining.