Class Process.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Process.Builder>
com.google.cloud.datacatalog.lineage.v1.Process.Builder
All Implemented Interfaces:
ProcessOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Process

public static final class Process.Builder extends com.google.protobuf.GeneratedMessage.Builder<Process.Builder> implements ProcessOrBuilder
 A process is the definition of a data transformation operation.
 
Protobuf type google.cloud.datacatalog.lineage.v1.Process
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Process.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Process.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Process.Builder>
    • clear

      public Process.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Process.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Process.Builder>
    • getDefaultInstanceForType

      public Process getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Process build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Process buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Process.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Process.Builder>
    • mergeFrom

      public Process.Builder mergeFrom(Process other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Process.Builder>
    • mergeFrom

      public Process.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Process.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface ProcessOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface ProcessOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setNameBytes

      public Process.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getDisplayName in interface ProcessOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.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];
      Specified by:
      getDisplayNameBytes in interface ProcessOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      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];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setDisplayNameBytes

      public Process.Builder setDisplayNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getAttributesCount

      public int getAttributesCount()
      Description copied from interface: ProcessOrBuilder
       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];
      Specified by:
      getAttributesCount in interface ProcessOrBuilder
    • containsAttributes

      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];
      Specified by:
      containsAttributes in interface ProcessOrBuilder
    • getAttributes

      @Deprecated public Map<String,com.google.protobuf.Value> getAttributes()
      Deprecated.
      Use getAttributesMap() instead.
      Specified by:
      getAttributes in interface ProcessOrBuilder
    • getAttributesMap

      public Map<String,com.google.protobuf.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];
      Specified by:
      getAttributesMap in interface ProcessOrBuilder
    • getAttributesOrDefault

      public com.google.protobuf.Value getAttributesOrDefault(String key, com.google.protobuf.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];
      Specified by:
      getAttributesOrDefault in interface ProcessOrBuilder
    • getAttributesOrThrow

      public com.google.protobuf.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];
      Specified by:
      getAttributesOrThrow in interface ProcessOrBuilder
    • clearAttributes

      public Process.Builder clearAttributes()
    • removeAttributes

      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];
    • getMutableAttributes

      @Deprecated public Map<String,com.google.protobuf.Value> getMutableAttributes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAttributes

      public Process.Builder putAttributes(String key, com.google.protobuf.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];
    • putAllAttributes

      public Process.Builder putAllAttributes(Map<String,com.google.protobuf.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];
    • putAttributesBuilderIfAbsent

      public com.google.protobuf.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];
    • 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];
      Specified by:
      hasOrigin in interface ProcessOrBuilder
      Returns:
      Whether the origin field is set.
    • 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];
      Specified by:
      getOrigin in interface ProcessOrBuilder
      Returns:
      The origin.
    • setOrigin

      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];
    • setOrigin

      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];
    • mergeOrigin

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getOriginOrBuilder in interface ProcessOrBuilder