Class ModelSourceInfo (3.52.0)

public final class ModelSourceInfo extends GeneratedMessageV3 implements ModelSourceInfoOrBuilder

Detail description of the source information of the model.

Protobuf type google.cloud.aiplatform.v1.ModelSourceInfo

Static Fields

COPY_FIELD_NUMBER

public static final int COPY_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_TYPE_FIELD_NUMBER

public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelSourceInfo getDefaultInstance()
Returns
Type Description
ModelSourceInfo

getDescriptor()

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

newBuilder()

public static ModelSourceInfo.Builder newBuilder()
Returns
Type Description
ModelSourceInfo.Builder

newBuilder(ModelSourceInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static ModelSourceInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelSourceInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ModelSourceInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelSourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ModelSourceInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelSourceInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ModelSourceInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelSourceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ModelSourceInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelSourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ModelSourceInfo> parser()
Returns
Type Description
Parser<ModelSourceInfo>

Methods

equals(Object obj)

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

getCopy()

public boolean getCopy()

If this Model is copy of another Model. If true then source_type pertains to the original.

bool copy = 2;

Returns
Type Description
boolean

The copy.

getDefaultInstanceForType()

public ModelSourceInfo getDefaultInstanceForType()
Returns
Type Description
ModelSourceInfo

getParserForType()

public Parser<ModelSourceInfo> getParserForType()
Returns
Type Description
Parser<ModelSourceInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceType()

public ModelSourceInfo.ModelSourceType getSourceType()

Type of the model source.

.google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType source_type = 1;

Returns
Type Description
ModelSourceInfo.ModelSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

Type of the model source.

.google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType source_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for sourceType.

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 ModelSourceInfo.Builder newBuilderForType()
Returns
Type Description
ModelSourceInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ModelSourceInfo.Builder toBuilder()
Returns
Type Description
ModelSourceInfo.Builder

writeTo(CodedOutputStream output)

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