Class Process.Builder (0.38.0)

public static final class Process.Builder extends GeneratedMessageV3.Builder<Process.Builder> implements ProcessOrBuilder

A process is the definition of a data transformation operation.

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

Implements

ProcessOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Process build()
Returns
Type Description
Process

buildPartial()

public Process buildPartial()
Returns
Type Description
Process

clear()

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

clearAttributes()

public Process.Builder clearAttributes()
Returns
Type Description
Process.Builder

clearDisplayName()

public Process.Builder clearDisplayName()

Optional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like _-:&.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Process.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Process.Builder clearName()

Immutable. The resource name of the lineage process. Format: projects/{project}/locations/{location}/processes/{process}. Can be specified or auto-assigned. {process} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Process.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrigin()

public Process.Builder clearOrigin()

Optional. The origin of this process and its runs and lineage events.

.google.cloud.datacatalog.lineage.v1.Origin origin = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Process.Builder

clone()

public Process.Builder clone()
Returns
Type Description
Process.Builder
Overrides

containsAttributes(String key)

public boolean containsAttributes(String key)

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAttributes() (deprecated)

public Map<String,Value> getAttributes()

Use #getAttributesMap() instead.

Returns
Type Description
Map<String,Value>

getAttributesCount()

public int getAttributesCount()

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAttributesMap()

public Map<String,Value> getAttributesMap()

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,Value>

getAttributesOrDefault(String key, Value defaultValue)

public Value getAttributesOrDefault(String key, Value defaultValue)

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue Value
Returns
Type Description
Value

getAttributesOrThrow(String key)

public Value getAttributesOrThrow(String key)

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Value

getDefaultInstanceForType()

public Process getDefaultInstanceForType()
Returns
Type Description
Process

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like _-:&.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like _-:&.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getMutableAttributes() (deprecated)

public Map<String,Value> getMutableAttributes()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Value>

getName()

public String getName()

Immutable. The resource name of the lineage process. Format: projects/{project}/locations/{location}/processes/{process}. Can be specified or auto-assigned. {process} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The resource name of the lineage process. Format: projects/{project}/locations/{location}/processes/{process}. Can be specified or auto-assigned. {process} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getOrigin()

public Origin getOrigin()

Optional. The origin of this process and its runs and lineage events.

.google.cloud.datacatalog.lineage.v1.Origin origin = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Origin

The origin.

getOriginBuilder()

public Origin.Builder getOriginBuilder()

Optional. The origin of this process and its runs and lineage events.

.google.cloud.datacatalog.lineage.v1.Origin origin = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Origin.Builder

getOriginOrBuilder()

public OriginOrBuilder getOriginOrBuilder()

Optional. The origin of this process and its runs and lineage events.

.google.cloud.datacatalog.lineage.v1.Origin origin = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OriginOrBuilder

hasOrigin()

public boolean hasOrigin()

Optional. The origin of this process and its runs and lineage events.

.google.cloud.datacatalog.lineage.v1.Origin origin = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the origin field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Process other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOrigin(Origin value)

public Process.Builder mergeOrigin(Origin value)

Optional. The origin of this process and its runs and lineage events.

.google.cloud.datacatalog.lineage.v1.Origin origin = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Origin
Returns
Type Description
Process.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Process.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Process.Builder
Overrides

putAllAttributes(Map<String,Value> values)

public Process.Builder putAllAttributes(Map<String,Value> values)

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,Value>
Returns
Type Description
Process.Builder

putAttributes(String key, Value value)

public Process.Builder putAttributes(String key, Value value)

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value Value
Returns
Type Description
Process.Builder

putAttributesBuilderIfAbsent(String key)

public Value.Builder putAttributesBuilderIfAbsent(String key)

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Builder

removeAttributes(String key)

public Process.Builder removeAttributes(String key)

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Process.Builder

setDisplayName(String value)

public Process.Builder setDisplayName(String value)

Optional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like _-:&.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Process.Builder setDisplayNameBytes(ByteString value)

Optional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like _-:&.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Process.Builder setName(String value)

Immutable. The resource name of the lineage process. Format: projects/{project}/locations/{location}/processes/{process}. Can be specified or auto-assigned. {process} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Process.Builder setNameBytes(ByteString value)

Immutable. The resource name of the lineage process. Format: projects/{project}/locations/{location}/processes/{process}. Can be specified or auto-assigned. {process} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Process.Builder

This builder for chaining.

setOrigin(Origin value)

public Process.Builder setOrigin(Origin value)

Optional. The origin of this process and its runs and lineage events.

.google.cloud.datacatalog.lineage.v1.Origin origin = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Origin
Returns
Type Description
Process.Builder

setOrigin(Origin.Builder builderForValue)

public Process.Builder setOrigin(Origin.Builder builderForValue)

Optional. The origin of this process and its runs and lineage events.

.google.cloud.datacatalog.lineage.v1.Origin origin = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Origin.Builder
Returns
Type Description
Process.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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