Class DependencyInfo.Builder (0.85.0)

public static final class DependencyInfo.Builder extends GeneratedMessage.Builder<DependencyInfo.Builder> implements DependencyInfoOrBuilder

Dependency info describes how one entity depends on another.

Protobuf type google.cloud.datacatalog.lineage.v1.DependencyInfo

Static Methods

getDescriptor()

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

Methods

build()

public DependencyInfo build()
Returns
Type Description
DependencyInfo

buildPartial()

public DependencyInfo buildPartial()
Returns
Type Description
DependencyInfo

clear()

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

clearDependencyType()

public DependencyInfo.Builder clearDependencyType()

Required. Type of dependency.

.google.cloud.datacatalog.lineage.v1.DependencyType dependency_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DependencyInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public DependencyInfo getDefaultInstanceForType()
Returns
Type Description
DependencyInfo

getDependencyType()

public DependencyType getDependencyType()

Required. Type of dependency.

.google.cloud.datacatalog.lineage.v1.DependencyType dependency_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DependencyType

The dependencyType.

getDependencyTypeValue()

public int getDependencyTypeValue()

Required. Type of dependency.

.google.cloud.datacatalog.lineage.v1.DependencyType dependency_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for dependencyType.

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DependencyInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDependencyType(DependencyType value)

public DependencyInfo.Builder setDependencyType(DependencyType value)

Required. Type of dependency.

.google.cloud.datacatalog.lineage.v1.DependencyType dependency_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DependencyType

The dependencyType to set.

Returns
Type Description
DependencyInfo.Builder

This builder for chaining.

setDependencyTypeValue(int value)

public DependencyInfo.Builder setDependencyTypeValue(int value)

Required. Type of dependency.

.google.cloud.datacatalog.lineage.v1.DependencyType dependency_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
DependencyInfo.Builder

This builder for chaining.