Class ModelSourceInfo (3.28.0)

public final class ModelSourceInfo extends GeneratedMessageV3 implements ModelSourceInfoOrBuilder

Detail description of the source information of the model.

Protobuf type google.cloud.aiplatform.v1beta1.ModelSourceInfo

Static Fields

COPY_FIELD_NUMBER

public static final int COPY_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_TYPE_FIELD_NUMBER

public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ModelSourceInfo getDefaultInstance()
Returns
TypeDescription
ModelSourceInfo

getDescriptor()

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

newBuilder()

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

newBuilder(ModelSourceInfo prototype)

public static ModelSourceInfo.Builder newBuilder(ModelSourceInfo prototype)
Parameter
NameDescription
prototypeModelSourceInfo
Returns
TypeDescription
ModelSourceInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
boolean

The copy.

getDefaultInstanceForType()

public ModelSourceInfo getDefaultInstanceForType()
Returns
TypeDescription
ModelSourceInfo

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceType()

public ModelSourceInfo.ModelSourceType getSourceType()

Type of the model source.

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

Returns
TypeDescription
ModelSourceInfo.ModelSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

Type of the model source.

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

Returns
TypeDescription
int

The enum numeric value on the wire for sourceType.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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