public static GetStatusPOptions toGetStatusOptions ( ExistsPOptions existsOptions ) { GetStatusPOptions . Builder getStatusOptionsBuilder = GetStatusPOptions . newBuilder ( ) ; if ( existsOptions . hasCommonOptions ( ) ) { getStatusOptionsBuilder . setCommonOptions ( existsOptions . getCommonOptions ( ) ) ; } if ( existsOptions . hasLoadMetadataType ( ) ) { getStatusOptionsBuilder . setLoadMetadataType ( existsOptions . getLoadMetadataType ( ) ) ; } return getStatusOptionsBuilder . build ( ) ; }
Converts from proto type to options .