public final class ModelSourceInfo extends GeneratedMessage implements ModelSourceInfoOrBuilderDetail description of the source information of the model.
Protobuf type google.cloud.aiplatform.v1.ModelSourceInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ModelSourceInfoImplements
ModelSourceInfoOrBuilderStatic 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 |
|
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> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ModelSourceInfo.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ModelSourceInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
|
toBuilder()
public ModelSourceInfo.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|