Class VertexModelSourceInfo.Builder (1.50.0)

public static final class VertexModelSourceInfo.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VertexModelSourceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VertexModelSourceInfo.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public VertexModelSourceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VertexModelSourceInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VertexModelSourceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VertexModelSourceInfo.Builder
Overrides

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.

clone()

public VertexModelSourceInfo.Builder clone()
Returns
Type Description
VertexModelSourceInfo.Builder
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
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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VertexModelSourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public VertexModelSourceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VertexModelSourceInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VertexModelSourceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VertexModelSourceInfo.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final VertexModelSourceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VertexModelSourceInfo.Builder
Overrides