Class UpdateExplanationDatasetRequest.Builder (3.49.0)

public static final class UpdateExplanationDatasetRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExplanationDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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