Package com.google.cloud.aiplatform.v1
Class UpdateExplanationDatasetRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateExplanationDatasetRequest.Builder>
com.google.cloud.aiplatform.v1.UpdateExplanationDatasetRequest.Builder
- All Implemented Interfaces:
UpdateExplanationDatasetRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateExplanationDatasetRequest
public static final class UpdateExplanationDatasetRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateExplanationDatasetRequest.Builder>
implements UpdateExplanationDatasetRequestOrBuilder
Request message for [ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1.ModelService.UpdateExplanationDataset].Protobuf type
google.cloud.aiplatform.v1.UpdateExplanationDatasetRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The example config containing the location of the dataset.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe example config containing the location of the dataset.The example config containing the location of the dataset.The example config containing the location of the dataset.getModel()Required.com.google.protobuf.ByteStringRequired.booleanThe example config containing the location of the dataset.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExamples(Examples value) The example config containing the location of the dataset.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setExamples(Examples value) The example config containing the location of the dataset.setExamples(Examples.Builder builderForValue) The example config containing the location of the dataset.Required.setModelBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpdateExplanationDatasetRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpdateExplanationDatasetRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpdateExplanationDatasetRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateExplanationDatasetRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateExplanationDatasetRequest.Builder>
-
mergeFrom
public UpdateExplanationDatasetRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateExplanationDatasetRequest.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getModelin interfaceUpdateExplanationDatasetRequestOrBuilder- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.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) = { ... }- Specified by:
getModelBytesin interfaceUpdateExplanationDatasetRequestOrBuilder- Returns:
- The bytes for model.
-
setModel
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) = { ... }- Parameters:
value- The model to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setModelBytes
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) = { ... }- Parameters:
value- The bytes for model to set.- Returns:
- This builder for chaining.
-
hasExamples
public boolean hasExamples()The example config containing the location of the dataset.
.google.cloud.aiplatform.v1.Examples examples = 2;- Specified by:
hasExamplesin interfaceUpdateExplanationDatasetRequestOrBuilder- Returns:
- Whether the examples field is set.
-
getExamples
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1.Examples examples = 2;- Specified by:
getExamplesin interfaceUpdateExplanationDatasetRequestOrBuilder- Returns:
- The examples.
-
setExamples
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1.Examples examples = 2; -
setExamples
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1.Examples examples = 2; -
mergeExamples
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1.Examples examples = 2; -
clearExamples
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1.Examples examples = 2; -
getExamplesBuilder
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1.Examples examples = 2; -
getExamplesOrBuilder
The example config containing the location of the dataset.
.google.cloud.aiplatform.v1.Examples examples = 2;- Specified by:
getExamplesOrBuilderin interfaceUpdateExplanationDatasetRequestOrBuilder
-