[ 
https://issues.apache.org/jira/browse/BEAM-14525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Balázs Németh updated BEAM-14525:
---------------------------------
    Description: 
Proto property name: *item2partner_id* 

Generated java library method names:
 * *hasItem2PartnerId*
 * *getItem2PartnerId*
 * *setItem2PartnerId*
 * *clearItem2PartnerId*

org.apache.beam.sdk.extensions.protobuf.ProtoByteBuddyUtils generated getter 
name:
 * *getItem2partnerId*

 

Notice the case difference of 'p'. The getter method name creation isn't 
aligned with protobuf standards.

See:
- 
[https://github.com/protocolbuffers/protobuf/blob/ec79d0d328c7e6cea15cc27fbeb9b018ca289590/src/google/protobuf/compiler/java/helpers.cc#L246-L248]

- 
https://github.com/protocolbuffers/protobuf/blob/ec79d0d328c7e6cea15cc27fbeb9b018ca289590/src/google/protobuf/compiler/java/helpers.cc#L173-L208

  was:
Proto property name: *item2partner_id* 

Generated java library method names:
 * *hasItem2PartnerId*
 * *getItem2PartnerId*
 * *setItem2PartnerId*
 * *clearItem2PartnerId*

org.apache.beam.sdk.extensions.protobuf.ProtoByteBuddyUtils generated getter 
name:
 * *getItem2partnerId*

 

Notice the case difference of 'p'. The getter method name creation isn't 
aligned with protobuf standards.

 

https://github.com/protocolbuffers/protobuf/blob/ec79d0d328c7e6cea15cc27fbeb9b018ca289590/src/google/protobuf/compiler/java/helpers.cc#L246-L248


> Unable to find Proto getters in certain cases
> ---------------------------------------------
>
>                 Key: BEAM-14525
>                 URL: https://issues.apache.org/jira/browse/BEAM-14525
>             Project: Beam
>          Issue Type: Bug
>          Components: extensions-java-protobuf
>            Reporter: Balázs Németh
>            Priority: P2
>
> Proto property name: *item2partner_id* 
> Generated java library method names:
>  * *hasItem2PartnerId*
>  * *getItem2PartnerId*
>  * *setItem2PartnerId*
>  * *clearItem2PartnerId*
> org.apache.beam.sdk.extensions.protobuf.ProtoByteBuddyUtils generated getter 
> name:
>  * *getItem2partnerId*
>  
> Notice the case difference of 'p'. The getter method name creation isn't 
> aligned with protobuf standards.
> See:
> - 
> [https://github.com/protocolbuffers/protobuf/blob/ec79d0d328c7e6cea15cc27fbeb9b018ca289590/src/google/protobuf/compiler/java/helpers.cc#L246-L248]
> - 
> https://github.com/protocolbuffers/protobuf/blob/ec79d0d328c7e6cea15cc27fbeb9b018ca289590/src/google/protobuf/compiler/java/helpers.cc#L173-L208



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to