Class ImportFeatureValuesRequest.FeatureSpec (3.54.0)

public static final class ImportFeatureValuesRequest.FeatureSpec extends GeneratedMessageV3 implements ImportFeatureValuesRequest.FeatureSpecOrBuilder

Defines the Feature value(s) to import.

Protobuf type google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportFeatureValuesRequest.FeatureSpec

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FIELD_FIELD_NUMBER

public static final int SOURCE_FIELD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportFeatureValuesRequest.FeatureSpec getDefaultInstance()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImportFeatureValuesRequest.FeatureSpec.Builder newBuilder()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

newBuilder(ImportFeatureValuesRequest.FeatureSpec prototype)

public static ImportFeatureValuesRequest.FeatureSpec.Builder newBuilder(ImportFeatureValuesRequest.FeatureSpec prototype)
Parameter
Name Description
prototype ImportFeatureValuesRequest.FeatureSpec
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

parseDelimitedFrom(InputStream input)

public static ImportFeatureValuesRequest.FeatureSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportFeatureValuesRequest.FeatureSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportFeatureValuesRequest.FeatureSpec> parser()
Returns
Type Description
Parser<FeatureSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ImportFeatureValuesRequest.FeatureSpec getDefaultInstanceForType()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec

getId()

public String getId()

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getParserForType()

public Parser<ImportFeatureValuesRequest.FeatureSpec> getParserForType()
Returns
Type Description
Parser<FeatureSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceField()

public String getSourceField()

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

string source_field = 2;

Returns
Type Description
String

The sourceField.

getSourceFieldBytes()

public ByteString getSourceFieldBytes()

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

string source_field = 2;

Returns
Type Description
ByteString

The bytes for sourceField.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportFeatureValuesRequest.FeatureSpec.Builder newBuilderForType()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportFeatureValuesRequest.FeatureSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportFeatureValuesRequest.FeatureSpec.Builder toBuilder()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException