Class ModelSourceInfo (3.4.1)

See more code actions.
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

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

newBuilder(ModelSourceInfo prototype)

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

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

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

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.v1.ModelSourceInfo.ModelSourceType source_type = 1;

Returns
TypeDescription
ModelSourceInfo.ModelSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

Type of the model source.

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

Returns
TypeDescription
int

The enum numeric value on the wire for sourceType.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ModelSourceInfo.Builder toBuilder()
Returns

writeTo(CodedOutputStream output)

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