Class Origin.Builder

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

public static final class Origin.Builder extends com.google.protobuf.GeneratedMessage.Builder<Origin.Builder> implements OriginOrBuilder
 Origin of a process.
 
Protobuf type google.cloud.datacatalog.lineage.v1.Origin
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage.
    Type of the source.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage.
    com.google.protobuf.ByteString
    If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage.
    Type of the source.
    int
    Type of the source.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setName(String value)
    If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage.
    setNameBytes(com.google.protobuf.ByteString value)
    If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage.
    Type of the source.
    setSourceTypeValue(int value)
    Type of the source.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

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

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

      public Origin.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<Origin.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<Origin.Builder>
    • getDefaultInstanceForType

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

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

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

      public Origin.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<Origin.Builder>
    • mergeFrom

      public Origin.Builder mergeFrom(Origin other)
    • isInitialized

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

      public Origin.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<Origin.Builder>
      Throws:
      IOException
    • getSourceTypeValue

      public int getSourceTypeValue()
       Type of the source.
      
       Use of a source_type other than `CUSTOM` for process creation
       or updating is highly discouraged, and may be restricted in the future
       without notice.
       
      .google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
      Specified by:
      getSourceTypeValue in interface OriginOrBuilder
      Returns:
      The enum numeric value on the wire for sourceType.
    • setSourceTypeValue

      public Origin.Builder setSourceTypeValue(int value)
       Type of the source.
      
       Use of a source_type other than `CUSTOM` for process creation
       or updating is highly discouraged, and may be restricted in the future
       without notice.
       
      .google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
      Parameters:
      value - The enum numeric value on the wire for sourceType to set.
      Returns:
      This builder for chaining.
    • getSourceType

      public Origin.SourceType getSourceType()
       Type of the source.
      
       Use of a source_type other than `CUSTOM` for process creation
       or updating is highly discouraged, and may be restricted in the future
       without notice.
       
      .google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
      Specified by:
      getSourceType in interface OriginOrBuilder
      Returns:
      The sourceType.
    • setSourceType

      public Origin.Builder setSourceType(Origin.SourceType value)
       Type of the source.
      
       Use of a source_type other than `CUSTOM` for process creation
       or updating is highly discouraged, and may be restricted in the future
       without notice.
       
      .google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
      Parameters:
      value - The sourceType to set.
      Returns:
      This builder for chaining.
    • clearSourceType

      public Origin.Builder clearSourceType()
       Type of the source.
      
       Use of a source_type other than `CUSTOM` for process creation
       or updating is highly discouraged, and may be restricted in the future
       without notice.
       
      .google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       If the source_type isn't CUSTOM, the value of this field should be a GCP
       resource name of the system, which reports lineage. The project and
       location parts of the resource name must match the project and location of
       the lineage resource being created. Examples:
      
       - `{source_type: COMPOSER, name:
       "projects/foo/locations/us/environments/bar"}`
       - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}`
       - `{source_type: CUSTOM,   name: "myCustomIntegration"}`
       
      string name = 2;
      Specified by:
      getName in interface OriginOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       If the source_type isn't CUSTOM, the value of this field should be a GCP
       resource name of the system, which reports lineage. The project and
       location parts of the resource name must match the project and location of
       the lineage resource being created. Examples:
      
       - `{source_type: COMPOSER, name:
       "projects/foo/locations/us/environments/bar"}`
       - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}`
       - `{source_type: CUSTOM,   name: "myCustomIntegration"}`
       
      string name = 2;
      Specified by:
      getNameBytes in interface OriginOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Origin.Builder setName(String value)
       If the source_type isn't CUSTOM, the value of this field should be a GCP
       resource name of the system, which reports lineage. The project and
       location parts of the resource name must match the project and location of
       the lineage resource being created. Examples:
      
       - `{source_type: COMPOSER, name:
       "projects/foo/locations/us/environments/bar"}`
       - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}`
       - `{source_type: CUSTOM,   name: "myCustomIntegration"}`
       
      string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Origin.Builder clearName()
       If the source_type isn't CUSTOM, the value of this field should be a GCP
       resource name of the system, which reports lineage. The project and
       location parts of the resource name must match the project and location of
       the lineage resource being created. Examples:
      
       - `{source_type: COMPOSER, name:
       "projects/foo/locations/us/environments/bar"}`
       - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}`
       - `{source_type: CUSTOM,   name: "myCustomIntegration"}`
       
      string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Origin.Builder setNameBytes(com.google.protobuf.ByteString value)
       If the source_type isn't CUSTOM, the value of this field should be a GCP
       resource name of the system, which reports lineage. The project and
       location parts of the resource name must match the project and location of
       the lineage resource being created. Examples:
      
       - `{source_type: COMPOSER, name:
       "projects/foo/locations/us/environments/bar"}`
       - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}`
       - `{source_type: CUSTOM,   name: "myCustomIntegration"}`
       
      string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.