Class Process.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Process build()
Returns
TypeDescription
Process

buildPartial()

public Process buildPartial()
Returns
TypeDescription
Process

clear()

public Process.Builder clear()
Returns
TypeDescription
Process.Builder
Overrides

clearAttributes()

public Process.Builder clearAttributes()
Returns
TypeDescription
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
TypeDescription
Process.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Process.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Process.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Process.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Process.Builder

clone()

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

getAttributes() (deprecated)

public Map<String,Value> getAttributes()

Use #getAttributesMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueValue
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
Value

getDefaultInstanceForType()

public Process getDefaultInstanceForType()
Returns
TypeDescription
Process

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for displayName.

getMutableAttributes() (deprecated)

public Map<String,Value> getMutableAttributes()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the origin field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Process other)

public Process.Builder mergeFrom(Process other)
Parameter
NameDescription
otherProcess
Returns
TypeDescription
Process.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Process.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueOrigin
Returns
TypeDescription
Process.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Process.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,Value>
Returns
TypeDescription
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
NameDescription
keyString
valueValue
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
Process.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Process.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueOrigin
Returns
TypeDescription
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
NameDescription
builderForValueOrigin.Builder
Returns
TypeDescription
Process.Builder

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

public Process.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Process.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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