Class UpdateExplanationDatasetRequest.Builder (3.0.0)

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

Request message for ModelService.UpdateExplanationDataset.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateExplanationDatasetRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateExplanationDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides

build()

public UpdateExplanationDatasetRequest build()
Returns
TypeDescription
UpdateExplanationDatasetRequest

buildPartial()

public UpdateExplanationDatasetRequest buildPartial()
Returns
TypeDescription
UpdateExplanationDatasetRequest

clear()

public UpdateExplanationDatasetRequest.Builder clear()
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides

clearExamples()

public UpdateExplanationDatasetRequest.Builder clearExamples()

The example config containing the location of the dataset.

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

Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateExplanationDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateExplanationDatasetRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateExplanationDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides

clone()

public UpdateExplanationDatasetRequest.Builder clone()
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateExplanationDatasetRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateExplanationDatasetRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExamples()

public Examples getExamples()

The example config containing the location of the dataset.

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

Returns
TypeDescription
Examples

The examples.

getExamplesBuilder()

public Examples.Builder getExamplesBuilder()

The example config containing the location of the dataset.

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

Returns
TypeDescription
Examples.Builder

getExamplesOrBuilder()

public ExamplesOrBuilder getExamplesOrBuilder()

The example config containing the location of the dataset.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for model.

hasExamples()

public boolean hasExamples()

The example config containing the location of the dataset.

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

Returns
TypeDescription
boolean

Whether the examples field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExamples(Examples value)

public UpdateExplanationDatasetRequest.Builder mergeExamples(Examples value)

The example config containing the location of the dataset.

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

Parameter
NameDescription
valueExamples
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder

mergeFrom(UpdateExplanationDatasetRequest other)

public UpdateExplanationDatasetRequest.Builder mergeFrom(UpdateExplanationDatasetRequest other)
Parameter
NameDescription
otherUpdateExplanationDatasetRequest
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateExplanationDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateExplanationDatasetRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExplanationDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides

setExamples(Examples value)

public UpdateExplanationDatasetRequest.Builder setExamples(Examples value)

The example config containing the location of the dataset.

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

Parameter
NameDescription
valueExamples
Returns
TypeDescription
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.v1beta1.Examples examples = 2;

Parameter
NameDescription
builderForValueExamples.Builder
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateExplanationDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The model to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for model to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExplanationDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides