Class ImportFeatureValuesRequest.FeatureSpec (3.42.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
TypeDescription
int

SOURCE_FIELD_FIELD_NUMBER

public static final int SOURCE_FIELD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportFeatureValuesRequest.FeatureSpec getDefaultInstance()
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec

getDescriptor()

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

newBuilder()

public static ImportFeatureValuesRequest.FeatureSpec.Builder newBuilder()
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec.Builder

newBuilder(ImportFeatureValuesRequest.FeatureSpec prototype)

public static ImportFeatureValuesRequest.FeatureSpec.Builder newBuilder(ImportFeatureValuesRequest.FeatureSpec prototype)
Parameter
NameDescription
prototypeImportFeatureValuesRequest.FeatureSpec
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec.Builder

parseDelimitedFrom(InputStream input)

public static ImportFeatureValuesRequest.FeatureSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ImportFeatureValuesRequest.FeatureSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportFeatureValuesRequest.FeatureSpec getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for id.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sourceField.

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 ImportFeatureValuesRequest.FeatureSpec.Builder newBuilderForType()
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ImportFeatureValuesRequest.FeatureSpec.Builder toBuilder()
Returns
TypeDescription
ImportFeatureValuesRequest.FeatureSpec.Builder

writeTo(CodedOutputStream output)

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