Class VertexModelSourceInfo.Builder (1.42.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VertexModelSourceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VertexModelSourceInfo.Builder
Overrides

build()

public VertexModelSourceInfo build()
Returns
TypeDescription
VertexModelSourceInfo

buildPartial()

public VertexModelSourceInfo buildPartial()
Returns
TypeDescription
VertexModelSourceInfo

clear()

public VertexModelSourceInfo.Builder clear()
Returns
TypeDescription
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
TypeDescription
VertexModelSourceInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VertexModelSourceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VertexModelSourceInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VertexModelSourceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VertexModelSourceInfo.Builder
Overrides

clearSourceType()

public VertexModelSourceInfo.Builder clearSourceType()

Type of the model source.

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

Returns
TypeDescription
VertexModelSourceInfo.Builder

This builder for chaining.

clone()

public VertexModelSourceInfo.Builder clone()
Returns
TypeDescription
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
TypeDescription
boolean

The copy.

getDefaultInstanceForType()

public VertexModelSourceInfo getDefaultInstanceForType()
Returns
TypeDescription
VertexModelSourceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSourceType()

public VertexModelSourceInfo.ModelSourceType getSourceType()

Type of the model source.

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

Returns
TypeDescription
VertexModelSourceInfo.ModelSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

Type of the model source.

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

Returns
TypeDescription
int

The enum numeric value on the wire for sourceType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VertexModelSourceInfo other)

public VertexModelSourceInfo.Builder mergeFrom(VertexModelSourceInfo other)
Parameter
NameDescription
otherVertexModelSourceInfo
Returns
TypeDescription
VertexModelSourceInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VertexModelSourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VertexModelSourceInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VertexModelSourceInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VertexModelSourceInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VertexModelSourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The copy to set.

Returns
TypeDescription
VertexModelSourceInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VertexModelSourceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VertexModelSourceInfo.Builder
Overrides

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

public VertexModelSourceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueVertexModelSourceInfo.ModelSourceType

The sourceType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
VertexModelSourceInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VertexModelSourceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VertexModelSourceInfo.Builder
Overrides