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()
Methods
public UpdateExplanationDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateExplanationDatasetRequest build()
public UpdateExplanationDatasetRequest buildPartial()
public UpdateExplanationDatasetRequest.Builder clear()
Overrides
public UpdateExplanationDatasetRequest.Builder clearExamples()
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
public UpdateExplanationDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
public UpdateExplanationDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateExplanationDatasetRequest.Builder clone()
Overrides
public UpdateExplanationDatasetRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Examples getExamples()
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
Returns |
---|
Type | Description |
Examples | The examples.
|
public Examples.Builder getExamplesBuilder()
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
public ExamplesOrBuilder getExamplesOrBuilder()
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
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 |
---|
Type | Description |
ByteString | The bytes for model.
|
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()
Overrides
public final boolean isInitialized()
Overrides
public UpdateExplanationDatasetRequest.Builder mergeExamples(Examples value)
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
public UpdateExplanationDatasetRequest.Builder mergeFrom(UpdateExplanationDatasetRequest other)
public UpdateExplanationDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateExplanationDatasetRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final UpdateExplanationDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateExplanationDatasetRequest.Builder setExamples(Examples value)
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
public UpdateExplanationDatasetRequest.Builder setExamples(Examples.Builder builderForValue)
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1beta1.Examples examples = 2;
public UpdateExplanationDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public UpdateExplanationDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateExplanationDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides