Skip to content

PipelineOptions getters can produce null even if not annotated Nullable when no Default is specified #21363

@damccorm

Description

@damccorm

Context: BEAM-13537, #16625 (comment)

PipelineOptions getters without Default specified can produce null, but because it happens in generated code, the null checker will not complain about it. Is there some way we can make sure getters without a Default are always Nullable?

Imported from Jira BEAM-13758. Original Jira may contain additional context.
Reported by: bhulette.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions