public static final class ModelSourceInfo.Builder extends GeneratedMessage.Builder<ModelSourceInfo.Builder> implements ModelSourceInfoOrBuilderDetail description of the source information of the model.
Protobuf type google.cloud.aiplatform.v1.ModelSourceInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ModelSourceInfo.BuilderImplements
ModelSourceInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ModelSourceInfo build()| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo |
|
buildPartial()
public ModelSourceInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo |
|
clear()
public ModelSourceInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
|
clearCopy()
public ModelSourceInfo.Builder clearCopy()If this Model is copy of another Model. If true then source_type pertains to the original.
bool copy = 2;
| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
This builder for chaining. |
clearSourceType()
public ModelSourceInfo.Builder clearSourceType()Type of the model source.
.google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType source_type = 1;
| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ModelSourceInfo other)
public ModelSourceInfo.Builder mergeFrom(ModelSourceInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
ModelSourceInfo |
| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ModelSourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ModelSourceInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
|
setCopy(boolean value)
public ModelSourceInfo.Builder setCopy(boolean value)If this Model is copy of another Model. If true then source_type pertains to the original.
bool copy = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe copy to set. |
| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
This builder for chaining. |
setSourceType(ModelSourceInfo.ModelSourceType value)
public ModelSourceInfo.Builder setSourceType(ModelSourceInfo.ModelSourceType value)Type of the model source.
.google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType source_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ModelSourceInfo.ModelSourceTypeThe sourceType to set. |
| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
This builder for chaining. |
setSourceTypeValue(int value)
public ModelSourceInfo.Builder setSourceTypeValue(int value)Type of the model source.
.google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType source_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for sourceType to set. |
| Returns | |
|---|---|
| Type | Description |
ModelSourceInfo.Builder |
This builder for chaining. |