Class VertexModelSourceInfo.Builder (1.89.0)

public static final class VertexModelSourceInfo.Builder extends GeneratedMessage.Builder<VertexModelSourceInfo.Builder> implements VertexModelSourceInfoOrBuilder

Detail description of the source information of a Vertex model.

Protobuf type google.cloud.datacatalog.v1.VertexModelSourceInfo

Static Methods

getDescriptor()

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

Methods

build()

public VertexModelSourceInfo build()
Returns
Type Description
VertexModelSourceInfo

buildPartial()

public VertexModelSourceInfo buildPartial()
Returns
Type Description
VertexModelSourceInfo

clear()

public VertexModelSourceInfo.Builder clear()
Returns
Type Description
VertexModelSourceInfo.Builder
Overrides

clearCopy()

public VertexModelSourceInfo.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
VertexModelSourceInfo.Builder

This builder for chaining.

clearSourceType()

public VertexModelSourceInfo.Builder clearSourceType()

Type of the model source.

.google.cloud.datacatalog.v1.VertexModelSourceInfo.ModelSourceType source_type = 1;

Returns
Type Description
VertexModelSourceInfo.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 VertexModelSourceInfo getDefaultInstanceForType()
Returns
Type Description
VertexModelSourceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSourceType()

public VertexModelSourceInfo.ModelSourceType getSourceType()

Type of the model source.

.google.cloud.datacatalog.v1.VertexModelSourceInfo.ModelSourceType source_type = 1;

Returns
Type Description
VertexModelSourceInfo.ModelSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

Type of the model source.

.google.cloud.datacatalog.v1.VertexModelSourceInfo.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VertexModelSourceInfo other)

public VertexModelSourceInfo.Builder mergeFrom(VertexModelSourceInfo other)
Parameter
Name Description
other VertexModelSourceInfo
Returns
Type Description
VertexModelSourceInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VertexModelSourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VertexModelSourceInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VertexModelSourceInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VertexModelSourceInfo.Builder
Overrides

setCopy(boolean value)

public VertexModelSourceInfo.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 boolean

The copy to set.

Returns
Type Description
VertexModelSourceInfo.Builder

This builder for chaining.

setSourceType(VertexModelSourceInfo.ModelSourceType value)

public VertexModelSourceInfo.Builder setSourceType(VertexModelSourceInfo.ModelSourceType value)

Type of the model source.

.google.cloud.datacatalog.v1.VertexModelSourceInfo.ModelSourceType source_type = 1;

Parameter
Name Description
value VertexModelSourceInfo.ModelSourceType

The sourceType to set.

Returns
Type Description
VertexModelSourceInfo.Builder

This builder for chaining.

setSourceTypeValue(int value)

public VertexModelSourceInfo.Builder setSourceTypeValue(int value)

Type of the model source.

.google.cloud.datacatalog.v1.VertexModelSourceInfo.ModelSourceType source_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for sourceType to set.

Returns
Type Description
VertexModelSourceInfo.Builder

This builder for chaining.