Class UpdateExplanationDatasetRequest (3.20.0)

public final class UpdateExplanationDatasetRequest extends GeneratedMessageV3 implements UpdateExplanationDatasetRequestOrBuilder

Request message for ModelService.UpdateExplanationDataset.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateExplanationDatasetRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateExplanationDatasetRequest

Static Fields

EXAMPLES_FIELD_NUMBER

public static final int EXAMPLES_FIELD_NUMBER
Field Value
TypeDescription
int

MODEL_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateExplanationDatasetRequest getDefaultInstance()
Returns
TypeDescription
UpdateExplanationDatasetRequest

getDescriptor()

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

newBuilder()

public static UpdateExplanationDatasetRequest.Builder newBuilder()
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder

newBuilder(UpdateExplanationDatasetRequest prototype)

public static UpdateExplanationDatasetRequest.Builder newBuilder(UpdateExplanationDatasetRequest prototype)
Parameter
NameDescription
prototypeUpdateExplanationDatasetRequest
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateExplanationDatasetRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExplanationDatasetRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateExplanationDatasetRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateExplanationDatasetRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateExplanationDatasetRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateExplanationDatasetRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateExplanationDatasetRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExplanationDatasetRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateExplanationDatasetRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExplanationDatasetRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateExplanationDatasetRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateExplanationDatasetRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExplanationDatasetRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateExplanationDatasetRequest> parser()
Returns
TypeDescription
Parser<UpdateExplanationDatasetRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateExplanationDatasetRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateExplanationDatasetRequest

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.

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.

getParserForType()

public Parser<UpdateExplanationDatasetRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateExplanationDatasetRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateExplanationDatasetRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateExplanationDatasetRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateExplanationDatasetRequest.Builder toBuilder()
Returns
TypeDescription
UpdateExplanationDatasetRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException