public final class Origin extends GeneratedMessageV3 implements OriginOrBuilder
Origin of a process.
Protobuf type google.cloud.datacatalog.lineage.v1.Origin
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Origin getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Origin.Builder newBuilder()
Returns
newBuilder(Origin prototype)
public static Origin.Builder newBuilder(Origin prototype)
Parameter
Name | Description |
prototype | Origin
|
Returns
public static Origin parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Origin parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Origin parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Origin parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Origin parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Origin parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Origin parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Origin parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Origin parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Origin parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Origin parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Origin parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Origin> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Origin getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<Origin> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Origin.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Origin.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Origin.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions