Package io.openlineage.client.dataset
Class Naming.PubSubNaming
java.lang.Object
io.openlineage.client.dataset.Naming.PubSubNaming
- All Implemented Interfaces:
 Naming.DatasetNaming
- Enclosing class:
 - Naming
 
Naming implementation for Google Pub/Sub.
 
Namespace is fixed as "pubsub". Name format depends on the resource type:
 
topic:{projectId}:{topicId}subscription:{projectId}:{subscriptionId}
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumEnum representing supported Pub/Sub resource types. - 
Constructor Summary
ConstructorsConstructorDescriptionPubSubNaming(Naming.PubSubNaming.PubSubResourceType resourceType, String projectId, String resourceId) Constructs a Pub/Sub naming instance. - 
Method Summary
 
- 
Constructor Details
- 
PubSubNaming
public PubSubNaming(Naming.PubSubNaming.PubSubResourceType resourceType, String projectId, String resourceId) Constructs a Pub/Sub naming instance.- Parameters:
 resourceType- eitherTOPICorSUBSCRIPTIONprojectId- GCP project ID (non-empty)resourceId- Topic ID or Subscription ID (non-empty)
 
 - 
 - 
Method Details
- 
getNamespace
Description copied from interface:Naming.DatasetNamingReturns the dataset namespace (e.g., URI or ARN identifying the data source).- Specified by:
 getNamespacein interfaceNaming.DatasetNaming- Returns:
 - the namespace string
 
 - 
getName
Description copied from interface:Naming.DatasetNamingReturns the dataset name specific to the platform format.- Specified by:
 getNamein interfaceNaming.DatasetNaming- Returns:
 - the dataset name string
 
 - 
builder
 
 -