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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UpdateExplanationDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateExplanationDatasetRequest build()
Returns
public UpdateExplanationDatasetRequest buildPartial()
Returns
public UpdateExplanationDatasetRequest.Builder clear()
Returns
Overrides
public UpdateExplanationDatasetRequest.Builder clearExamples()
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
Returns
public UpdateExplanationDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public UpdateExplanationDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UpdateExplanationDatasetRequest.Builder clone()
Returns
Overrides
public UpdateExplanationDatasetRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Examples getExamples()
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
Returns
public Examples.Builder getExamplesBuilder()
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
Returns
public ExamplesOrBuilder getExamplesOrBuilder()
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
Returns
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.
|
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
public boolean hasExamples()
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
Returns
Type | Description |
boolean | Whether the examples field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdateExplanationDatasetRequest.Builder mergeExamples(Examples value)
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
Parameter
Returns
public UpdateExplanationDatasetRequest.Builder mergeFrom(UpdateExplanationDatasetRequest other)
Parameter
Returns
public UpdateExplanationDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UpdateExplanationDatasetRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final UpdateExplanationDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdateExplanationDatasetRequest.Builder setExamples(Examples value)
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
Parameter
Returns
public UpdateExplanationDatasetRequest.Builder setExamples(Examples.Builder builderForValue)
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
Parameter
Returns
public UpdateExplanationDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public UpdateExplanationDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UpdateExplanationDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides