Send feedback
Class Origin.Builder (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.3.0 keyboard_arrow_down
public static final class Origin . Builder extends GeneratedMessageV3 . Builder<Origin . Builder > implements OriginOrBuilder
Origin of a process.
Protobuf type google.cloud.datacatalog.lineage.v1.Origin
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Origin . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Origin buildPartial ()
Returns
clear()
public Origin . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Origin . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public Origin . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSourceType()
public Origin . Builder clearSourceType ()
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Returns
clone()
public Origin . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Origin getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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;
Returns
Type Description String
The name.
getNameBytes()
public 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;
Returns
getSourceType()
public Origin . SourceType getSourceType ()
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Returns
getSourceTypeValue()
public int getSourceTypeValue ()
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Returns
Type Description int
The enum numeric value on the wire for sourceType.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Origin other)
public Origin . Builder mergeFrom ( Origin other )
Parameter
Returns
public Origin . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Origin . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Origin . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Origin . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setName(String value)
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;
Parameter
Name Description value
String
The name to set.
Returns
setNameBytes(ByteString value)
public Origin . Builder setNameBytes ( 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;
Parameter
Name Description value
ByteString
The bytes for name to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Origin . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSourceType(Origin.SourceType value)
public Origin . Builder setSourceType ( Origin . SourceType value )
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Parameter
Returns
setSourceTypeValue(int value)
public Origin . Builder setSourceTypeValue ( int value )
Type of the source.
.google.cloud.datacatalog.lineage.v1.Origin.SourceType source_type = 1;
Parameter
Name Description value
int
The enum numeric value on the wire for sourceType to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Origin . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]